SDHCI interrupt handling
I have noticed that doing SDIO access from the SDHCI interrupt handler, like the ath6kl_sdio driver does, is currently broken in 4.1 RT due to d04ea10ba1ea 'mmc: sdhci: don't provide hard irq handler'. Since the SDHCI IRQ is masked in the threaded handler that calls the card IRQ handler, drivers cannot perform MMC IO from their card IRQ handlers since the SDHCI driver will time out waiting for the SDHCI hard IRQ to happen.
Is d04ea10ba1ea a temporary hack, or should drivers be fixed to perform IO a in a different way?
Quoted 9 lines · Nathan Sullivan
I have noticed that doing SDIO access from the SDHCI interrupt handler, like the
ath6kl_sdiodriver does, is currently broken in 4.1 RT due tod04ea10ba1ea'mmc: sdhci: don't provide hard irq handler'. Since the SDHCI IRQ is masked in the threaded handler that calls the card IRQ handler, drivers cannot perform MMC IO from their card IRQ handlers since the SDHCI driver will time out waiting for the SDHCI hard IRQ to happen.Is
d04ea10ba1eaa temporary hack, or should drivers be fixed to perform IO a in a different way?
That's temporary and looks not really well thought out. I have a mainline report against SDHCI + interrupt force threading as well, so I'm looking for a solution.
Thanks,
tglx