diff options
author | 2023-01-09 12:31:31 -0500 | |
---|---|---|
committer | 2023-01-10 12:21:50 +0200 | |
commit | b3deec25847bda34e34d5d7be02f633caf000bd8 (patch) | |
tree | 0a9ec796278eb027bf097c6cfce943b97033a9dd /lib/Kconfig | |
parent | IB/hfi1: Immediately remove invalid memory from hardware (diff) | |
download | linux-b3deec25847bda34e34d5d7be02f633caf000bd8.tar.gz linux-b3deec25847bda34e34d5d7be02f633caf000bd8.tar.bz2 linux-b3deec25847bda34e34d5d7be02f633caf000bd8.zip |
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: 3889551db212 ("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>
Diffstat (limited to 'lib/Kconfig')
0 files changed, 0 insertions, 0 deletions