Alexis Bruemmer
1956a96de4
x86 calgary: fix handling of devices that aren't behind the Calgary
...
The calgary code can give drivers addresses above 4GB which is very bad
for hardware that is only 32bit DMA addressable.
With this patch, the calgary code sets the global dma_ops to swiotlb or
nommu properly, and the dma_ops of devices behind the Calgary/CalIOC2
to calgary_dma_ops. So the calgary code can handle devices safely that
aren't behind the Calgary/CalIOC2.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Alexis Bruemmer <alexisb@us.ibm.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-26 12:00:03 -07:00
..
acpi
asm-alpha
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-arm
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-avr32
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-blackfin
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
asm-cris
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-frv
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-generic
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-h8300
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
asm-ia64
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-m32r
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
asm-m68k
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-m68knommu
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
asm-mips
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-mn10300
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-parisc
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-powerpc
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-s390
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
asm-sh
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-sparc
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
asm-sparc64
remove dummy asm/kvm.h files
2008-07-25 14:35:50 -04:00
asm-um
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
asm-v850
asm-x86
x86 calgary: fix handling of devices that aren't behind the Calgary
2008-07-26 12:00:03 -07:00
asm-xtensa
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
crypto
drm
keys
linux
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
math-emu
media
mtd
net
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
2008-07-25 17:40:16 -07:00
pcmcia
rdma
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
rxrpc
scsi
sound
video
include/video/atmel_lcdc.h must #include <linux/workqueue.h>
2008-07-26 12:00:01 -07:00
xen
Kbuild