public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm 0/7] transforming the PCI DMA API into the generic device model
@ 2010-02-12  9:33 FUJITA Tomonori
  2010-02-12  9:33 ` [PATCH -mm 1/7] sparc: unify 32bit and 64bit dma_set_mask FUJITA Tomonori
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: FUJITA Tomonori @ 2010-02-12  9:33 UTC (permalink / raw)
  To: linux-kernel
  Cc: akpm, fujita.tomonori, James Bottomley, David S. Miller,
	Jesse Barnes, Benjamin Herrenschmidt, Russell King,
	Richard Henderson, Ivan Kokshaysky, Matt Turner

This patchset transforms the PCI DMA API into the generic device
model. It's one of the reasons why we introduced the generic DMA API
long ago; driver writers are always able to use the generic DMA API
with any bus instead of using bus specific DMA APIs such as
pci_map_single, sbus_map_single, etc (only two bus specific APIs
exist now; pci and ssb).

Some of the PCI DMA API are already implented on the top of the
generic DMA API (include/asm-generic/pci-dma-compat.h). But there are
some exceptions. This patchset finishes the transformation.

=
 Documentation/DMA-API.txt                    |   10 ++
 arch/alpha/Kconfig                           |    1 +
 arch/alpha/include/asm/dma-mapping.h         |   79 ++++-------
 arch/alpha/include/asm/pci.h                 |  125 +----------------
 arch/alpha/kernel/pci-noop.c                 |  101 +++++--------
 arch/alpha/kernel/pci_iommu.c                |  201 ++++++++++++--------------
 arch/arm/common/it8152.c                     |   27 ----
 arch/arm/include/asm/dma-mapping.h           |    8 +
 arch/arm/mach-ixp4xx/common-pci.c            |   26 ----
 arch/arm/mach-ixp4xx/include/mach/hardware.h |    5 -
 arch/arm/mach-pxa/include/mach/hardware.h    |    1 -
 arch/powerpc/include/asm/dma-mapping.h       |    3 -
 arch/powerpc/kernel/pci-common.c             |   15 --
 arch/sparc/include/asm/dma-mapping.h         |   14 ++-
 arch/sparc/kernel/iommu.c                    |   10 --
 arch/sparc/kernel/ioport.c                   |   11 --
 drivers/pci/pci.c                            |   31 ----
 include/asm-generic/pci-dma-compat.h         |   13 ++-
 include/linux/dma-mapping.h                  |    8 +
 include/linux/pci.h                          |    2 -
 20 files changed, 214 insertions(+), 477 deletions(-)



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

end of thread, other threads:[~2010-03-03 16:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12  9:33 [PATCH -mm 0/7] transforming the PCI DMA API into the generic device model FUJITA Tomonori
2010-02-12  9:33 ` [PATCH -mm 1/7] sparc: unify 32bit and 64bit dma_set_mask FUJITA Tomonori
2010-02-13  1:09   ` David Miller
2010-02-12  9:33 ` [PATCH -mm 2/7] alpha: use include/linux/pci-dma-compat.h FUJITA Tomonori
2010-02-12  9:33 ` [PATCH -mm 3/7] pci: convert pci_set_dma_mask to call dma_set_mask FUJITA Tomonori
2010-02-14 23:33   ` Benjamin Herrenschmidt
2010-02-12  9:33 ` [PATCH -mm 4/7] dma-mapping.h: add dma_set_coherent_mask FUJITA Tomonori
2010-02-12  9:33 ` [PATCH -mm 5/7] powerpc: use generic pci_set_dma_mask and pci_set_consistent_dma_mask FUJITA Tomonori
2010-02-14 23:36   ` Benjamin Herrenschmidt
2010-02-15  1:57     ` FUJITA Tomonori
2010-02-15  2:41       ` Benjamin Herrenschmidt
2010-02-12  9:33 ` [PATCH -mm 6/7] arm: " FUJITA Tomonori
2010-02-12 15:01   ` Russell King - ARM Linux
2010-02-12  9:33 ` [PATCH -mm 7/7] pci: move pci_set_dma_mask and pci_set_consistent_dma_mask to pci-dma-compat.h FUJITA Tomonori
2010-03-03  2:29   ` Andrew Morton
2010-03-03  2:58     ` FUJITA Tomonori
2010-03-03 16:23       ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox