pci_enable_link_state(9)
π 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 π
- Kernel file:
./drivers/pci/pcie/aspm.cπ pcie_encode_t_power_on(9)pci_disable_link_state(9)pci_enable_link_state_locked(9)pcie_aspm_enabled(9)
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
- 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