All of lore.kernel.org
 help / color / mirror / Atom feed
* [ndctl PATCH v3 0/3] cxl: support region granularities finer than the root
@ 2026-10-13  4:14 Alison Schofield
  2026-10-13  4:14 ` [ndctl PATCH v3 1/3] cxl/region: round default region size within root decoder extent Alison Schofield
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alison Schofield @ 2026-10-13  4:14 UTC (permalink / raw)
  To: nvdimm, linux-cxl; +Cc: Alison Schofield

*** 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


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

end of thread, other threads:[~2026-10-13  4:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13  4:14 [ndctl PATCH v3 0/3] cxl: support region granularities finer than the root Alison Schofield
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

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.