[GIT PULL] PCI fixes for v5.13

From: Bjorn Helgaas
Date: Fri Jun 18 2021 - 16:49:41 EST


The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git tags/pci-v5.13-fixes-2

for you to fetch changes up to f18139966d072dab8e4398c95ce955a9742e04f7:

PCI: aardvark: Fix kernel panic during PIO transfer (2021-06-18 10:32:35 -0500)


I rebased these this morning to add a tested-by. The commits
themselves have all been in linux-next, though not for as long
as I'd like.

----------------------------------------------------------------
PCI fixes:

- Clear 64-bit flag for host bridge windows below 4GB to fix a resource
allocation regression added in -rc1 (Punit Agrawal)

- Fix tegra194 MCFG quirk build regressions added in -rc1 (Jon Hunter)

- Avoid secondary bus resets on TI KeyStone C667X devices (Antti
Järvinen)

- Avoid secondary bus resets on some NVIDIA GPUs (Shanker Donthineni)

- Work around FLR erratum on Huawei Intelligent NIC VF (Chiqijun)

- Avoid broken ATS on AMD Navi14 GPU (Evan Quan)

- Trust Broadcom BCM57414 NIC to isolate functions even though it
doesn't advertise ACS support (Sriharsha Basavapatna)

- Work around AMD RS690 BIOSes that don't configure DMA above 4GB (Mikel
Rychliski)

- Fix panic during PIO transfer on Aardvark controller (Pali Rohár)

----------------------------------------------------------------
Antti Järvinen (1):
PCI: Mark TI C667X to avoid bus reset

Chiqijun (1):
PCI: Work around Huawei Intelligent NIC VF FLR erratum

Evan Quan (1):
PCI: Mark AMD Navi14 GPU ATS as broken

Jon Hunter (1):
PCI: tegra194: Fix MCFG quirk build regressions

Mikel Rychliski (1):
PCI: Add AMD RS690 quirk to enable 64-bit DMA

Pali Rohár (1):
PCI: aardvark: Fix kernel panic during PIO transfer

Punit Agrawal (1):
PCI: of: Clear 64-bit flag for non-prefetchable memory below 4GB

Shanker Donthineni (1):
PCI: Mark some NVIDIA GPUs to avoid bus reset

Sriharsha Basavapatna (1):
PCI: Add ACS quirk for Broadcom BCM57414 NIC

arch/x86/pci/fixup.c | 44 ++++++++
drivers/pci/controller/dwc/Makefile | 3 +-
drivers/pci/controller/dwc/pcie-tegra194-acpi.c | 108 +++++++++++++++++++
drivers/pci/controller/dwc/pcie-tegra194.c | 138 ++++--------------------
drivers/pci/controller/pci-aardvark.c | 49 +++++++--
drivers/pci/of.c | 2 +
drivers/pci/quirks.c | 93 +++++++++++++++-
7 files changed, 306 insertions(+), 131 deletions(-)
create mode 100644 drivers/pci/controller/dwc/pcie-tegra194-acpi.c