diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-11-07 02:43:31 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-11-07 15:44:29 +0100 |
commit | 33dd70752cd76f4d883a165a674f13121a4155ed (patch) | |
tree | fd7d361649e73adafe59ade9db9429a1be4e0516 /lib/Kconfig | |
parent | x86/efi: Add efi_fake_mem support for EFI_MEMORY_SP (diff) | |
download | linux-33dd70752cd76f4d883a165a674f13121a4155ed.tar.xz linux-33dd70752cd76f4d883a165a674f13121a4155ed.zip |
lib: Uplevel the pmem "region" ida to a global allocator
In preparation for handling platform differentiated memory types beyond
persistent memory, uplevel the "region" identifier to a global number
space. This enables a device-dax instance to be registered to any memory
type with guaranteed unique names.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 183f92a297ca..0dc043ac271d 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -606,6 +606,9 @@ config ARCH_NO_SG_CHAIN config ARCH_HAS_PMEM_API bool +config MEMREGION + bool + # use memcpy to implement user copies for nommu architectures config UACCESS_MEMCPY bool |