Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI/ASPM: Clear the correct bits when enabling L1 substates
commit 58a3862 upstream. In pcie_config_aspm_l1ss(), we cleared the wrong bits when enabling ASPM L1 Substates. Instead of the L1.x enable bits (PCI_L1SS_CTL1_L1SS_MASK, 0xf), we cleared the Link Activation Interrupt Enable bit (PCI_L1SS_CAP_L1_PM_SS, 0x10). Clear the L1.x enable bits before writing the new L1.x configuration. [bhelgaas: changelog] Fixes: aeda9ad ("PCI/ASPM: Configure L1 substate settings") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yicong Yang <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: [email protected] # v4.11+ Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information