mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alison Schofield <alison.schofield@intel.com>
To: Anisa Su <anisa.su887@gmail.com>
Cc: <linux-cxl@vger.kernel.org>, <nvdimm@lists.linux.dev>,
	<linux-kernel@vger.kernel.org>, Dave Jiang <dave.jiang@intel.com>,
	"Jonathan Cameron" <jic23@kernel.org>,
	Davidlohr Bueso <dave@stgolabs.net>,
	Ira Weiny <iweiny@kernel.org>,
	Vishal Verma <vishal.l.verma@intel.com>,
	Fan Ni <nifan.cxl@gmail.com>, Li Ming <ming.li@zohomail.com>,
	Benjamin Cheatham <benjamin.cheatham@amd.com>,
	Gregory Price <gourry@gourry.net>,
	Richard Cheng <icheng@nvidia.com>,
	Anisa Su <anisa.su@samsung.com>
Subject: Re: [PATCH v1 00/14] DCD CXL Series: Dynamic Capacity extent handling
Date: Mon, 30 Nov 2026 18:20:30 -0800	[thread overview]
Message-ID: <aw4u7uT-0QW8DHob@aschofie-mobl2.lan> (raw)
In-Reply-To: <20261104230445.66625-1-anisa.su@samsung.com>

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


      parent reply	other threads:[~2026-12-01  2:20 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 23:02 Anisa Su
2026-11-04 23:02 ` [PATCH v1 01/14] cxl/core: Return endpoint decoder information from region search Anisa Su
2026-11-24 18:31   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 02/14] cxl/port: Add dynamic capacity options to endpoint decoder mode Anisa Su
2026-11-17  2:22   ` Jonathan Cameron
2026-11-24 18:36   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 03/14] cxl/region: Add dynamic DAX region support Anisa Su
2026-11-17  2:32   ` Jonathan Cameron
2026-11-24 18:55   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 04/14] cxl/mem: Introduce DC event handlers Anisa Su
2026-11-17  2:54   ` Jonathan Cameron
2026-11-24 19:29   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 05/14] cxl/mem: Add 20 second timeout for stalled DC event chains Anisa Su
2026-11-17  3:00   ` Jonathan Cameron
2026-11-20 20:47     ` Anisa Su
2026-11-24 19:30   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 06/14] cxl/extent: Handle DC Add Capacity events Anisa Su
2026-11-12  3:34   ` Richard Cheng
2026-11-16 21:53     ` Anisa Su
2026-11-30 19:54   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 07/14] cxl/mem: Drop misaligned DCD extent groups Anisa Su
2026-11-30 19:58   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 08/14] cxl/extent: Validate DC extent partition Anisa Su
2026-11-30 20:13   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 09/14] cxl/mem: Enforce tag-group semantics Anisa Su
2026-11-30 20:45   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 10/14] cxl/extent: Enforce cross-region tag uniqueness Anisa Su
2026-11-30 21:01   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 11/14] cxl/extent: Handle DC Release Capacity events Anisa Su
2026-11-12  7:34   ` Richard Cheng
2026-11-30 21:31   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 12/14] cxl/region: Read existing extents on region creation Anisa Su
2026-11-30 22:07   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 13/14] cxl/mem: Trace Dynamic capacity Event Record Anisa Su
2026-11-30 22:29   ` Alison Schofield
2026-11-04 23:02 ` [PATCH v1 14/14] Documentation/cxl: Document DCD extent handling Anisa Su
2026-11-30 22:59   ` Alison Schofield
2026-12-01  0:58 ` [PATCH v1 00/14] DCD CXL Series: Dynamic Capacity " Alison Schofield
2026-12-01  2:20 ` Alison Schofield [this message]

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=aw4u7uT-0QW8DHob@aschofie-mobl2.lan \
    --to=alison.schofield@intel.com \
    --cc=anisa.su887@gmail.com \
    --cc=anisa.su@samsung.com \
    --cc=benjamin.cheatham@amd.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=gourry@gourry.net \
    --cc=icheng@nvidia.com \
    --cc=iweiny@kernel.org \
    --cc=jic23@kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ming.li@zohomail.com \
    --cc=nifan.cxl@gmail.com \
    --cc=nvdimm@lists.linux.dev \
    --cc=vishal.l.verma@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®