[PATCH v2 0/2] PCI/pwrctl: fixes for v6.11

From: Bartosz Golaszewski
Date: Mon Aug 19 2024 - 04:24:59 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Here are two fixes addressing issues with PCI pwrctl detected in some
corner-cases.

v1 -> v2:
- use the scoped variant of for_each_child_of_node() to fix a memory
leak in patch 1/2

Bartosz Golaszewski (2):
PCI: don't rely on of_platform_depopulate() for reused OF-nodes
PCI/pwrctl: put the bus rescan on a different thread

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

--
2.43.0