Thread (26 messages) 26 messages, 5 authors, 2019-09-20

Re: [REGRESSION] sdhci no longer detects SD cards on LX2160A

From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Date: 2019-09-17 13:33:35
Also in: linux-mmc

On Tue, Sep 17, 2019 at 10:24:57AM -0300, Fabio Estevam wrote:
quoted hunk ↗ jump to hunk
Hi Russell,

On Tue, Sep 17, 2019 at 10:10 AM Russell King - ARM Linux admin
[off-list ref] wrote:
quoted
Will suggested reverting bd2e75633c80 ("dma-contiguous: use fallback
alloc_pages for single pages") which has been implicated in the same
problem here:

https://www.spinics.net/lists/arm-kernel/msg750623.html
It seems that the final fix was:
https://lore.kernel.org/patchwork/patch/1121600/

Does it work for you if we follow the same idea?
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -1105,6 +1105,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)

        esdhc_init(pdev, host);

+       sdhci_enable_v4_mode(host);
        sdhci_get_of_property(pdev);

        pltfm_host = sdhci_priv(host);
That attempts to set bit 12 of the host control register 2 (0x3e).
The LX2160A documentation states that bit 28 of 0x3c (they're 32-bit
wide registers there) is "reserved".

So, you're asking for a documented reserved bit to be set...

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help