Re: [PATCH v1 00/14] DCD CXL Series: Dynamic Capacity extent handling

From: Alison Schofield

Date: Mon Nov 30 2026 - 21:20:51 EST


On Thu, Nov 05, 2026 at 08:02:24AM +0900, Anisa Su wrote:

snip to chat about testing only:

> Testing
> =======
> Build: every patch of the series builds drivers/cxl and drivers/dax
> with CONFIG_CXL_REGION=y and =n.
>
> NDCTL cxl_test:
> - no regressions
> - cxl-dcd.sh also passing although ndctl set is not posted with this series and
> the tools/testing changes for mock DC regions is in the follow-up series

Hi Anisa,

The hardware testing here is great to see. A real DCD driven by a fabric
manager over MCTP, covering a multi-extent chain, a repeated tag, an
untagged extent on a shareable partition, unbind, an Add with no dax
driver bound, and recovery after a reboot.

In addition to that I'd like to get something the CI can run. I get that
nothing runs today without cxl-test changes, and some of the unit test
depends on DAX, which is the next third of these patch sets.

Here are a couple of options that work w DCD still disabled for real devices:

cxl_test mocking:
We could move the DC parts of the cxl_test mock into this series, with DCD
enabled for mock memdevs only, so the add, release and recovery paths run
against the mock and a test can check the tag_groupX.Y, untagged and
extentX.Y devices and the responses the mock receives. This can exercise
questions raised in this review: a tag spanning two regions, an Add response
that fails, like an Add before the dax driver binds, a release during region
teardown, and recovered extents that cross a decoder. (plus a few more)

kunit tests:
The kunit patches queued for 7.5 already adds a stub mailbox, which makes
a quick* add for: Add and Release responses split across payloads with the
More flag, extent list paging and generation retry, and the group
checks, and a zero-length extent.

* quick may be unfair, but it's based on my recent experience using
ai assistance for the cxl kunit series. Also I'd be willing to help out
with any of these piece, cxl-test, cxl-dcd.sh, or kunit cases.


-- Alison