linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/5] PIO drivers and cache coherency
@ 2010-02-11 17:55 Catalin Marinas
  2010-02-11 17:55 ` [RFC PATCH v2 1/5] pio-mapping: Add generic support for PIO mapping API Catalin Marinas
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Catalin Marinas @ 2010-02-11 17:55 UTC (permalink / raw)
  To: linux-arch

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

-- 
Catalin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-02-11 17:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 17:55 [RFC PATCH v2 0/5] PIO drivers and cache coherency Catalin Marinas
2010-02-11 17:55 ` [RFC PATCH v2 1/5] pio-mapping: Add generic support for PIO mapping API Catalin Marinas
2010-02-11 17:55 ` [RFC PATCH v2 2/5] pio-mapping: Add ARM support for the " Catalin Marinas
2010-02-11 17:55 ` [RFC PATCH v2 3/5] pio-mapping: Use the PIO mapping API in libata-sff.c Catalin Marinas
2010-02-11 17:55 ` [RFC PATCH v2 4/5] pio-mapping: Use the PIO mapping API in the ISP1760 HCD driver Catalin Marinas
2010-02-11 17:55 ` [RFC PATCH v2 5/5] pio-mapping: Use the PIO mapping API in the MMCI PL18x driver Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).