Skip to contentSkip to conversation

PCI fixes for v6.11

GIT PULL Merged Bjorn Helgaas 2 participants 2 messages Sep 6, 2024 – Sep 7, 2024 PCI

lore
Share & tools
lore
#0 lore raw

The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git pci-v6.11-fixes-3

for you to fetch changes up to 8f62819aaace77dd85037ae766eb767f8c4417ce:

PCI/pwrctl: Rescan bus on a separate thread (2024-09-03 17:11:05 -0500)

These are fixes to commits merged during the v6.11 merge window.
----------------------------------------------------------------
- Unregister platform devices for child nodes when stopping a PCI device, even if the PCI core has already cleared the OF_POPULATED bit and of_platform_depopulate() doesn't do anything (Bartosz Golaszewski)

- Rescan the bus from a separate thread so we don't deadlock when triggering rescan from sysfs (Bartosz Golaszewski)

----------------------------------------------------------------
Bartosz Golaszewski (2):
PCI: Don't rely on of_platform_depopulate() for reused OF-nodes PCI/pwrctl: Rescan bus on a separate thread

 drivers/pci/pwrctl/core.c              | 26 +++++++++++++++++++++++---
 drivers/pci/pwrctl/pci-pwrctl-pwrseq.c |  2 +-
 drivers/pci/remove.c                   | 18 +++++++++++++++++-
 include/linux/pci-pwrctl.h             |  3 +++
 4 files changed, 44 insertions(+), 5 deletions(-)