Sean Hefty
34816ad98e
[IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped
...
The MAD layer was violating the DMA API by touching data buffers used
for sends after the DMA mapping was done. This causes problems on
non-cache-coherent architectures, because the device doing DMA won't
see updates to the payload buffers that exist only in the CPU cache.
Fix this by having all MAD consumers use ib_create_send_mad() to
allocate their send buffers, and moving the DMA mapping into the MAD
layer so it can be done just before calling send (and after any
modifications of the send buffer by the MAD layer).
Tested on a non-cache-coherent PowerPC 440SPe system.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-10-25 10:51:39 -07:00
..
acpi
asm-alpha
[PATCH] alpha: additional smp barriers
2005-10-22 19:38:33 -07:00
asm-arm
[ARM] 3028/1: S3C2410 - add DCLK mask definitions
2005-10-20 23:21:20 +01:00
asm-arm26
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-cris
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-frv
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-generic
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
asm-h8300
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-i386
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
asm-ia64
[PATCH] ia64 basic __user annotations
2005-09-29 08:46:27 -07:00
asm-m32r
[PATCH] m32r: more basic __user annotations
2005-09-26 18:29:50 -07:00
asm-m68k
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-m68knommu
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-mips
[PATCH] mm: move_pte to remap ZERO_PAGE
2005-09-28 07:46:40 -07:00
asm-parisc
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-powerpc
[PATCH] ppc32: Fix timekeeping
2005-10-12 08:24:47 -07:00
asm-ppc
[PATCH] ppc32: Tell userland about lack of standard TB
2005-10-12 08:24:47 -07:00
asm-ppc64
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
asm-s390
[PATCH] s390 signal annotations
2005-09-29 08:46:27 -07:00
asm-sh
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-sh64
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-sparc
[PATCH] fix the breakage in sparc headers
2005-10-05 07:33:42 -07:00
asm-sparc64
[SPARC64]: Eliminate PCI IOMMU dma mapping size limit.
2005-10-13 22:15:24 -07:00
asm-um
[PATCH] uml: Fix sysrq-r support for skas mode
2005-10-04 13:22:01 -07:00
asm-v850
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-x86_64
[PATCH] x86_64: Allocate cpu local data for all possible CPUs
2005-10-10 16:33:25 -07:00
asm-xtensa
[PATCH] xtensa: remove io_remap_page_range and minor clean-ups
2005-09-22 22:17:37 -07:00
linux
[PATCH] inotify/idr leak fix
2005-10-23 16:38:39 -07:00
math-emu
media
mtd
net
[AX.25]: Fix signed char bug
2005-10-22 17:20:50 -02:00
pcmcia
[PATCH] yenta: auto-tune EnE bridges for CardBus cards
2005-09-26 13:09:20 +02:00
rdma
[IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped
2005-10-25 10:51:39 -07:00
rxrpc
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
scsi
[SCSI] allow REPORT LUN scanning even for LUN 0 PQ of 3
2005-09-25 12:01:48 -05:00
sound
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
video