Thread (12 messages) 12 messages, 6 authors, 2019-11-05

Re: Onboard SD card doesn't work anymore after the 'mmc-v5.4-2' updates

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2019-10-28 08:48:09
Also in: linux-mmc

On Fri, 2019-10-25 at 17:28 -0500, Rob Herring wrote:
This doesn't work?:

        if (IS_ENABLED(CONFIG_PPC) || of_dma_is_coherent(dev-
quoted
of_node))
                value |= ESDHC_DMA_SNOOP;
        else
                value &= ~ESDHC_DMA_SNOOP;
CONFIG_PPC is restrictive. What about sparc64 ? There could be others
.. .we can't suddenly requests people to add new properties for what
was implied behaviours before hand, esp since it's not in the base 1275
spec, no ?

I would suggest of_dma_is_coherent is *true* by default unless
overriden to do something else.

Cheers,
Ben.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help