Kconfig (e82a82c19f4272ea5437cc76e5711b98e2ee6223) | Kconfig (f0c98ebc57c2d5e535bc4f9167f35650d2ba3c90) |
---|---|
1menuconfig LIBNVDIMM 2 tristate "NVDIMM (Non-Volatile Memory Device) Support" 3 depends on PHYS_ADDR_T_64BIT | 1menuconfig LIBNVDIMM 2 tristate "NVDIMM (Non-Volatile Memory Device) Support" 3 depends on PHYS_ADDR_T_64BIT |
4 depends on HAS_IOMEM |
|
4 depends on BLK_DEV 5 help 6 Generic support for non-volatile memory devices including 7 ACPI-6-NFIT defined resources. On platforms that define an 8 NFIT, or otherwise can discover NVDIMM resources, a libnvdimm 9 bus is registered to advertise PMEM (persistent memory) 10 namespaces (/dev/pmemX) and BLK (sliding mmio window(s)) 11 namespaces (/dev/ndblkX.Y). A PMEM namespace refers to a 12 memory resource that may span multiple DIMMs and support DAX 13 (see CONFIG_DAX). A BLK namespace refers to an NVDIMM control 14 region which exposes an mmio register set for windowed access 15 mode to non-volatile memory. 16 17if LIBNVDIMM 18 19config BLK_DEV_PMEM 20 tristate "PMEM: Persistent memory block device support" 21 default LIBNVDIMM | 5 depends on BLK_DEV 6 help 7 Generic support for non-volatile memory devices including 8 ACPI-6-NFIT defined resources. On platforms that define an 9 NFIT, or otherwise can discover NVDIMM resources, a libnvdimm 10 bus is registered to advertise PMEM (persistent memory) 11 namespaces (/dev/pmemX) and BLK (sliding mmio window(s)) 12 namespaces (/dev/ndblkX.Y). A PMEM namespace refers to a 13 memory resource that may span multiple DIMMs and support DAX 14 (see CONFIG_DAX). A BLK namespace refers to an NVDIMM control 15 region which exposes an mmio register set for windowed access 16 mode to non-volatile memory. 17 18if LIBNVDIMM 19 20config BLK_DEV_PMEM 21 tristate "PMEM: Persistent memory block device support" 22 default LIBNVDIMM |
22 depends on HAS_IOMEM | |
23 select ND_BTT if BTT 24 select ND_PFN if NVDIMM_PFN 25 help 26 Memory ranges for PMEM are described by either an NFIT 27 (NVDIMM Firmware Interface Table, see CONFIG_NFIT_ACPI), a 28 non-standard OEM-specific E820 memory type (type-12, see 29 CONFIG_X86_PMEM_LEGACY), or it is manually specified by the 30 'memmap=nn[KMG]!ss[KMG]' kernel command line (see --- 74 unchanged lines hidden --- | 23 select ND_BTT if BTT 24 select ND_PFN if NVDIMM_PFN 25 help 26 Memory ranges for PMEM are described by either an NFIT 27 (NVDIMM Firmware Interface Table, see CONFIG_NFIT_ACPI), a 28 non-standard OEM-specific E820 memory type (type-12, see 29 CONFIG_X86_PMEM_LEGACY), or it is manually specified by the 30 'memmap=nn[KMG]!ss[KMG]' kernel command line (see --- 74 unchanged lines hidden --- |