Skip to content

PCI/pwrctl: fixes for v6.11

Bartosz Golaszewski linux-pci lkml 3 versions – Applied

Status from this message: Applied to pci/for-linus for v6.11, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 10 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- 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()

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2PCI: don't rely on of_platform_depopulate() for reused OF-nodesdrivers/pci/remove.c+17 -16 replies
2/2PCI/pwrctl: put the bus rescan on a different threaddrivers/pci/pwrctl/core.c drivers/pci/pwrctl/pci-pwrctl-pwrseq.c include/linux/pci-pwrctl.h+27 -42 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchManivannan Sadhasivam
1/2A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] PCI/pwrctl: fixes for v6.11

From: Bartosz Golaszewski <[email protected]>

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(-)
Signature · 1 line
2.43.0