summaryrefslogtreecommitdiff
path: root/include/linux/tracehook.h
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2020-03-13 17:53:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-17 10:48:46 +0200
commita73afecb4178283b7a0c104adb8297322da63cd6 (patch)
treeb8c77cef5fd0ae49cdae2691f5ca033f8af4edda /include/linux/tracehook.h
parent1ada617e3627ddc734b3bda5576552c815d9014f (diff)
PCI/ASPM: Clear the correct bits when enabling L1 substates
commit 58a3862a10a317a81097ab0c78aecebabb1704f5 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: aeda9adebab8 ("PCI/ASPM: Configure L1 substate settings") Link: https://lore.kernel.org/r/1584093227-1292-1-git-send-email-yangyicong@hisilicon.com Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: stable@vger.kernel.org # v4.11+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tracehook.h')
0 files changed, 0 insertions, 0 deletions