commit | 36f5625af34c89d6c5426c43d321520d668c584c | [log] [tgz] |
---|---|---|
author | Ira Weiny <ira.weiny@intel.com> | Mon Jun 21 23:14:19 2021 -0700 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Thu Jun 24 15:07:08 2021 -0300 |
tree | c6bc10ac988c1443700d9f99a21587a881c54ecc | |
parent | 7364e74d48ec094f46f6a5abfd91dcebece94c0c [diff] |
RDMA/hfi1: 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 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. [1] https://lore.kernel.org/lkml/20201009195033.3208459-59-ira.weiny@intel.com/ Link: https://lore.kernel.org/r/20210622061422.2633501-2-ira.weiny@intel.com Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>