PCI/pwrctrl: A couple of fixes
Status from this message: Applied to pci/for-linus for v7.0, thanks!
Get series with b4
b4 am [email protected] change-id 20260217-pwrctrl-fixes-7-0-b90eb30bbfe7Versions newest first
- v2 Latest2 patches 1 replyApplied
- v12 patches 13 repliesSuperseded
Changes in v2 from the cover letter
- Used the compatible match for detecting the PCI devices in DT
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PCI/pwrctrl: Ensure that the remote endpoint node parent has the supply requirementdrivers/ | +34 | 0 replies | |
| 2/2 | PCI/pwrctrl: Only create pwrctrl device if the device node belongs to a PCI devicedrivers/ | +9 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Raj Kumar Bhagat | Krishna Chaitanya Chundru | Bartosz Golaszewski |
|---|---|---|---|
| 1/2 | T-b | R-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/2] PCI/pwrctrl: A couple of fixes
Hi,
This series fixes a couple of issues introduced in the recent pwrctrl rework for v7.0. Both issues are due to some incorrect assumptions on deciding when to create pwrctrl devices. First issue is due to assuming that all OF graph nodes require pwrctrl and another one is due to assuming that all PCI child nodes are PCI devices.
Both issues are fixed by changing the pwrctrl device creation logic in pwrctrl/core.
Testing
=======
This series is tested on Lenovo Thinkpad T14s.
Note for Bjorn H
================
Even though only patch 1 is fixing a regression on the IPQ board which was not part of the testbed of the pwrctrl rework went in for v7.0, patch 2 is also fixing an actual issue, but it is not impacting any of the current upstream supported platforms. But I'd like to get these two patches merged for v7.0 so that both the issues are fixed in the same major release where the issues originated.
---
Changes in v2:
- Used the compatible match for detecting the PCI devices in DT
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Manivannan Sadhasivam (2):
PCI/pwrctrl: Ensure that the remote endpoint node parent has the supply requirement PCI/pwrctrl: Only create pwrctrl device if the device node belongs to a PCI device
drivers/pci/pwrctrl/core.c | 54 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 13 deletions(-)
---
base-commit: 1c2b4a4c2bcb950f182eeeb33d94b565607608cf
change-id: 20260217-pwrctrl-fixes-7-0-b90eb30bbfe7
Best regards,
Signature · 1 line
Manivannan Sadhasivam <[email protected]>