History

PCI/ASPM: Add L1 PM substate support to pci_disable_link_state()

Add support for disabling states L1.1 and L1.2 to pci_disable_link_state(). Allow separate control of ASPM and PCI PM L1 substates.

Heiner Kallweit committed 7 years ago

Commit aff5d051 parent 5e0c21c2 files · +17 −4Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/pci.h+7−3
@@ -1544,9 +1544,13 @@ extern bool pcie_ports_native; · 1543 unmodified lines
1544#define pcie_ports_native false1544#define pcie_ports_native false
1545#endif1545#endif
1546 1546
1547#define PCIE_LINK_STATE_L0S 11547#define PCIE_LINK_STATE_L0S BIT(0)
1548#define PCIE_LINK_STATE_L1 21548#define PCIE_LINK_STATE_L1 BIT(1)
1549#define PCIE_LINK_STATE_CLKPM 41549#define PCIE_LINK_STATE_CLKPM BIT(2)
1550#define PCIE_LINK_STATE_L1_1 BIT(3)
1551#define PCIE_LINK_STATE_L1_2 BIT(4)
1552#define PCIE_LINK_STATE_L1_1_PCIPM BIT(5)
1553#define PCIE_LINK_STATE_L1_2_PCIPM BIT(6)
1550 1554
1551#ifdef CONFIG_PCIEASPM1555#ifdef CONFIG_PCIEASPM
1552int pci_disable_link_state(struct pci_dev *pdev, int state);1556int pci_disable_link_state(struct pci_dev *pdev, int state);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t