summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/Kconfig
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2019-11-07 02:43:31 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-11-07 15:44:29 +0100
commit33dd70752cd76f4d883a165a674f13121a4155ed (patch)
treefd7d361649e73adafe59ade9db9429a1be4e0516 /drivers/nvdimm/Kconfig
parentx86/efi: Add efi_fake_mem support for EFI_MEMORY_SP (diff)
downloadlinux-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 'drivers/nvdimm/Kconfig')
-rw-r--r--drivers/nvdimm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvdimm/Kconfig b/drivers/nvdimm/Kconfig
index 36af7af6b7cf..b7d1eb38b27d 100644
--- a/drivers/nvdimm/Kconfig
+++ b/drivers/nvdimm/Kconfig
@@ -4,6 +4,7 @@ menuconfig LIBNVDIMM
depends on PHYS_ADDR_T_64BIT
depends on HAS_IOMEM
depends on BLK_DEV
+ select MEMREGION
help
Generic support for non-volatile memory devices including
ACPI-6-NFIT defined resources. On platforms that define an