STRUCT CXL_ENDPOINT_DVSEC_INFO(9)
β¨ struct cxl_endpoint_dvsec_info(9) β¨
okay bestie so this is a page from the Kernel API Manual and it's all about struct cxl_endpoint_dvsec_info β literally the struct that holds your Cached DVSEC info π
buckle up, it's short but it's iconic.
πΈ NAME πΈ
struct cxl_endpoint_dvsec_info β Cached DVSEC info π
π¦ SYNOPSIS π¦
struct cxl_endpoint_dvsec_info {
bool mem_enabled;
int ranges;
struct cxl_port *port;
struct range dvsec_range[2];
};
likeβ¦ look at her. four members. no notes. π
π Members π
mem_enabledβ the cached value ofmem_enabledin the DVSEC, snapshotted at init time π«Ά (so like, whatever it was back then, that's what you're getting now, no cap).rangesβ number of active HDM ranges this device uses. literally just counting how many ranges are doing the thing π₯portβ the endpoint port associated with this info instance. it's giving "this struct's plus-one" πdvsec_rangeβ cached attributes of the ranges in the DVSEC,PCIE_DEVICEπΈ
ok important vibe check bestie:dvsec_rangeis declared asstruct range dvsec_range[2];in the synopsis, and the description just says "cached attributes of the ranges in the DVSEC,PCIE_DEVICE" β that's exactly what the original gives us, so that's exactly what you get. no extra lore, i don't make the rules π
π SEE ALSO π
the kernel file is ./drivers/cxl/cxl.h β go read it, it's right there π§
and then the whole squad:
cxl objects(9)struct cxl_decoder(9)struct cxl_endpoint_decoder(9)struct cxl_switch_decoder(9)struct cxl_rd_ops(9)struct cxl_root_decoder(9)struct cxl_region_params(9)struct cxl_region(9)struct cxl_port(9)struct cxl_root(9)struct cxl_dport(9)struct cxl_ep(9)struct cxl_region_ref(9)
like that's a full friend group right there, all ate πβ¨
mwah π that's the whole page β brought to you by the folks over at ./drivers/cxl, dated October 2026, and honestly? iconic of them. go forth and cache your DVSEC info, bestie π«Άπ
π¦ 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