android_kernel_sony_sdm845/drivers/pci
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bjorn Helgaas 3facf1adb9 PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
[ Upstream commit 7b38fd9760f51cc83d80eed2cfbde8b5ead9e93a ]

Except for Endpoints, we enable PTM at enumeration-time.  Previously we did
not account for the fact that Switch Downstream Ports are not permitted to
have a PTM capability; their PTM behavior is controlled by the Upstream
Port (PCIe r5.0, sec 7.9.16).  Since Downstream Ports don't have a PTM
capability, we did not mark them as "ptm_enabled", which meant that
pci_enable_ptm() on an Endpoint failed because there was no PTM path to it.

Mark Downstream Ports as "ptm_enabled" if their Upstream Port has PTM
enabled.

Fixes: eec097d431 ("PCI: Add pci_enable_ptm() for drivers to enable PTM on endpoints")
Reported-by: Aditya Paluri <Venkata.AdityaPaluri@synopsys.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:38:26 -04:00
..
host PCI: rcar: Fix incorrect programming of OB windows 2020-06-30 15:38:24 -04:00
hotplug PCI: rpadlpar: Fix leaked device_node references in add/remove paths 2019-06-22 08:17:16 +02:00
pcie PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port 2020-06-30 15:38:26 -04:00
access.c PCI: Avoid possible deadlock on pci_lock and p->pi_lock 2017-11-08 10:08:37 +01:00
ats.c
bus.c
ecam.c
host-bridge.c
hotplug-pci.c
htirq.c
iov.c PCI/IOV: Fix memory leak in pci_iov_add_virtfn() 2020-02-28 15:42:23 +01:00
irq.c
Kconfig
Makefile
msi.c PCI/MSI: Fix incorrect MSI-X masking on resume 2019-12-21 10:42:29 +01:00
of.c
pci-acpi.c ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle 2018-08-09 12:17:59 +02:00
pci-driver.c PCI: Restore config space on runtime resume despite being unbound 2018-05-30 07:50:46 +02:00
pci-label.c
pci-mid.c x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:19:34 +02:00
pci-stub.c
pci-sysfs.c PCI: sysfs: Ignore lockdep for remove attribute 2019-08-04 09:33:38 +02:00
pci.c PCI: PM: Fix pci_power_up() 2019-10-29 09:15:26 +01:00
pci.h
probe.c PCI: Program MPS for RCiEP devices 2020-06-20 10:24:20 +02:00
proc.c PCI: Only allow WC mmap on prefetchable resources 2017-05-25 15:44:47 +02:00
quirks.c PCI: Fix Intel ACS quirk UPDCR register address 2019-12-21 10:42:28 +01:00
remove.c PCI: Detach driver before procfs & sysfs teardown on device remove 2017-12-20 10:07:31 +01:00
rom.c
search.c
setup-bus.c PCI: Don't disable bridge BARs when assigning bus resources 2020-02-14 16:31:09 -05:00
setup-irq.c
setup-res.c PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant 2018-04-08 12:12:43 +02:00
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c