Linux CXL
 help / color / mirror / Atom feed
* [ndctl PATCH 1/2] README.md: add CONFIG_s missing to pass NFIT tests
@ 2025-05-21  0:26 marc.herbert
  2025-05-21  0:26 ` [ndctl PATCH 2/2] README.md: add CONFIG_s missing to pass CXL tests marc.herbert
  2025-05-22  4:47 ` [ndctl PATCH 1/2] README.md: add CONFIG_s missing to pass NFIT tests Alison Schofield
  0 siblings, 2 replies; 5+ messages in thread
From: marc.herbert @ 2025-05-21  0:26 UTC (permalink / raw)
  To: linux-cxl, nvdimm, alison.schofield, dan.j.williams; +Cc: Marc Herbert

From: Marc Herbert <marc.herbert@linux.intel.com>

Found by trial and error. As of kernel v6.15, the CONFIG_s in this
version are enough to give to ./scripts/kconfig/merge_config.sh and pass
`meson test --suite=ndctl:ndctl` and `meson test --suite=ndctl:dax`

This has been manually tested with only `make defconfig ARCH=x86_64` as
a starting point. This is admittedly incomplete test coverage but still
a massively better starting point for other ARCHs and a big time
saver. There's a good chance it's enough for other ARCHs too.

Link: https://lore.kernel.org/nvdimm/aed71134-1029-4b88-ab20-8dfa527a7438@linux.intel.com/
Signed-off-by: Marc Herbert <marc.herbert@linux.intel.com>
---
 README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.md b/README.md
index db25a9114402..a37991ccefa2 100644
--- a/README.md
+++ b/README.md
@@ -69,10 +69,20 @@ loaded.  To build and install nfit_test.ko:
    CONFIG_NVDIMM_PFN=y
    CONFIG_NVDIMM_DAX=y
    CONFIG_DEV_DAX_PMEM=m
+   CONFIG_FS_DAX=y
+   CONFIG_XFS_FS=y
+   CONFIG_DAX=m
+   CONFIG_DEV_DAX=m
    CONFIG_ENCRYPTED_KEYS=y
    CONFIG_NVDIMM_SECURITY_TEST=y
    CONFIG_STRICT_DEVMEM=y
    CONFIG_IO_STRICT_DEVMEM=y
+   CONFIG_ACPI_NFIT=m
+   CONFIG_NFIT_SECURITY_DEBUG=y
+   CONFIG_MEMORY_FAILURE=y
+   CONFIG_MEMORY_HOTPLUG=y
+   CONFIG_MEMORY_HOTREMOVE=y
+   CONFIG_TRANSPARENT_HUGEPAGE=y
    ```
 
 1. Build and install the unit test enabled libnvdimm modules in the
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-29  2:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21  0:26 [ndctl PATCH 1/2] README.md: add CONFIG_s missing to pass NFIT tests marc.herbert
2025-05-21  0:26 ` [ndctl PATCH 2/2] README.md: add CONFIG_s missing to pass CXL tests marc.herbert
2025-05-22  4:47 ` [ndctl PATCH 1/2] README.md: add CONFIG_s missing to pass NFIT tests Alison Schofield
2025-05-22 14:47   ` Marc Herbert
2025-05-29  2:44     ` Alison Schofield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox