login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
13
Re: [PATCH 1/2] add the device argument to dma_mapping_error
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Randy Dunlap
Subject:
Re: [PATCH 1/2] add the device argument to dma_mapping_error
Date: Tuesday, May 13, 2008 - 8:39 am
On Tue, 13 May 2008 15:04:51 +0900 FUJITA Tomonori wrote:
quoted text
> dma_mapping_error doesn't take a pointer to the device unlike other > DMA operations. So we can't have dma_mapping_ops per device. > > Note that POWER already has dma_mapping_ops per device but all the > POWER IOMMUs use the same dma_mapping_error function. x86 IOMMUs use > different dma_mapping_error functions. So dma_mapping_error needs the > device argument. > > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> > --- > arch/arm/common/dmabounce.c | 2 +- > arch/ia64/hp/common/hwsw_iommu.c | 5 ++- > arch/ia64/hp/common/sba_iommu.c | 2 +- > arch/ia64/sn/pci/pci_dma.c | 2 +- > arch/mips/mm/dma-default.c | 2 +- > arch/powerpc/platforms/cell/celleb_scc_pciex.c | 2 +- > arch/powerpc/platforms/cell/spider-pci.c | 2 +- > arch/powerpc/platforms/iseries/mf.c | 2 +- > arch/x86/kernel/pci-gart_64.c | 1 - > arch/x86/kernel/pci-nommu.c | 2 +- > drivers/firewire/fw-iso.c | 2 +- > drivers/firewire/fw-ohci.c | 2 +- > drivers/firewire/fw-sbp2.c | 8 +++--- > drivers/infiniband/hw/ipath/ipath_sdma.c | 2 +- > drivers/infiniband/hw/ipath/ipath_user_sdma.c | 6 ++-- > drivers/infiniband/hw/mthca/mthca_eq.c | 2 +- > drivers/media/dvb/pluto2/pluto2.c | 2 +- > drivers/net/arm/ep93xx_eth.c | 4 +- > drivers/net/b44.c | 22 +++++++++------- > drivers/net/bnx2x.c | 2 +- > drivers/net/e100.c | 2 +- > drivers/net/e1000e/ethtool.c | 4 +- > drivers/net/e1000e/netdev.c | 11 ++++--- > drivers/net/ibmveth.c | 32 ++++++++++++----------- > drivers/net/iseries_veth.c | 4 +- > drivers/net/mlx4/eq.c | 2 +- > drivers/net/pasemi_mac.c | 6 ++-- > drivers/net/qla3xxx.c | 12 ++++---- > drivers/net/sfc/rx.c | 4 +- > drivers/net/sfc/tx.c | 2 +- > drivers/net/spider_net.c | 4 +- > drivers/net/tc35815.c | 4 +- > drivers/net/wireless/ath5k/base.c | 4 +- > drivers/net/wireless/b43/dma.c | 2 +- > drivers/net/wireless/b43legacy/dma.c | 2 +- > drivers/scsi/ibmvscsi/ibmvscsi.c | 4 +- > drivers/scsi/ibmvscsi/ibmvstgt.c | 2 +- > drivers/scsi/ibmvscsi/rpa_vscsi.c | 2 +- > drivers/spi/atmel_spi.c | 4 +- > drivers/spi/au1550_spi.c | 6 ++-- > drivers/spi/omap2_mcspi.c | 4 +- > drivers/spi/pxa2xx_spi.c | 4 +- > drivers/spi/spi_imx.c | 6 ++-- > include/asm-alpha/dma-mapping.h | 6 ++-- > include/asm-alpha/pci.h | 2 +- > include/asm-arm/dma-mapping.h | 2 +- > include/asm-avr32/dma-mapping.h | 2 +- > include/asm-cris/dma-mapping.h | 2 +- > include/asm-frv/dma-mapping.h | 2 +- > include/asm-generic/dma-mapping-broken.h | 2 +- > include/asm-generic/dma-mapping.h | 4 +- > include/asm-generic/pci-dma-compat.h | 4 +- > include/asm-ia64/machvec.h | 2 +- > include/asm-m68k/dma-mapping.h | 2 +- > include/asm-mips/dma-mapping.h | 2 +- > include/asm-mn10300/dma-mapping.h | 2 +- > include/asm-parisc/dma-mapping.h | 2 +- > include/asm-powerpc/dma-mapping.h | 2 +- > include/asm-sh/dma-mapping.h | 2 +- > include/asm-sparc/pci.h | 3 +- > include/asm-sparc64/dma-mapping.h | 2 +- > include/asm-sparc64/pci.h | 5 ++- > include/asm-v850/pci.h | 2 +- > include/asm-x86/dma-mapping.h | 7 +++-- > include/asm-x86/swiotlb.h | 2 +- > include/asm-xtensa/dma-mapping.h | 2 +- > include/linux/i2o.h | 2 +- > include/rdma/ib_verbs.h | 2 +- > lib/swiotlb.c | 4 +- > 69 files changed, 140 insertions(+), 132 deletions(-)
Seems to be missing updates to Documentation/DMA-API.txt ?? --- ~Randy --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Mon May 12, 11:04 pm)
[PATCH 1/2] add the device argument to dma_mapping_error
, FUJITA Tomonori
, (Mon May 12, 11:04 pm)
[PATCH 2/2] x86: per-device dma_mapping_ops support
, FUJITA Tomonori
, (Mon May 12, 11:04 pm)
Re: [PATCH 1/2] add the device argument to dma_mapping_error
, Randy Dunlap
, (Tue May 13, 8:39 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Tue May 13, 10:49 pm)
Re: [PATCH 2/2] x86: per-device dma_mapping_ops support
, Muli Ben-Yehuda
, (Tue May 13, 10:55 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Wed May 14, 6:12 pm)
Re: [PATCH 1/2] add the device argument to dma_mapping_error
, FUJITA Tomonori
, (Wed May 14, 6:12 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Alexis Bruemmer
, (Wed May 14, 7:00 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Wed May 14, 7:30 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Andi Kleen
, (Thu May 15, 2:01 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Thu May 15, 2:16 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Andi Kleen
, (Thu May 15, 2:30 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Thu May 15, 2:41 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Andi Kleen
, (Thu May 15, 3:48 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 8:15 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 8:17 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 8:26 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 8:32 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Alexis Bruemmer
, (Thu May 15, 11:21 am)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Alexis Bruemmer
, (Thu May 15, 11:25 am)
Re: [PATCH 2/2] x86: per-device dma_mapping_ops support
, Yinghai Lu
, (Thu May 15, 1:45 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Andi Kleen
, (Thu May 15, 2:03 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 2:39 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Andi Kleen
, (Thu May 15, 2:45 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 2:53 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Muli Ben-Yehuda
, (Thu May 15, 3:05 pm)
Re: [PATCH 2/2] x86: per-device dma_mapping_ops support
, FUJITA Tomonori
, (Thu May 15, 8:44 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Thu May 15, 8:44 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, Andi Kleen
, (Thu May 15, 10:24 pm)
Re: [PATCH 0/2] x86: per-device dma_mapping_ops
, FUJITA Tomonori
, (Sun May 18, 11:32 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate