OpenCloudOS-Kernel/drivers/pci/pcie
Bjorn Helgaas 08e869ee16 PCI/ASPM: Move LTR path check to where it's used
pcie_get_aspm_reg() mostly reads ASPM-related registers, but in some cases
it also updates the value read from PCI_L1SS_CAP based on LTR properties.

Move this update to the point where the value is used to make the code more
readable.

No functional change intended, although previously we could clear
PCI_L1SS_CAP_ASPM_L1_2 for both ends of the link, and now we'll only do it
for the downstream end of a link.  This shouldn't matter because we always
test that bit by ANDing l1ss_cap for the upstream and downstream ends.

Link: https://lore.kernel.org/r/20201015193039.12585-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2020-10-16 11:20:48 -05:00
..
Kconfig PCI: Replace http:// links with https:// 2020-06-30 13:05:09 -05:00
Makefile PCI/DPC: Add Error Disconnect Recover (EDR) support 2020-03-28 13:19:04 -05:00
aer.c pci-v5.9-changes 2020-08-07 18:48:15 -07:00
aer_inject.c PCI: Replace http:// links with https:// 2020-06-30 13:05:09 -05:00
aspm.c PCI/ASPM: Move LTR path check to where it's used 2020-10-16 11:20:48 -05:00
bw_notification.c pci-v5.2-changes 2019-05-14 10:30:10 -07:00
dpc.c PCI/DPC: Print IRQ number used by port 2020-06-01 12:03:22 -05:00
edr.c PCI/EDR: Log only ACPI_NOTIFY_DISCONNECT_RECOVER events 2020-04-24 18:33:29 -05:00
err.c PCI/ERR: Clear PCIe Device Status errors only if OS owns AER 2020-07-22 15:41:03 -05:00
pme.c PCI/PME: Fix kernel-doc of pcie_pme_resume() and pcie_pme_remove() 2020-05-21 15:04:45 -05:00
portdrv.h PCI/AER: Remove HEST/FIRMWARE_FIRST parsing for AER ownership 2020-06-01 12:02:29 -05:00
portdrv_core.c PCI/ERR: Remove service dependency in pcie_do_recovery() 2020-03-28 13:18:54 -05:00
portdrv_pci.c PCI: Use 'pci_channel_state_t' instead of 'enum pci_channel_state' 2020-07-07 17:11:52 -05:00
ptm.c PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port 2020-05-21 15:53:07 -05:00