android_kernel_samsung_msm8976/drivers/infiniband/hw/mthca
Roland Dreier 76d7cc0345 IB/mthca: Use mmiowb() to avoid firmware commands getting jumbled up
Firmware commands are sent to the HCA by writing multiple words to a
command register block.  Access to this block of registers is
serialized with a mutex.  However, on large SGI systems, problems were
seen with multiple CPUs issuing FW commands at the same time, because
the writes to the register block may be reordered within the system
interconnect and reach the HCA in a different order than they were
issued (even with the mutex).  Fix this by adding an mmiowb() before
dropping the mutex.

Tested-by: Arthur Kepner <akepner@sgi.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-09 19:59:17 -07:00
..
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile
mthca_allocator.c IB/mthca: Replace memset(<addr>, 0, PAGE_SIZE) with clear_page(<addr>) 2007-07-10 12:28:05 -07:00
mthca_av.c IB/mthca: Set GRH:HopLimit when building MLX headers 2007-05-19 08:51:56 -07:00
mthca_catas.c
mthca_cmd.c IB/mthca: Use mmiowb() to avoid firmware commands getting jumbled up 2007-10-09 19:59:17 -07:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mthca_dev.h IB/mthca: Increase max number of QPs per multicast group to 56 2007-10-09 19:59:17 -07:00
mthca_doorbell.h
mthca_eq.c IB/mthca: Replace memset(<addr>, 0, PAGE_SIZE) with clear_page(<addr>) 2007-07-10 12:28:05 -07:00
mthca_mad.c
mthca_main.c IB/mthca: Use PCI-X/PCI-Express read control interfaces 2007-10-09 19:59:07 -07:00
mthca_mcg.c
mthca_memfree.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mthca_memfree.h PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mthca_mr.c IB/mthca: Fix mthca_write_mtt() on HCAs with hidden memory 2007-04-24 16:31:04 -07:00
mthca_pd.c
mthca_profile.c IB/mthca: Merge MR and FMR space on 64-bit systems 2007-02-12 16:16:29 -08:00
mthca_profile.h
mthca_provider.c IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
mthca_provider.h IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
mthca_qp.c IB/mthca: Simplify use of size0 in work request posting 2007-07-18 13:28:29 -07:00
mthca_reset.c
mthca_srq.c IB/mthca: Factor out setting WQE data segment entries 2007-07-18 11:30:34 -07:00
mthca_uar.c
mthca_user.h
mthca_wqe.h IB/mthca: Factor out setting WQE data segment entries 2007-07-18 11:30:34 -07:00