Re: [PATCH 1/4] RDMA/hfi1: Remove use of kmap()
From: Jason Gunthorpe
Date: Thu Jun 24 2021 - 14:13:22 EST
On Mon, Jun 21, 2021 at 11:14:19PM -0700, ira.weiny@xxxxxxxxx wrote:
> From: Ira Weiny <ira.weiny@xxxxxxxxx>
> kmap() is being deprecated and will break uses of device dax after PKS
> protection is introduced.
> The kmap() used in sdma does not need to be global. Use the new
> kmap_local_page() which works with PKS and may provide better
> performance for this thread local mapping anyway.
>  https://lore.kernel.org/lkml/20201009195033.3208459-59-ira.weiny@xxxxxxxxx/
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>
> drivers/infiniband/hw/hfi1/sdma.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to for-next, thanks