pci_disable_link_state(9)

📦 version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the pci_disable_link_state(9) page from the Kernel API Manual 💅 — this one is all about disabling a device's link state, so the link will never enter specific states. No cap.

Quick reality check, though: if the BIOS didn't grant ASPM control to the OS, this does nothing because we can't touch the LNKCTL register 🙈. It returns 0 or a negative errno.


🌸 SYNOPSIS 🌸

int pci_disable_link_state (struct pci_dev *pdev , int state );

🎀 ARGUMENTS 🎀

  • pdev — PCI device 🫶
  • state — ASPM link state to disable ✨

🦋 SEE ALSO 🦋


🫶 cute lil sign-off: this page is from ./drivers/pci/pcie, dated October 2026, and it's giving very pci_disable_link_state(9) / Kernel API Manual energy — we folded the header situation in up top, so no need to copy-paste it down here, periodt 💖✨

📦 where this page comes from