mmc: tmio: Add SDIO IRQ support
Status from this message: Applied to rmobile/sdio, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 6 repliesApplied
- v26 patches 2 repliesSuperseded
- v14 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- Drop the patch which disables IRQs early in remove it caused hangs during rmmod
- Disable device IRQ in tmio_mmc_clk_start/stop to avoid spurious SDIO IRQs (previously there was a small time window where this could happen)
- Fix a null pointer dereference which would have been triggered when spurious SDIO IRQs would have been generated
- Include patch for sh7723 / ap325rx
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mmc: tmio: implement SDIO IRQdrivers/ include/ | +82 | 3 replies | |
| 2/6 | mfd: sh_mobile_sdhi: activate SDIO IRQ for tmio_mmcdrivers/ | +5 | 1 reply | |
| 3/6 | ARM: mach-shmobile: sh7372 Enable SDIO IRQsarch/ arch/ | +4 | 1 reply | |
| 4/6 | sh: sh7724 Enable SDIO IRQsarch/ arch/ arch/ +1 more | +9 | 0 replies | |
| 5/6 | sh: sh7722 Enable SDIO IRQsarch/ arch/ | +3 | 0 replies | |
| 6/6 | sh: sh7723 / ap325rxa enable SDIO IRQsarch/ arch/ | +18 | 1 reply |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Samuel Ortiz | Magnus Damm |
|---|---|---|
| 1/6 | ||
| 2/6 | A-b | |
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6 v3] mmc: tmio: Add SDIO IRQ support
[PATCH 1/6 v3] mmc: tmio: implement SDIO IRQ
[PATCH 2/6 v3] mfd: sh_mobile_sdhi: activate SDIO IRQ for tmio_mmc [PATCH 3/6 v3] ARM: mach-shmobile: sh7372 Enable SDIO IRQs [PATCH 4/6 v3] sh: sh7724 Enable SDIO IRQs
[PATCH 5/6 v3] sh: sh7722 Enable SDIO IRQs
[PATCH 6/6 v3] sh: sh7723 / ap325rxa enable SDIO IRQs
These patches add SDIO IRQ support for the tmio mmc cell of the sh_mobile_sdhi mfd and activate the usage of SDIO IRQs on all SoCs where sh_mobile_sdhi is currently used.
The patchset depends on:
mmc: tmio_mmc: allow multi-element scatter-gather lists
https://patchwork.kernel.org/patch/317142/
mmc: tmio_mmc: fix PIO fallback on DMA descriptor allocation failure
https://patchwork.kernel.org/patch/317162/
mmc: tmio: merge the private header into the driver
https://patchwork.kernel.org/patch/349931/
mmc: tmio: implement a bounce buffer for unaligned DMA
https://patchwork.kernel.org/patch/349941/
Changes in v3:
- Drop the patch which disables IRQs early in remove it caused hangs during rmmod
- Disable device IRQ in tmio_mmc_clk_start/stop to avoid spurious SDIO IRQs (previously there was a small time window where this could happen)
- Fix a null pointer dereference which would have been triggered when spurious SDIO IRQs would have been generated
- Include patch for sh7723 / ap325rx
Changes in v2:
- Add TMIO_MMC_SDIO_IRQ flag, which expresses that the hardware is known to support SDIO IRQ as suggested by Magnus Damm
- Activate this flag for sh_mobile_sdhi
- Add a patch which disables IRQs early in remove
to avoid spurious SDIO IRQs, during module unload
- Patches 4-6 are unmodified but included for
completeness