pci_enable_link_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to pci_enable_link_state(9) from the Kernel API Manual ✨. This function clears and sets the default device link state so that the link may be allowed to enter the specified states. Note that if the BIOS didn't grant ASPM control to the OS, this does nothing because we can't touch the LNKCTL register. πŸ™ˆ Also note that this does not enable states disabled by pci_disable_link_state(). It returns 0 or a negative errno. fr fr πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 ARGUMENTS 🌸

  • pdev β€” PCI device πŸ’»
  • state β€” Mask of ASPM link states to enable ✨

πŸŽ€ NOTE πŸŽ€

⚠️ okay bestie, important note: ensure devices are in D0 before enabling PCI-PM L1 PM Substates, per PCIe r6.0, sec 5.5.4. πŸ‘‘

🌈 SEE ALSO 🌈


mwah πŸ’‹ signed with love from ./drivers/pci/pcie, dated October 2026 β€” you just read the pci_enable_link_state(9) page. bye bestie, slay responsibly πŸ«ΆπŸ’–

πŸ“¦ where this page comes from