pci_host_com..._train_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_host_com..._train_delay(9)

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function with a big job and honestly? it ate. let's get into it πŸŽ€


✨ NAME ✨

pci_host_common_link_train_delay β€” literally just: wait 100 ms if link speed > 5 GT/s πŸ• no cap, that's the whole gig.


🌸 SYNOPSIS 🌸

void pci_host_common_link_train_delay (int max_link_speed );

that's it. that's the girl. one int in, void out, zero drama πŸ’œ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • max_link_speed β€” the maximum link speed, periodt. the numbers go like this: 2 = 5.0 GT/s, 3 = 8.0 GT/s, and then ... because the list keeps going and we're not gonna sit here reciting all of them πŸ™ˆ

⭐ DESCRIPTION ⭐

okay this is the important part so pay attention bestie πŸ‘‘

you must call this after Link training completes, and before the first Configuration Request is sent. that's the rule. that's the vibe check. if you call it at the wrong time it's giving chaos 😭

fr fr, the ordering here is not a suggestion β€” it's the whole point of the function existing.

🫢 SEE ALSO 🫢

  • Kernel file ./drivers/pci/controller/pci-host-common.h β€” struct pci_host_perst(9), struct pci_host_port(9) 🧚

slay, you made it to the end!! mwah πŸ’– this little page lives in ./drivers/pci/controller and it's dated October 2026 β€” go forth and train those links, icon πŸŽ€βœ¨

πŸ“¦ where this page comes from