From: marc.herbert@linux.intel.com
To: linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev,
alison.schofield@intel.com, dan.j.williams@intel.com
Cc: Marc Herbert <marc.herbert@linux.intel.com>
Subject: [ndctl PATCH 2/2] README.md: add CONFIG_s missing to pass CXL tests
Date: Wed, 21 May 2025 00:26:40 +0000 [thread overview]
Message-ID: <20250521002640.1700283-2-marc.herbert@linux.intel.com> (raw)
In-Reply-To: <20250521002640.1700283-1-marc.herbert@linux.intel.com>
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=cxl`.
This fragment is being regularly tested in
https://github.com/pmem/run_qemu/actions with `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 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 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a37991ccefa2..c4c499f803af 100644
--- a/README.md
+++ b/README.md
@@ -103,17 +103,26 @@ loaded. To build and install nfit_test.ko:
Obtain the CXL kernel source(optional). For example,
`git clone -b pending git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git`
- Enable CXL-related kernel configuration options.
+ Enable configuration options required by CXL tests:
```
CONFIG_CXL_BUS=m
CONFIG_CXL_PCI=m
CONFIG_CXL_ACPI=m
+ CONFIG_LIBNVDIMM=m
CONFIG_CXL_PMEM=m
CONFIG_CXL_MEM=m
CONFIG_CXL_PORT=m
CONFIG_CXL_REGION=y
CONFIG_CXL_REGION_INVALIDATION_TEST=y
+ CONFIG_DAX=m
+ CONFIG_TRANSPARENT_HUGEPAGE=y
+ CONFIG_DEV_DAX=m
CONFIG_DEV_DAX_CXL=m
+ CONFIG_MEMORY_HOTPLUG=y
+ CONFIG_MEMORY_HOTREMOVE=y
+ CONFIG_NVDIMM_SECURITY_TEST=y
+ CONFIG_ENCRYPTED_KEYS=y
+ CONFIG_NVDIMM_KEYS=y
```
1. Install cxl_test and related mock modules.
```
--
2.49.0
next prev parent reply other threads:[~2025-05-21 0:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` marc.herbert [this message]
2025-05-22 4:47 ` Alison Schofield
2025-05-22 14:47 ` Marc Herbert
2025-05-29 2:44 ` Alison Schofield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250521002640.1700283-2-marc.herbert@linux.intel.com \
--to=marc.herbert@linux.intel.com \
--cc=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=nvdimm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox