linux/drivers/infiniband/hw
Yang Yingliang d53903cc23 RDMA/usnic: use iommu_map_atomic() under spin_lock()
[ Upstream commit b7e08a5a63 ]

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: e3cf00d0a8 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-02-14 19:11:43 +01: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() when possible 2022-10-11 17:42:58 -06:00
efa RDMA/efa: Add EFA 0xefa2 PCI ID 2022-10-24 14:11:58 +03:00
erdma Linux 6.0 2022-10-06 19:48:45 -03:00
hfi1 IB/hfi1: Restore allocated resources on failed copyout 2023-02-14 19:11:42 +01:00
hns RDMA/hns: Fix XRC caps on HIP08 2022-12-31 13:32:37 +01:00
irdma RDMA/irdma: Fix potential NULL-ptr-dereference 2023-02-14 19:11:43 +01:00
mlx4 treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
mlx5 RDMA/mlx5: Fix validation of max_rd_atomic caps for DC 2023-01-12 12:02:21 +01: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 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources() 2022-10-28 12:59:40 -03:00
qib RDMA/qib: fix repeated words in comments 2022-09-20 14:11:14 +03:00
usnic RDMA/usnic: use iommu_map_atomic() under spin_lock() 2023-02-14 19:11:43 +01:00
vmw_pvrdma RDMA/pvrdma: Remove useless DMA-32 fallback configuration 2022-01-28 10:49:04 -04:00
Makefile RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00