android_kernel_oneplus_msm8998/drivers/pci
Ley Foon Tan bb1de61e06 PCI: altera: Move retrain from fixup to altera_pcie_host_init()
commit ce4f1c7ad490aa7129bde5632d6e53943f8a866c upstream.

Previously we used a PCI early fixup to initiate a link retrain on Altera
devices.  But Altera PCIe IP can be configured as either a Root Port or an
Endpoint, and they might have same vendor ID, so the fixup would be run for
both.

We only want to initiate a link retrain for Altera Root Port devices, not
for Endpoints, so move the link retrain functionality from the fixup to
altera_pcie_host_init().

[bhelgaas: changelog]
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Claudius Heine <claudius.heine.ext@siemens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-16 22:16:11 +01:00
..
host PCI: altera: Move retrain from fixup to altera_pcie_host_init() 2019-01-16 22:16:11 +01:00
hotplug PCI: pciehp: Fix use-after-free on unplug 2018-08-24 13:27:01 +02:00
pcie PCI/AER: Report non-fatal errors only to the affected endpoint 2017-12-25 14:22:15 +01:00
access.c
ats.c
bus.c
host-bridge.c
hotplug-pci.c
htirq.c
iov.c PCI: Create SR-IOV virtfn/physfn links before attaching driver 2017-12-25 14:22:14 +01:00
irq.c
Kconfig
Makefile
msi.c
of.c
pci-acpi.c ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle 2018-08-09 12:19:28 +02:00
pci-driver.c PCI: Restore config space on runtime resume despite being unbound 2018-05-30 07:49:12 +02:00
pci-label.c
pci-stub.c
pci-sysfs.c PCI: Prevent sysfs disable of device while driver is attached 2018-08-06 16:24:33 +02:00
pci.c PCI: Reprogram bridge prefetch registers on resume 2018-10-13 09:11:32 +02:00
pci.h
probe.c PCI: Skip MPS logic for Virtual Functions (VFs) 2018-08-24 13:27:01 +02:00
proc.c
quirks.c PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk 2018-11-21 09:27:34 +01:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant 2018-04-08 11:51:57 +02:00
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c