tb_domain_d...t_pcie_paths(9)
π tb_domain_disconnect_pcie_paths(9) β aka the "bye-bye PCIe paths" era π
okay so first things first, bestie: this little beauty lives in the Kernel API Manual (that's the manual name, noted β¨), and the page title is the gloriously truncated tb_domain_d...t_pcie_paths(9) β which is literally just tb_domain_disconnect_pcie_paths wearing a tiny tiny trenchcoat. iykyk π«Ά
πΈ NAME πΈ
tb_domain_disconnect_pcie_paths β the function that disconnects all the PCIe paths. like, all of them. every last one. no cap π
β¨ SYNOPSIS β¨
int tb_domain_disconnect_pcie_paths (struct tb *tb );
that's it. that's the whole vibe. one arg, one int, one mission π
π¦ ARGUMENTS π¦
tbβ the domain whose PCIe paths you're about to disconnect. like, hand her the domain and she'll yeet the paths for you. main character energy honestly π
π DESCRIPTION π
okay so listen. this function needs to be called in preparation for an NVM upgrade of the host controller. needs. it's not optional, it's not a vibe suggestion, it's a requirement, periodt π£οΈ
and what does she actually do? she makes sure all PCIe paths are disconnected. all of them. she is thorough. she is iconic. she does not leave a single path behind πβ¨
fr fr, think of it as the pre-NVM-upgrade ritual: clear the paths first, then do the upgrade. skipping this is giving chaos, not giving slay π
π₯ RETURN π₯
0on success β we love a clean victory π- a negative errno in case of error β because sometimes the universe says no π
π SEE ALSO π
kernel file ./drivers/thunderbolt/domain.c and honestly the whole thunderbolt friend group:
tb_domain_alloc(9)tb_domain_add(9)tb_domain_remove(9)tb_domain_suspend_noirq(9)tb_domain_resume_noirq(9)tb_domain_disapprove_switch(9)tb_domain_approve_switch(9)tb_domain_approve_switch_key(9)tb_domain_challenge_switch_key(9)tb_domain_approve_xdomain_paths(9)tb_domain_disconnect_xdomain_paths(9)tb_domain_disconnect_all_paths(9)
like, the whole squad π§π
okay that's the page!! it's sourced from ./drivers/thunderbolt, dated October 2026, and it's rocking tb_domain_d...t_pcie_paths(9) as its header β go forth and disconnect those paths, bestie, you got this π
πβ
π¦ 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