mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-26 01:34:23 +01:00
Add the base common fragments and x86_64 specific fragments for the 4.19.x kernel. Signed-off-by: Graham Whaley <graham.whaley@intel.com>
38 lines
1023 B
Plaintext
38 lines
1023 B
Plaintext
# Enable DAX and NVDIMM support so we can map in our rootfs
|
|
|
|
# Need HOTREMOVE, or ZONE_DEVICE will not get enabled
|
|
# We don't actually afaik remove any memory once we have plugged it in, as
|
|
# generally it is too 'expensive' an operation.
|
|
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
|
|
CONFIG_MEMORY_HOTREMOVE=y
|
|
# Also need this
|
|
CONFIG_SPARSEMEM_VMEMMAP=y
|
|
# And this should be auto set by the arch already
|
|
CONFIG_ARCH_HAS_ZONE_DEVICE=y
|
|
|
|
# Without these the pmem_should_map_pages() call in the kernel fails with new
|
|
# Related to the ARCH_HAS_HMM set in the arch files.
|
|
CONFIG_ZONE_DEVICE=y
|
|
CONFIG_DEV_PAGEMAP_OPS=y
|
|
|
|
CONFIG_ND_PFN=y
|
|
CONFIG_NVDIMM_PFN=y
|
|
CONFIG_NVDIMM_DAX=y
|
|
|
|
CONFIG_RADIX_TREE_MULTIORDER=y
|
|
|
|
CONFIG_BLOCK=y
|
|
CONFIG_BLK_DEV=y
|
|
CONFIG_BLK_DEV_PMEM=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_LIBNVDIMM=y
|
|
CONFIG_ND_BLK=y
|
|
CONFIG_BTT=y
|
|
# FIXME: Should check if this is really needed
|
|
# https://github.com/kata-containers/packaging/issues/483
|
|
CONFIG_NVMEM=y
|
|
# Is auto selected by other options
|
|
#CONFIG_DAX_DRIVER=y
|
|
CONFIG_DAX=y
|
|
CONFIG_FS_DAX=y
|