linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
Maor Gottlieb ecc7d83be3 IB/mlx5: Take write semaphore when changing the vma struct
When the driver disassociate user context, it changes the vma to
anonymous by setting the vm_ops to null and zap the vma ptes.

In order to avoid race in the kernel, we need to take write lock
before we change the vma entries.

Fixes: 7c2344c3bb ('IB/mlx5: Implements disassociate_ucontext API')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-21 12:26:05 -04:00
..
ah.c IB/mlx5: Use kernel driver to help userspace create ah 2016-12-13 13:38:49 -05:00
cmd.c IB/mlx5: Add null_mkey access 2017-02-14 11:41:18 -05:00
cmd.h IB/mlx5: Add null_mkey access 2017-02-14 11:41:18 -05:00
cq.c IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
main.c IB/mlx5: Take write semaphore when changing the vma struct 2017-04-21 12:26:05 -04:00
Makefile IB/mlx5: Add null_mkey access 2017-02-14 11:41:18 -05:00
mem.c IB/mlx5: Add MR cache for large UMR regions 2017-01-02 15:51:20 -05:00
mlx5_ib.h net/mlx5e: IPoIB, Xmit flow 2017-04-17 11:08:31 -04:00
mr.c This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
odp.c IB/mlx5: Add implicit MR support 2017-02-14 11:41:19 -05:00
qp.c hw/mlx5: Add New bit to check over QP creation 2017-04-17 11:08:32 -04:00
srq.c IB/mlx5: Fix out-of-bound access 2017-02-14 10:14:25 -05:00