linux/drivers/infiniband/hw
Dean Luick b3deec2584 IB/hfi1: Remove user expected buffer invalidate race
During setup, there is a possible race between a page invalidate
and hardware programming.  Add a covering invalidate over the user
target range during setup.  If anything within that range is
invalidated during setup, fail the setup.  Once set up, each
TID will have its own invalidate callback and invalidate.

Fixes: 3889551db2 ("RDMA/hfi1: Use mmu_interval_notifier_insert for user_exp_rcv")
Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/167328549178.1472310.9867497376936699488.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-01-10 12:21:50 +02:00
..
bnxt_re IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
cxgb4 treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
efa RDMA/efa: Add EFA 0xefa2 PCI ID 2022-10-24 14:11:58 +03:00
erdma RDMA/erdma: Notify the latest PI to FW for reflushing when necessary 2022-11-24 14:58:52 -04:00
hfi1 IB/hfi1: Remove user expected buffer invalidate race 2023-01-10 12:21:50 +02:00
hns v6.2 merge window pull request 2022-12-14 09:27:13 -08:00
irdma RDMA/irdma: Initialize net_type before checking it 2022-11-22 16:13:44 +02:00
mana RDMA/mana: Remove redefinition of basic u64 type 2022-11-14 10:16:46 +02:00
mlx4 RDMA/mlx4: Remove NULL check before dev_{put, hold} 2022-11-29 11:22:12 +02:00
mlx5 RDMA/mlx5: Fix validation of max_rd_atomic caps for DC 2023-01-01 09:40:35 +02:00
mthca IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
ocrdma IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
qedr Linux 6.1-rc8 2022-12-09 15:52:17 -04:00
qib v6.2 merge window pull request 2022-12-14 09:27:13 -08:00
usnic RDMA/usnic: remove FOLL_FORCE usage 2022-11-30 15:58:58 -08:00
vmw_pvrdma RDMA/pvrdma: Remove useless DMA-32 fallback configuration 2022-01-28 10:49:04 -04:00
Makefile RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter 2022-11-11 11:40:09 +02:00