[PATCH] UBUNTU: kvm: [Config] Enable ACPI NVDIMM

Julio Montes julio.montes at intel.com
Thu Jun 14 20:48:49 UTC 2018


BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1761854

Enable ACPI NVDIMM Firmware Interface Table to allow kata containers mount
the rootfs from persistent memory (pmemX)

Next configs are needed:
* CONFIG_ACPI_NFIT
* CONFIG_BLK_DEV_PMEM
* CONFIG_LIBNVDIMM

Signed-off-by: Julio Montes <julio.montes at intel.com>
---
 debian.kvm/config/config.common.ubuntu | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index d27d549e2816..efe3b0e7f948 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -31,7 +31,7 @@ CONFIG_ACPI_HOTPLUG_CPU=y
 CONFIG_ACPI_HOTPLUG_IOAPIC=y
 CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
 CONFIG_ACPI_LPIT=y
-# CONFIG_ACPI_NFIT is not set
+CONFIG_ACPI_NFIT=y
 CONFIG_ACPI_NUMA=y
 # CONFIG_ACPI_PCI_SLOT is not set
 CONFIG_ACPI_PROCESSOR=y
@@ -226,6 +226,7 @@ CONFIG_BLK_DEV_MD=m
 # CONFIG_BLK_DEV_NULL_BLK is not set
 # CONFIG_BLK_DEV_NVME is not set
 # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
+CONFIG_BLK_DEV_PMEM=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=16
 CONFIG_BLK_DEV_RAM_SIZE=4096
@@ -268,6 +269,7 @@ CONFIG_BTRFS_FS=m
 CONFIG_BTRFS_FS_POSIX_ACL=y
 # CONFIG_BTRFS_FS_REF_VERIFY is not set
 # CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
+CONFIG_BTT=y
 # CONFIG_BUG is not set
 # CONFIG_BUG_ON_DATA_CORRUPTION is not set
 CONFIG_BUILDTIME_EXTABLE_SORT=y
@@ -1258,7 +1260,7 @@ CONFIG_LEGACY_VSYSCALL_EMULATE=y
 # CONFIG_LEGACY_VSYSCALL_NATIVE is not set
 # CONFIG_LEGACY_VSYSCALL_NONE is not set
 CONFIG_LIBCRC32C=m
-# CONFIG_LIBNVDIMM is not set
+CONFIG_LIBNVDIMM=y
 # CONFIG_LKDTM is not set
 CONFIG_LLC=y
 # CONFIG_LLC2 is not set
@@ -1429,6 +1431,9 @@ CONFIG_NAMESPACES=y
 # CONFIG_NCPFS_SMALLDOS is not set
 # CONFIG_NCPFS_STRONG is not set
 CONFIG_NCP_FS=m
+CONFIG_ND_BLK=y
+CONFIG_ND_BTT=y
+CONFIG_ND_CLAIM=y
 CONFIG_NEED_DMA_MAP_STATE=y
 CONFIG_NEED_MULTIPLE_NODES=y
 CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
-- 
2.13.6




More information about the kernel-team mailing list