pietrushnic / rpi-dt-linux

This repository aims to handle all patches required for Raspberry Pi support in upstream Linux kernel.
Other
2 stars 0 forks source link

sdhci-bcm2835: floods kernel log with "back-to-back write" errors #11

Closed matthiasklein closed 9 years ago

matthiasklein commented 9 years ago

I get thousands of error messages like:

[ 48.656340] sdhci-bcm2835 20300000.sdhci: back-to-back write to 0x20 [ 48.663737] sdhci-bcm2835 20300000.sdhci: back-to-back write to 0x30

https://github.com/pietrushnic/rpi-dt-linux/blob/rpi-3.17.y/drivers/mmc/host/sdhci-bcm2835.c#L72 The sd card seems to work, but the system is unuseable due to these messages...

Any ideas about the reason?

pietrushnic commented 9 years ago

@matthiasklein the reason is part of sdhci-bcm2835 patch. There is an option that can disable those messages ir is called CONFIG_MMC_SDHCI_BCM2835_VERIFY_WORKAROUND:

Device Drivers > MMC/SD/SDIO card support > Verify BCM2835 workaround does not do back to back writes

It looks like I leave it enabled when pushing the code. I will disable this messages ASAP. Thanks for reporting this issue.

matthiasklein commented 9 years ago

It was CONFIG_MMC_SDHCI_BCM2835_VERIFY_WORKAROUND.

Thanks!