[PATCH 0/4] Remove use of kmap()
From: ira . weiny
Date: Tue Jun 22 2021 - 02:14:48 EST
From: Ira Weiny <ira.weiny@xxxxxxxxx>
kmap() is being deprecated and will break uses of device dax after PKS
protection is introduced.[1]
These kmap() usages don't need to be global and work fine as thread local
mappings.
Replace these kmap() calls with kmap_local_page() which is more appropriate.
The only final use of kmap() in the RDMA subsystem is in the qib driver which
is pretty old at this point. The use is pretty convoluted and I doubt systems
using that driver are using persistent memory. So it is left as is. If this
is a problem I can dig into converting it as well.
[1] https://lore.kernel.org/lkml/20201009195033.3208459-59-ira.weiny@xxxxxxxxx/
Ira Weiny (4):
RDMA/hfi1: Remove use of kmap()
RDMA/i40iw: Remove use of kmap()
RDMA/siw: Remove kmap()
RDMA/siw: Convert siw_tx_hdt() to kmap_local_page()
drivers/infiniband/hw/hfi1/sdma.c | 4 +--
drivers/infiniband/hw/i40iw/i40iw_cm.c | 10 +++---
drivers/infiniband/sw/siw/siw_qp_tx.c | 47 +++++++++++++++-----------
3 files changed, 34 insertions(+), 27 deletions(-)
--
2.28.0.rc0.12.gb6a658bd00c9