- bookworm 76.1-1
- testing 76.1-1
- unstable 76.1-1
- unstable 77-2
- experimental 77-1
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=
-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¶
2022-08-24 | cxl |