linux/drivers/infiniband/hw
Artemy Kovalyov 75b7b86bdb IB/mlx5: Fix page fault handling for MW
Memory windows are implemented with an indirect MKey, when a page fault
event comes for a MW Mkey we need to find the MR at the end of the list of
the indirect MKeys by iterating on all items from the first to the last.

The offset calculated during this process has to be zeroed after the first
iteration or the next iteration will start from a wrong address, resulting
incorrect ODP faulting behavior.

Fixes: db570d7dea ("IB/mlx5: Add ODP support to MW")
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-11-26 16:28:36 -07:00
..
bnxt_re RDMA/bnxt_re: Avoid accessing the device structure after it is freed 2018-11-21 14:12:21 -07:00
cxgb3 RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
cxgb4 First merge window pull request 2018-10-26 07:38:19 -07:00
hfi1 Revert "mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks" 2018-10-26 16:25:19 -07:00
hns RDMA/hns: Bugfix pbl configuration for rereg mr 2018-11-23 13:11:47 -07:00
i40iw RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
mlx4 RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
mlx5 IB/mlx5: Fix page fault handling for MW 2018-11-26 16:28:36 -07:00
mthca RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
nes First merge window pull request 2018-10-26 07:38:19 -07:00
ocrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qedr RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qib First merge window pull request 2018-10-26 07:38:19 -07:00
usnic RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
vmw_pvrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00