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

Bartosz Golaszewski posted 2 patches 1 year, 5 months ago
There is a newer version of this series
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(-)
[PATCH v2 0/2] PCI/pwrctl: fixes for v6.11
Posted by Bartosz Golaszewski 1 year, 5 months ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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
Re: [PATCH v2 0/2] PCI/pwrctl: fixes for v6.11
Posted by Bartosz Golaszewski 1 year, 5 months ago
On Mon, Aug 19, 2024 at 10:24 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> 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
>

Bjorn,

We found another issue that will require extending and modifying of
this series. Please disregard this iteration and I'll send a new
version shortly.

Bart