aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorYicong Yang <[email protected]>2020-03-13 17:53:47 +0800
committerBjorn Helgaas <[email protected]>2020-03-18 17:43:14 -0500
commit58a3862a10a317a81097ab0c78aecebabb1704f5 (patch)
treeb324cdaf0a1b4aeee268fb6d0ab6fc5f431ec5da /lib/mpi/mpi-bit.c
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff)
PCI/ASPM: Clear the correct bits when enabling L1 substates
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: aeda9adebab8 ("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+
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions