]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/mlx5: Ensure proper synchronization accessing memory
authorEli Cohen <eli@mellanox.com>
Wed, 11 Sep 2013 13:35:36 +0000 (16:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 10 Oct 2013 16:24:00 +0000 (09:24 -0700)
commit54313907077ff4cf9a6d82d313afe8ac6cbdaff1
tree3a7c05cb5d1a7b221a688ca965f18938a67e3a33
parentfe45f8270436103c305645a6d9d86a9141b9fe09
IB/mlx5: Ensure proper synchronization accessing memory

Call mlx5_ib_populate_pas() before mapping the DMA buffer to ensure
the hardware reads the values written by the CPU.

Found by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/mr.c