STRUCT CXL_ROOT_DECODER(9)
π NAME π
struct cxl_root_decoder β Static platform CXL address decoder. Okay so this is the struct cxl_root_decoder(9) page from the Kernel API Manual, and it's literally the root-decoder struct bestie, the static platform one, main character energy fr fr. π
πΈ SYNOPSIS πΈ
Here's the whole struct, copied exactly because we do not mess with source code, no cap:
struct cxl_root_decoder {
struct resource *res;
resource_size_t cache_size;
atomic_t region_id;
void *platform_data;
struct mutex regions_lock;
struct xarray regions;
bool dead;
int qos_class;
struct cxl_rd_ops ops;
struct cxl_switch_decoder cxlsd;
};
π Members π
Vibe check on every single member, in order, no skips:
resβ host / parent resource for region allocations. It's giving parent-energy, lowkey iconic. πcache_sizeβ extended linear cache size if exists, otherwise zero. So if it exists, slay; if not, zero. π«Άregion_idβ region id for next region provisioning event. That's the next-region-provisioning-event ID, periodt. β¨platform_dataβ platform specific configuration data. Platform-specific config data, iykyk. πregions_lockβ sync region discovery, construction, and deletion. It does the sync for region discovery, construction, and deletion. π₯regionsβ regions to remove at root decoder destruct time. These are the regions getting removed when the root decoder gets destructed. πdeadβ root decoder dead to region creation. Yes bestie, that's exactly what it says: root decoder dead to region creation. πqos_classβ QoS performance class cookie. QoS performance class cookie, no crumbs. πͺopsβ CXL root decoder operations. The CXL root decoder operations, obviously. πcxlsdβ base cxl switch decoder. Base cxl switch decoder, the foundation bestie. π§
π SEE ALSO π
Kernel file ./drivers/cxl/cxl.h β plus 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_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), struct cxl_endpoint_dvsec_info(9). Go read the friends too, bestie. π
okay bye bestie π«Ά β this page is sourced from ./drivers/cxl, dated October 2026, and it's the struct cxl_root_decoder(9) manual page. Mwah π
π¦ 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