From: Alison Schofield <alison.schofield@intel.com>
To: nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org
Cc: Alison Schofield <alison.schofield@intel.com>
Subject: [ndctl PATCH v2 0/3] cxl: support mixed-granularity regions
Date: Thu, 3 Sep 2026 14:34:15 -0700 [thread overview]
Message-ID: <cover.1788469004.git.alison.schofield@intel.com> (raw)
This is an update to a series[1] that was previously sent out without a
cover letter. In v2 a fixup prerequisite patch is added and the tests
are expanded based on the kernel series review feedback [2].
[1] https://lore.kernel.org/all/fa5c109f08824180f58341ebd9055545a2ff3142.1780099216.git.alison.schofield@intel.com/
[2] https://lore.kernel.org/all/cover.1787255388.git.alison.schofield@intel.com/
Changes in v2:
Patch 1: cxl/region: round default region size within root decoder extent
- New patch to fixup the ALIGN_DOWN usage that doesn't always work
Patch 2: cxl/region: allow mixed-granularity regions
- Reject a granularity that is not power of 2
- Update man page -g section
Patch 3: test/cxl-region-mixed.sh: test mixed-granularity region creation
- Cover the third pmem window, a 3-way at 1KB across 3 HBs
- Add two test cases, a 6-way and 12-way, for more spec defined coverage
- Select endpoints by walking hierarchy instead of handbuilding lists per case
- Assert 2 switches below each HB and 2 EP below each switch
- Require negative test cases to fail at first target write
- Skip rather than fail when kernel has no registry
- Drop selector walk language to align with kernel language
The base commit is the current ndctl pending branch.
Alison Schofield (3):
cxl/region: round default region size within root decoder extent
cxl/region: allow mixed-granularity regions
test/cxl-region-mixed.sh: test mixed-granularity region creation
Documentation/cxl/cxl-create-region.txt | 21 +-
cxl/region.c | 39 ++-
test/cxl-region-mixed.sh | 413 ++++++++++++++++++++++++
test/meson.build | 2 +
4 files changed, 462 insertions(+), 13 deletions(-)
create mode 100644 test/cxl-region-mixed.sh
base-commit: ca9a1d69dc8894836999042ae6793fd7698b78fd
--
2.37.3
next reply other threads:[~2026-09-03 21:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 21:34 Alison Schofield [this message]
2026-09-03 21:34 ` [ndctl PATCH v2 1/3] cxl/region: round default region size within root decoder extent Alison Schofield
2026-09-03 21:34 ` [ndctl PATCH v2 2/3] cxl/region: allow mixed-granularity regions Alison Schofield
2026-09-03 21:34 ` [ndctl PATCH v2 3/3] test/cxl-region-mixed.sh: test mixed-granularity region creation 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=cover.1788469004.git.alison.schofield@intel.com \
--to=alison.schofield@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