diff options
author | Mitko Haralanov | 2016-02-05 17:57:46 +0100 |
---|---|---|
committer | Doug Ledford | 2016-02-29 23:10:38 +0100 |
commit | f727a0c324ce2c7e7cbe478d22895bf7bc8ed0a6 (patch) | |
tree | 96586b66b7b3999c497c5553df7c3ea980ded35e /drivers/staging/rdma/hfi1/Kconfig | |
parent | Linux 4.5-rc6 (diff) | |
download | kernel-qcow2-linux-f727a0c324ce2c7e7cbe478d22895bf7bc8ed0a6.tar.gz kernel-qcow2-linux-f727a0c324ce2c7e7cbe478d22895bf7bc8ed0a6.tar.xz kernel-qcow2-linux-f727a0c324ce2c7e7cbe478d22895bf7bc8ed0a6.zip |
staging/hfi1: Add function stubs for TID caching
Add mmu notify helper functions and TID caching function
stubs in preparation for the TID caching implementation.
TID caching makes use of the MMU notifier to allow the driver
to respond to the user freeing memory which is allocated to
the HFI.
This patch implements the basic MMU notifier functions to insert,
find and remove buffer pages from memory based on the mmu_notifier
being invoked.
In addition it places stubs in place for the main entry points by
follow on code.
Follow up patches will complete the implementation of the interaction
with user space and makes use of these functions.
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/Kconfig')
-rw-r--r-- | drivers/staging/rdma/hfi1/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rdma/hfi1/Kconfig b/drivers/staging/rdma/hfi1/Kconfig index fd25078ee923..bd0249bcf199 100644 --- a/drivers/staging/rdma/hfi1/Kconfig +++ b/drivers/staging/rdma/hfi1/Kconfig @@ -1,6 +1,7 @@ config INFINIBAND_HFI1 tristate "Intel OPA Gen1 support" depends on X86_64 + select MMU_NOTIFIER default m ---help--- This is a low-level driver for Intel OPA Gen1 adapter. |