All of lore.kernel.org
 help / color / mirror / Atom feed
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 v3 0/3] cxl: support region granularities finer than the root
Date: Mon, 12 Oct 2026 21:14:32 -0700	[thread overview]
Message-ID: <cover.1791863817.git.alison.schofield@intel.com> (raw)

*** Use to be cxl: Support mixed-granularity region interleaves *** 

Changes in v3:
- Reframe series to match kernel series which now describes the feature as
  region granularity finer than the root, refining monotonically toward the
  endpoints. Drop the term "mixed-granularity" from the patch subjects,
  commit messages, code comment, and man page
- Rename test/cxl-region-mixed.sh to test/cxl-region-finer-gran.sh and load
  cxl_test with the renamed finer_gran_regions module param.
- cxl-create-region man page: describe the levels below the root as refining
  monotonically toward the region granularity, rather than interleaving at it
- Patch 1 is unchanged
v2: https://lore.kernel.org/nvdimm/cover.1788469004.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
v1: https://lore.kernel.org/all/fa5c109f08824180f58341ebd9055545a2ff3142.1780099216.git.alison.schofield@intel.com/


Alison Schofield (3):
  cxl/region: round default region size within root decoder extent
  cxl/region: allow region granularity finer than the root
  test/cxl-region-finer-gran.sh: test region granularity finer than the
    root

 Documentation/cxl/cxl-create-region.txt |  21 +-
 cxl/region.c                            |  39 ++-
 test/cxl-region-finer-gran.sh           | 413 ++++++++++++++++++++++++
 test/meson.build                        |   2 +
 4 files changed, 462 insertions(+), 13 deletions(-)
 create mode 100644 test/cxl-region-finer-gran.sh

-- 
2.37.3


             reply	other threads:[~2026-10-13  4:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-13  4:14 Alison Schofield [this message]
2026-10-13  4:14 ` [ndctl PATCH v3 1/3] cxl/region: round default region size within root decoder extent Alison Schofield
2026-10-13  4:14 ` [ndctl PATCH v3 2/3] cxl/region: allow region granularity finer than the root Alison Schofield
2026-10-13  4:14 ` [ndctl PATCH v3 3/3] test/cxl-region-finer-gran.sh: test " 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.1791863817.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.