linux/drivers/infiniband/hw
Jason Gunthorpe d5e560d3f7 RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
Since mlx5 supports device disassociate it must use this API for all
BAR page mmaps, otherwise the pages can remain mapped after the device
is unplugged causing a system crash.

Cc: stable@vger.kernel.org
Fixes: 5f9794dc94 ("RDMA/ucontext: Add a core API for mmaping driver IO memory")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2019-04-24 13:06:40 -03:00
..
bnxt_re 5.1 Merge Window Pull Request 2019-03-09 15:53:03 -08:00
cxgb3 RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
cxgb4 5.1 Merge Window Pull Request 2019-03-09 15:53:03 -08:00
hfi1 IB/hfi1: Do not flush send queue in the TID RDMA second leg 2019-04-10 15:09:30 -03:00
hns RDMA/hns: Bugfix for SCC hem free 2019-04-08 13:42:16 -03:00
i40iw i40iw: Avoid panic when handling the inetdev event 2019-03-17 21:40:40 -03:00
mlx4 IB/mlx4: Fix race condition between catas error reset and aliasguid flows 2019-03-17 21:40:39 -03:00
mlx5 RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages 2019-04-24 13:06:40 -03:00
mthca RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
nes RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
ocrdma RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
qedr RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
qib drivers/IB,qib: Fix pinned/locked limit check in qib_get_user_pages() 2019-02-20 14:42:41 -07:00
usnic RDMA: Handle ucontext allocations by IB/core 2019-02-22 14:11:37 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove 2019-04-08 13:04:46 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00