linux-stable/drivers/infiniband
Ira Weiny 7364e74d48 RDMA/irdma: Remove use of kmap()
kmap() is being deprecated and will break uses of device dax after PKS
protection is introduced.[1]

The kmap() used in the irdma CM driver is thread local.  Therefore
kmap_local_page() is sufficient to use and may provide performance
benefits as well.  kmap_local_page() will work with device dax and pgmap
protected pages.

Use kmap_local_page() instead of kmap().

[1] https://lore.kernel.org/lkml/20201009195033.3208459-59-ira.weiny@intel.com/

Link: https://lore.kernel.org/r/20210622165622.2638628-1-ira.weiny@intel.com
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-24 15:07:01 -03:00
..
core Linux 5.13-rc7 2021-06-22 14:43:51 -03:00
hw RDMA/irdma: Remove use of kmap() 2021-06-24 15:07:01 -03:00
sw RDMA/rxe: Fix redundant skb_put_zero 2021-06-22 15:38:53 -03:00
ulp IB/isert: Align target max I/O size to initiator size 2021-06-24 09:07:53 -03:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile