linux/drivers/infiniband/hw/mlx5
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
..
ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
cmd.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cmd.h RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cong.c infiniband: mlx5: no need to check return value of debugfs_create functions 2019-01-24 09:22:29 -07:00
cq.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
devx.c IB/mlx5: Use mlx5 core to create/destroy a DEVX DCT 2019-03-17 21:40:39 -03:00
doorbell.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
flow.c RDMA/mlx5: Fix flow creation on representors 2019-01-25 11:58:06 -07:00
gsi.c
ib_rep.c 5.1 Merge Window Pull Request 2019-03-09 15:53:03 -08:00
ib_rep.h IB/mlx5: Use unified register/load function for uplink and VF vports 2019-02-14 12:14:41 -08:00
ib_virt.c
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
mad.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
main.c RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages 2019-04-24 13:06:40 -03:00
Makefile net/mlx5: Move SRQ functions to RDMA part 2018-12-04 09:14:30 +02:00
mem.c RDMA/mlx5: Embed into the code flow the ODP config option 2019-01-08 16:41:38 -07:00
mlx5_ib.h IB/mlx5: Protect against prefetch of invalid MR 2019-02-21 16:32:45 -07:00
mr.c IB/mlx5: Protect against prefetch of invalid MR 2019-02-21 16:32:45 -07:00
odp.c IB/mlx5: Reset access mask when looping inside page fault handler 2019-03-27 15:27:11 -03:00
qp.c IB/mlx5: Fix scatter to CQE in DCT QP creation 2019-04-18 03:13:41 -03:00
srq_cmd.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
srq.c IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
srq.h IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00