diff options
author | Ajay Agarwal <ajayagarwal@google.com> | 2023-05-04 13:12:59 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-05-19 17:26:49 +0200 |
commit | 80950a546089690ff6f02ca15930b9be695a668a (patch) | |
tree | 0fbca750e6c95efd4f50b69bac6f0738b19070db /drivers/cpuidle | |
parent | PCI/ASPM: Set only ASPM_STATE_L1 when driver enables L1 (diff) | |
download | linux-80950a546089690ff6f02ca15930b9be695a668a.tar.xz linux-80950a546089690ff6f02ca15930b9be695a668a.zip |
PCI/ASPM: Set ASPM_STATE_L1 when driver enables L1.1 or L1.2
Previously pci_enable_link_state(PCIE_LINK_STATE_L1_1) enabled only
ASPM_STATE_L1_1 and did not enable ASPM_STATE_L1. The L1.1 state only
works when L1 is enabled, so enable ASPM_STATE_L1 in addition, and do the
same for L1.2.
The only current caller is vmd_pm_enable_quirk(), which enables *all* ASPM
states, so this should have no functional effect.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20230504111301.229358-4-ajayagarwal@google.com
Signed-off-by: Ajay Agarwal <ajayagarwal@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions