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.schofi...@intel.com/ [2] https://lore.kernel.org/all/[email protected]/ 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
