Man page - cxl-create-region(1)
Packages contas this manual
- cxl-free-dpa(1)
- cxl(1)
- cxl-enable-memdev(1)
- cxl-read-labels(1)
- cxl-set-partition(1)
- cxl-disable-port(1)
- cxl-update-firmware(1)
- cxl-zero-labels(1)
- cxl-monitor(1)
- cxl-enable-port(1)
- cxl-reserve-dpa(1)
- cxl-write-labels(1)
- cxl-destroy-region(1)
- cxl-disable-region(1)
- cxl-disable-bus(1)
- cxl-list(1)
- cxl-create-region(1)
- cxl-disable-memdev(1)
- cxl-enable-region(1)
- cxl-wait-sanitize(1)
- cxl-set-alert-config(1)
apt-get install cxl
Manual
| CXL-CREATE-REGION(1) | cxl Manual | CXL-CREATE-REGION(1) |
NAME
cxl-create-region - Assemble a CXL region by setting up attributes of its constituent CXL memdevs.
SYNOPSIS
cxl create-region [<options>]
DESCRIPTION
A CXL region is composed of one or more slices of CXL memdevs, with configurable interleave settings - both the number of interleave ways, and the interleave granularity.
For create-region, a size can optionally be specified, but if not, the maximum possible size for each memdev will be used up to the available decode capacity in the system for the given memory type. For persistent regions a UUID can optionally be specified, but if not, one will be generated.
If the region-creation operation is successful, a region object will be emitted on stdout in JSON format (see examples). If the specified arguments cannot be satisfied with a legal configuration, then an appropriate error will be emitted on stderr.
EXAMPLE
#cxl create-region -m -d decoder0.1 -w 2 -g 1024 mem0 mem1
{
"region":"region0",
"resource":"0xc90000000",
"size":"512.00 MiB (536.87 MB)",
"interleave_ways":2,
"interleave_granularity":1024,
"mappings":[
{
"position":1,
"decoder":"decoder4.0"
},
{
"position":0,
"decoder":"decoder3.0"
}
]
}
created 1 region
OPTIONS
<target(s)>
-b, --bus=
-m, --memdevs
-s, --size=
-t, --type=
-U, --uuid=
-w, --ways=
-g, --granularity=
-d, --decoder=
-Q, --enforce-qos
-u, --human
--debug
COPYRIGHT
Copyright © 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
cxl-list(1),
| 2025-04-13 | cxl |