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
15441544 #define pcie_ports_native false
15451545 #endif
15461546
1547−#define PCIE_LINK_STATE_L0S 1
1548−#define PCIE_LINK_STATE_L1 2
1549−#define PCIE_LINK_STATE_CLKPM 4
1547+#define PCIE_LINK_STATE_L0S BIT(0)
1548+#define PCIE_LINK_STATE_L1 BIT(1)
1549+#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)
15501554
15511555 #ifdef CONFIG_PCIEASPM
15521556 int 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