PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 5 May 2020 17:34:21 +0000 (01:34 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 May 2020 21:39:44 +0000 (16:39 -0500)
commit66ff14e59e8a30690755b08bc3042359703fb07a
treec8cdf508573002279c8a5406e0eb2b02665d7c0f
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges

7d715a6c1ae5 ("PCI: add PCI Express ASPM support") added the ability for
Linux to enable ASPM, but for some undocumented reason, it didn't enable
ASPM on links where the downstream component is a PCIe-to-PCI/PCI-X Bridge.

Remove this exclusion so we can enable ASPM on these links.

The Dell OptiPlex 7080 mentioned in the bugzilla has a TI XIO2001
PCIe-to-PCI Bridge.  Enabling ASPM on the link leading to it allows the
Intel SoC to enter deeper Package C-states, which is a significant power
savings.

[bhelgaas: commit log]
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=207571
Link: https://lore.kernel.org/r/20200505173423.26968-1-kai.heng.feng@canonical.com
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/pcie/aspm.c