linux_dsm_epyc7002/drivers/infiniband/hw/mlx4
Maor Gottlieb ca37a664a8 IB/mlx4: Change vma from shared to private
Anonymous VMA (->vm_ops == NULL) cannot be shared, otherwise
it would lead to SIGBUS.

Remove the shared flags from the vma after we change it to be
anonymous.

This is easily reproduced by doing modprobe -r while running a
user-space application such as raw_ethernet_bw.

Fixes: ae184ddeca ('IB/mlx4_ib: Disassociate support')
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 Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
alias_GUID.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
cm.c IB/mlx4: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
cq.c IB/mlx4: Fix create CQ error flow 2016-11-16 20:03:44 -05:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
Kconfig net: mellanox: add DEVLINK dependencies 2016-03-03 17:08:59 -05:00
mad.c Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
main.c IB/mlx4: Change vma from shared to private 2017-04-21 12:26:05 -04:00
Makefile IB/mlx4: Add iov directory in sysfs under the ib device 2012-09-30 20:33:39 -07:00
mcg.c IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level 2017-04-21 12:26:05 -04:00
mlx4_ib.h IB/mlx4: Switch from dma_device to dev.parent 2017-01-24 12:23:35 -05:00
mr.c IB/mlx4: Switch from dma_device to dev.parent 2017-01-24 12:23:35 -05:00
qp.c Mellanox specific updates for 4.11 merge window 2017-02-23 11:27:49 -08:00
srq.c IB/mlx4: Move user vendor structures 2016-10-07 16:54:36 -04:00
sysfs.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00