STRUCT CXL_ROOT_DECODER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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