[PATCH v6 1/7] ndctl: Dynamic Capacity additions for cxl-cli

From: Anisa Su

Date: Sat May 23 2026 - 05:56:12 EST


From: Ira Weiny <ira.weiny@xxxxxxxxx>

This series can be found here:

https://github.com/weiny2/ndctl/tree/dcd-region3-2025-04-13

CXL Dynamic Capacity Device (DCD) support is being discussed in the
upstream kernel. cxl-cli requires modifications to interact with those
devices.

A new partition type 'dynamic_ram_a' has been added which cxl-cli
needs to know about. Add support for the new decoder type.

With DCD regions may, or may not, have capacity. The capacity is
communicated via extents. Add region extent query capabilities.

Add cxl-test support. cxl-testing allows for quick regression testing
as well as helping to design the cxl-cli interfaces.


To: "Alison Schofield" <alison.schofield@xxxxxxxxx>
Cc: "Vishal Verma" <vishal.l.verma@xxxxxxxxx>
Cc: "Jonathan Cameron" <jonathan.cameron@xxxxxxxxxx>
Cc: "Fan Ni" <fan.ni@xxxxxxxxxxx>
Cc: "Sushant1 Kumar" <sushant1.kumar@xxxxxxxxx>
Cc: "Dan Williams" <dan.j.williams@xxxxxxxxx>
Cc: "Dave Jiang" <dave.jiang@xxxxxxxxx>
Cc: <linux-cxl@xxxxxxxxxxxxxxx>
Cc: <nvdimm@xxxxxxxxxxxxxxx>
Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

---
Changes in v5:
- iweiny: Adjust all code to view only the dynamic RAM A partition
- Alison: s/tag/uuid/ in region query extent output
- Link to v4: https://patch.msgid.link/20241214-dcd-region2-v4-0-36550a97f8e2@xxxxxxxxx

--- b4-submit-tracking ---
# This section is used internally by b4 prep for tracking purposes.
{
"series": {
"revision": 5,
"change-id": "20241030-dcd-region2-2d0149eb8efd",
"prefixes": [],
"history": {
"v1": [
"20241030-dcd-region2-v1-0-04600ba2b48e@xxxxxxxxx"
],
"v2": [
"20241104-dcd-region2-v2-0-be057b479eeb@xxxxxxxxx"
],
"v3": [
"20241115-dcd-region2-v3-0-585d480ccdab@xxxxxxxxx"
],
"v4": [
"20241214-dcd-region2-v4-0-36550a97f8e2@xxxxxxxxx"
]
}
}
}
--
2.43.0