Skip to content

Commit 41685f9

Browse files
committed
.github: add new nfit-test.cfg
This is enough to pass the ndctl:ndctl and ndctl:dax test suites. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 569c475 commit 41685f9

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/nfit-test.cfg

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# nfit test requirements
2+
3+
# Fragment tested with kernel v6.15 and:
4+
#
5+
# make defconfig ARCH=x86_64
6+
# ./scripts/kconfig/merge_config.sh .config $this_file
7+
8+
# This first section is mostly a duplicate of ndctl.git/README.md as of ndctl v81
9+
# Try to keep both in sync.
10+
11+
CONFIG_X86_PMEM_LEGACY=m
12+
CONFIG_ZONE_DEVICE=y
13+
CONFIG_LIBNVDIMM=m
14+
CONFIG_BLK_DEV_PMEM=m
15+
CONFIG_BTT=y
16+
CONFIG_NVDIMM_PFN=y
17+
CONFIG_NVDIMM_DAX=y
18+
CONFIG_DEV_DAX_PMEM=m
19+
CONFIG_ENCRYPTED_KEYS=y
20+
CONFIG_NVDIMM_SECURITY_TEST=y
21+
CONFIG_STRICT_DEVMEM=y
22+
CONFIG_IO_STRICT_DEVMEM=y
23+
24+
# These are required by others above but missing from
25+
# ndctl.git/README.md as of ndctl v81
26+
CONFIG_MEMORY_HOTPLUG=y
27+
CONFIG_MEMORY_HOTREMOVE=y
28+
CONFIG_TRANSPARENT_HUGEPAGE=y
29+
CONFIG_DAX=m
30+
CONFIG_DEV_DAX=m
31+
32+
33+
# These are simply missing from ndctl.git/README.md
34+
CONFIG_ACPI_NFIT=m
35+
CONFIG_NFIT_SECURITY_DEBUG=y
36+
CONFIG_FS_DAX=y
37+
CONFIG_XFS_FS=y
38+
CONFIG_MEMORY_FAILURE=y
39+
40+
41+
# Optimization: saves almost half the compilation time with just one
42+
# one-line. When making and testing changes above, comment out this line
43+
# to make the output of kconfig/merge_config.sh usable.
44+
CONFIG_DRM=n

0 commit comments

Comments
 (0)