On Fri, Aug 23, 2024 at 11:33:21AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > Bjorn, > > Here's a respin of the PCI/pwrctl fixes that should go into v6.11. I > eventually found a solution that doesn't require Krishna's topology > change but Krishna: please make sure to update the code in > drivers/pci/remove.c as well when rebasing your work once this gets > upstream. > > v2 -> v3: > - use the correct device for unregistering the platform pwrctl device in > patch 1/2 > - make patch 1/2 easier to read by using device_for_each_child() > > 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 | 18 +++++++++++++++++- > include/linux/pci-pwrctl.h | 3 +++ > 4 files changed, 44 insertions(+), 5 deletions(-) Applied to pci/for-linus for v6.11, thanks.