Linux CXL
 help / color / mirror / Atom feed
* [PATCH v3 0/3] cxl/test: mock fixups and new topology support
@ 2026-11-05  3:57 Alison Schofield
  2026-11-05  3:57 ` [PATCH v3 1/3] tools/testing/cxl: Preserve DPA skip across mock decoder reset Alison Schofield
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alison Schofield @ 2026-11-05  3:57 UTC (permalink / raw)
  To: Davidlohr Bueso, Jonathan Cameron, Dave Jiang, Alison Schofield,
	Vishal Verma, Ira Weiny, Li Ming, Richard Cheng
  Cc: linux-cxl


Changes in v3:
- Rebase onto 7.4-rc1

Changes in v2:
- Patch 2: Avoid duplicate look up of auto region window (RichardC)
- CoverLetter: Add link to the ndctl companion series

While working to enhance the cxl-cli cxl-create-region command to handle
out-of-order target lists or no user-supplied target list, I ran into some
basic issues in the existing command that need to be addressed first.
Developing tests for those fixes exposed two bugs and a topology gap in
the cxl_test mock module.

This cxl_test series addresses those issues:
1/3 fixes a DPA skip leak across mock decoder reset.
2/3 skips auto-region setup when no volatile window is active.
3/3 adds two x1 CFMWS windows needed to exercise root decoder selection.

A companion ndctl series[1] fixes the existing cxl-create-region issues
in cxl-cli, clearing the way for out-of-order or automatically generated
target lists.

These changes preserve the existing cxl_test unit test behavior while
enabling new create-region test cases.

[1] https://lore.kernel.org/nvdimm/cover.1790658549.git.alison.schofield@intel.com/


Alison Schofield (3):
  tools/testing/cxl: Preserve DPA skip across mock decoder reset
  tools/testing/cxl: Skip the auto region when no volatile window is active
  tools/testing/cxl: Add CFMWS windows for region selection tests

 tools/testing/cxl/test/cxl.c | 116 ++++++++++++++++++++++++++---------
 1 file changed, 87 insertions(+), 29 deletions(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.37.3


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

end of thread, other threads:[~2026-11-06 16:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05  3:57 [PATCH v3 0/3] cxl/test: mock fixups and new topology support Alison Schofield
2026-11-05  3:57 ` [PATCH v3 1/3] tools/testing/cxl: Preserve DPA skip across mock decoder reset Alison Schofield
2026-11-05  3:57 ` [PATCH v3 2/3] tools/testing/cxl: Skip the auto region when no volatile window is active Alison Schofield
2026-11-05  3:57 ` [PATCH v3 3/3] tools/testing/cxl: Add CFMWS windows for region selection tests Alison Schofield
2026-11-06 16:34 ` [PATCH v3 0/3] cxl/test: mock fixups and new topology support Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox