The cxl create-region documentation describes automatic root decoder
selection when --decoder is omitted, but that behavior has never been
implemented. Users see:
# cxl create-region -m mem0 mem1
cxl region: parse_create_options: no root decoder specified
cxl region: cmd_create_region: created 0 regions
Document --decoder as required.
Assisted-by: LLM
Signed-off-by: Alison Schofield <[email protected]>
---
Automatic root decoder selection may be revisited as part of future
usability enhancements to the cxl create-region command.
---
Documentation/cxl/cxl-create-region.txt | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/Documentation/cxl/cxl-create-region.txt
b/Documentation/cxl/cxl-create-region.txt
index b244af60b8a6..47c23ffb2565 100644
--- a/Documentation/cxl/cxl-create-region.txt
+++ b/Documentation/cxl/cxl-create-region.txt
@@ -94,16 +94,15 @@ include::bus-option.txt[]
-g::
--granularity=::
The interleave granularity for the new region. Must match the selected
- root decoder's (if provided) granularity. If the root decoder is
+ root decoder's granularity. If the root decoder is
interleaved across more than one host-bridge then this value must match
that granularity. Otherwise, for non-interleaved decode windows, any
granularity can be specified as long as all devices support that
setting.
-d::
--decoder=::
- The root decoder that the region should be created under. If not
- supplied, the first cross-host bridge (if available), decoder that
- supports the largest interleave will be chosen.
+ The root decoder under which to create the region. This option is
+ required.
-Q::
--enforce-qos::
--
2.37.3