[GIT PULL] PCI fixes for v6.7

From: Bjorn Helgaas
Date: Fri Dec 15 2023 - 16:11:48 EST


The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git tags/pci-v6.7-fixes-1

for you to fetch changes up to 5df12742b7e3aae2594a30a9d14d5d6e9e7699f4:

Revert "PCI: acpiphp: Reassign resources on bridge if necessary" (2023-12-15 14:55:10 -0600)

----------------------------------------------------------------
- Limit Max_Read_Request_Size (MRRS) on some MIPS Loongson systems because
they don't all support MRRS > 256, and firmware doesn't always initialize
it correctly, which meant some PCIe devices didn't work (Jiaxun Yang)

- Add and use pci_enable_link_state_locked() to prevent potential deadlocks
in vmd and qcom drivers (Johan Hovold)

- Revert recent (v6.5) acpiphp resource assignment changes that fixed
issues with hot-adding devices on a root bus or with large BARs, but
introduced new issues with GPU initialization and hot-adding SCSI disks
in QEMU VMs and (Bjorn Helgaas)

----------------------------------------------------------------
Bjorn Helgaas (1):
Revert "PCI: acpiphp: Reassign resources on bridge if necessary"

Jiaxun Yang (1):
PCI: loongson: Limit MRRS to 256

Johan Hovold (6):
PCI/ASPM: Add pci_enable_link_state_locked()
PCI: vmd: Fix potential deadlock when enabling ASPM
PCI: qcom: Fix potential deadlock when enabling ASPM
PCI: qcom: Clean up ASPM comment
PCI/ASPM: Clean up __pci_disable_link_state() 'sem' parameter
PCI/ASPM: Add pci_disable_link_state_locked() lockdep assert

drivers/pci/controller/dwc/pcie-qcom.c | 7 ++--
drivers/pci/controller/pci-loongson.c | 46 +++++++++++++++++++++---
drivers/pci/controller/vmd.c | 2 +-
drivers/pci/hotplug/acpiphp_glue.c | 9 ++---
drivers/pci/pcie/aspm.c | 65 ++++++++++++++++++++++++----------
include/linux/pci.h | 3 ++
6 files changed, 100 insertions(+), 32 deletions(-)