Commit 41ff0c19 authored by David E. Box's avatar David E. Box Committed by Matthias Männich
Browse files

BACKPORT: PCI/ASPM: Move pci_configure_ltr() to aspm.c



The Latency Tolerance Reporting (LTR) mechanism supports the ASPM L1.2
state and is only configured when CONFIG_PCIEASPM is set.

Move pci_configure_ltr() and pci_bridge_reconfigure_ltr() into aspm.c since
they only build when CONFIG_PCIEASPM is set.  No functional change
intended.

Suggested-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20240128233212.1139663-2-david.e.box@linux.intel.com
[bhelgaas: commit log, split build change from function moves]
Link: https://lore.kernel.org/r/20240223205851.114931-2-helgaas@kernel.org


Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>

BUG: 371115070
Change-Id: Iba157969297de12b94d11df0f8ebf8313c941ce1
(cherry picked from commit fa84f443)
[sushrut: pci_bridge_reconfigure_ltr() doesn't exist, so ignoring
changes specific to that]
Signed-off-by: default avatarSushrut Shree Trivedi <quic_sushruts@quicinc.com>
parent fba4db88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment