diff options
author | 2023-01-29 17:37:57 +0800 | |
---|---|---|
committer | 2023-01-30 11:38:41 +0200 | |
commit | b7e08a5a63a11627601915473c3b569c1f6c6c06 (patch) | |
tree | e5c9a280abec860214e5539e4484b2ef7e903f6c /drivers/infiniband/core | |
parent | RDMA/irdma: Fix potential NULL-ptr-dereference (diff) | |
download | linux-b7e08a5a63a11627601915473c3b569c1f6c6c06.tar.gz linux-b7e08a5a63a11627601915473c3b569c1f6c6c06.tar.bz2 linux-b7e08a5a63a11627601915473c3b569c1f6c6c06.zip |
RDMA/usnic: use iommu_map_atomic() under spin_lock()
usnic_uiom_map_sorted_intervals() is called under spin_lock(), iommu_map()
might sleep, use iommu_map_atomic() to avoid potential sleep in atomic
context.
Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230129093757.637354-1-yangyingliang@huawei.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions