]> git.baikalelectronics.ru Git - kernel.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)
commit30cf45861370c0d63f815d3bf6d3f6f0990df691
tree3a7c05cb5d1a7b221a688ca965f18938a67e3a33
parent6d8829bcec562865a71b7ab22c507eb876788718
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