[PATCH 0/2] PCI/pwrctrl: A couple of fixes
From: Manivannan Sadhasivam via B4 Relay
Date: Tue Feb 17 2026 - 05:19:12 EST
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.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
---
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 is of type "pci"
drivers/pci/pwrctrl/core.c | 51 ++++++++++++++++++++++++++++++++++------------
1 file changed, 38 insertions(+), 13 deletions(-)
---
base-commit: 1c2b4a4c2bcb950f182eeeb33d94b565607608cf
change-id: 20260217-pwrctrl-fixes-7-0-b90eb30bbfe7
Best regards,
--
Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>