cxl_add_ep(9)
β¨ cxl_add_ep π
okay so bestie, welcome to the cxl_add_ep(9) page β this is a Kernel API Manual moment, and honestly it's a short one but it matters π
πΈ NAME πΈ
cxl_add_ep β register an endpoint's interest in a port π
β¨ SYNOPSIS β¨
int cxl_add_ep (struct cxl_dport *dport , struct device *ep_dev );
π¦ ARGUMENTS π¦
dportβ the dport that routes toep_devπ£οΈ like this is the port doing the routing, okurrrep_devβ device representing the endpoint π literally the endpoint in device form
π DESCRIPTION π
so here's the tea β β intermediate CXL ports get scanned based on the arrival of endpoints. yes, arrival, like they're showing up to the function π
and when those endpoints depart? the port can be destroyed once all the endpoints that care about that port have been removed π it's giving "you can leave once everyone who loves you is gone" ngl. main character port energy fr fr π«Ά
π SEE ALSO π
Kernel file ./drivers/cxl/core/port.c β plus the whole friend group, iykyk:
cxl core(9)devm_cxl_add_port(9)devm_cxl_add_dport(9)devm_cxl_add_rch_dport(9)find_cxl_port_by_dport(9)find_cxl_port_by_uport(9)cxl_decoder_init(9)cxl_root_decoder_alloc(9)cxl_switch_decoder_alloc(9)cxl_endpoint_decoder_alloc(9)cxl_decoder_add_locked(9)cxl_decoder_add(9)__cxl_driver_register(9)cxl_endpoint_get_perf_coordinates(9)
π
reminder: this page lives under ./drivers/cxl/core β that's the address, bestie, don't lose it
and that's the whole page, periodt π§β¨ slay β this one came from the ./drivers/cxl/core source, dated October 2026, and it's the cxl_add_ep(9) 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