lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Feb 2010 18:33:25 +0900
From:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To:	linux-kernel@...r.kernel.org
Cc:	akpm@...ux-foundation.org, fujita.tomonori@....ntt.co.jp,
	James Bottomley <James.Bottomley@...e.de>,
	"David S. Miller" <davem@...emloft.net>,
	Jesse Barnes <jbarnes@...tuousgeek.org>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Russell King <linux@....linux.org.uk>,
	Richard Henderson <rth@...ddle.net>,
	Ivan Kokshaysky <ink@...assic.park.msu.ru>,
	Matt Turner <mattst88@...il.com>
Subject: [PATCH -mm 0/7] transforming the PCI DMA API into the generic device model

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(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ