RFC PIO drivers and cache coherency
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest5 patches 0 repliesNew
- v1 RFC4 patches 16 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pio-mapping: Add generic support for PIO mapping APIinclude/ | +65 | 0 replies | |
| 2/5 | pio-mapping: Add ARM support for the PIO mapping APIarch/ arch/ | +69 | 0 replies | |
| 3/5 | pio-mapping: Use the PIO mapping API in libata-sff.cdrivers/ | +6 | 0 replies | |
| 4/5 | pio-mapping: Use the PIO mapping API in the ISP1760 HCD driverdrivers/ | +7 | 0 replies | |
| 5/5 | pio-mapping: Use the PIO mapping API in the MMCI PL18x driverdrivers/ drivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/5] PIO drivers and cache coherency
Hi,
These set of patches is the 2nd attempt at an API for PIO drivers. Following James' suggestion on a kmap-like API, the pio_* functions no longer look like the dma_map_* API.
There are situations where the page structure isn't available (the USB HCD drivers) and I introduced the pio_begin()/pio_end() functions that take care of the cache flushing.
I added another example for the mmci.c driver that is currently using flush_dcache_page().
Thanks.
Catalin Marinas (5):
pio-mapping: Add generic support for PIO mapping API
pio-mapping: Add ARM support for the PIO mapping API
pio-mapping: Use the PIO mapping API in libata-sff.c
pio-mapping: Use the PIO mapping API in the ISP1760 HCD driver
pio-mapping: Use the PIO mapping API in the MMCI PL18x driver
arch/arm/Kconfig | 3 ++ arch/arm/include/asm/pio-mapping.h | 66 ++++++++++++++++++++++++++++++++++++ drivers/ata/libata-sff.c | 7 +++- drivers/mmc/host/mmci.c | 17 ++++----- drivers/mmc/host/mmci.h | 13 +++++-- drivers/usb/host/isp1760-hcd.c | 7 ++++ include/linux/pio-mapping.h | 65 +++++++++++++++++++++++++++++++++++ 7 files changed, 164 insertions(+), 14 deletions(-) create mode 100644 arch/arm/include/asm/pio-mapping.h create mode 100644 include/linux/pio-mapping.h
Signature · 1 line
Catalin