android_kernel_motorola_sm6225/drivers/infiniband/hw/mthca
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
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_allocator.c [PATCH] IB/mthca: Factor out common queue alloc code 2005-08-26 20:37:37 -07:00
mthca_av.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_cmd.c [IB] mthca: Better limit checking and reporting 2005-10-17 15:20:29 -07:00
mthca_cmd.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_config_reg.h [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
mthca_cq.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_dev.h [IB] mthca: Better limit checking and reporting 2005-10-17 15:20:29 -07:00
mthca_doorbell.h [PATCH] IB: sparse endianness cleanup 2005-08-26 20:37:35 -07:00
mthca_eq.c Manual merge of for-linus to upstream (fix conflicts in drivers/infiniband/core/ucm.c) 2005-10-24 10:55:29 -07:00
mthca_mad.c [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped 2005-10-25 10:51:39 -07:00
mthca_main.c [IB] mthca: Add struct pci_driver.owner field 2005-10-18 14:07:07 -07:00
mthca_mcg.c [IB] mthca: Don't enter QP into MCG more than once. 2005-10-18 14:46:38 -07:00
mthca_memfree.c [IB] mthca: Use enum in mthca_alloc_db() prototype 2005-10-18 13:22:16 -07:00
mthca_memfree.h [IB] mthca: Use enum in mthca_alloc_db() prototype 2005-10-18 13:22:16 -07:00
mthca_mr.c [PATCH] IB/mthca: use generic function instead of arbel_ version in mthca_free_region() 2005-08-26 20:37:36 -07:00
mthca_pd.c [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
mthca_profile.c [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_profile.h [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_provider.c [IB] uverbs: Add a mask of device methods allowed for userspace 2005-10-17 15:20:30 -07:00
mthca_provider.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_qp.c [IB] mthca: Better limit checking and reporting 2005-10-17 15:20:29 -07:00
mthca_reset.c [PATCH] PCI: remove CONFIG_PCI_NAMES 2005-09-08 14:57:23 -07:00
mthca_srq.c [IB] mthca: Better limit checking and reporting 2005-10-17 15:20:29 -07:00
mthca_uar.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mthca_user.h [IB] uverbs: Add device-specific ABI version attribute 2005-10-17 15:20:26 -07:00
mthca_wqe.h [PATCH] IB/mthca: Move WQE structures into their own header 2005-08-26 20:37:37 -07:00