STRUCT CXL_REGION_LABEL(9)
๐ struct cxl_region_label(9) โ Kernel API Manual ๐
okay bestie, welcome to the kernel API manual page for struct cxl_region_label(9). This is literally the CXL 2.0 Table 211 situation, and we're gonna get into it. No cap. ๐ซถ
๐ธ NAME ๐ธ
struct cxl_region_label โ CXL 2.0 Table 211, periodt.
โจ SYNOPSIS โจ
struct cxl_region_label {
u8 type[NSLABEL_UUID_LEN];
u8 uuid[NSLABEL_UUID_LEN];
__le32 flags;
__le16 nlabel;
__le16 position;
__le64 dpa;
__le64 rawsize;
__le64 hpa;
__le32 slot;
__le32 ig;
__le32 align;
u8 reserved[0xac];
__le64 checksum;
};
๐ Members ๐
typeโ the uuid identifying this label format (region), iykyk ๐uuidโ the uuid for the region this label describes โจflagsโNSLABEL_FLAG_UPDATINGis the moment; all other flags are reserved ๐ซnlabelโ1per interleave-way in the region, okayyy ๐positionโ this label's position in the set, main character energy ๐dpaโ start address in device-local capacity for this label ๐rawsizeโ size of this label's contribution to region, slay ๐hpaโ mandatory system physical address to map this region ๐บ๏ธslotโ slot id of this label in label area ๐๏ธigโ interleave granularity(1 << ig) * 256 bytesโกalignโ alignment inSZ_256Mblocks ๐งฑreservedโ reserved, bestie, don't touch ๐checksumโ fletcher64 sum of this label ๐งฎ
๐ฆ SEE ALSO ๐ฆ
- Kernel file
./drivers/nvdimm/label.hโ also peepstruct nd_namespace_index(9),struct nvdimm_efi_label(9),struct nvdimm_cxl_label(9), andstruct nd_label_id(9)๐
mwah ๐ โ signed off by ./drivers/nvdimm, dated October 2026, starring struct cxl_region_label(9). periodt. ๐
๐ฆ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms