cxl_decoder_add(9)
cxl_decoder_add(9) π
okay bestie, welcome to the Kernel API Manual entry for cxl_decoder_add(9) β yes, the (9) stays, we donβt erase the lore π
. This is the page about adding a decoder with targets, and itβs literally the unlocked sibling situation. π―
β¨ NAME β¨
cxl_decoder_add β add a decoder with targets. π
πΈ SYNOPSIS πΈ
int cxl_decoder_add (struct cxl_decoder *cxld );
π¦ ARGUMENTS π¦
cxldβ the cxl decoder allocated bycxl_<type>_decoder_alloc. Thatβs the decoder youβre bringing to the function, bestie π«Ά.
π DESCRIPTION π
So this is the unlocked variant of cxl_decoder_add_locked. Thatβs the whole tea ββ¨. For the actual details, see cxl_decoder_add_locked β this page is basically pointing you there with main-character energy π.
π₯ CONTEXT π₯
Process context. It takes and releases the device lock of the port that owns cxld. So yes, locking is part of the vibe, and itβs specifically the port that owns cxld doing the lock thing π
.
π SEE ALSO π
- Kernel file:
./drivers/cxl/core/port.c cxl core(9)devm_cxl_add_port(9)devm_cxl_add_dport(9)devm_cxl_add_rch_dport(9)cxl_add_ep(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_driver_register(9)cxl_endpoint_get_perf_coordinates(9)
source/version tea: ./drivers/cxl/core π date: October 2026 π page name: cxl_decoder_add(9) β and thatβs the sign-off, 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