STRUCT CXL_ENDPOINT_DECODER(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… struct cxl_endpoint_decoder(9) โ€” Kernel API Manual ๐Ÿซถ

โœจ NAME โœจ

okay so bestie, this is the Kernel API Manual glow-up for struct cxl_endpoint_decoder โ€” literally the Endpoint / SPA to DPA decoder. That's the whole name, and yes it ate. ๐Ÿ’–

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

Here's the struct exactly as it shows up, no edits, no vibes-based changes:

       struct cxl_endpoint_decoder {
           struct cxl_decoder cxld;
           struct resource *dpa_res;
           resource_size_t skip;
           enum cxl_decoder_state state;
           int part;
           int pos;
        };

๐ŸŒธ Members ๐ŸŒธ

  • cxld โ€” base cxl_decoder_object, the foundation of the whole look โœจ
  • dpa_res โ€” actively claimed DPA span of this decoder, periodt
  • skip โ€” offset into dpa_res where cxld.hpa_range maps
  • state โ€” autodiscovery state, lowkey important
  • part โ€” partition index this decoder maps
  • pos โ€” interleave position in cxld.region

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

Kernel file ./drivers/cxl/cxl.h is right here, and the whole reference squad is:

  • cxl objects(9)
  • struct cxl_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)
  • struct cxl_endpoint_dvsec_info(9)

mwah ๐Ÿ’‹ โ€” source spot ./drivers/cxl, dated October 2026, and the page is struct cxl_endpoint_decoder(9). That's the sign-off, bestie ๐Ÿซถ

๐Ÿ“ฆ where this page comes from