[PATCH 0/3] SCMI Powercap zones processing fixes

Cristian Marussi cristian.marussi at arm.com
Sun Nov 15 03:05:43 PST 2026


Hi,

A tiny series of fixes around SCMI Powercap hierarchy-scanning logic to
address a number of issues reported by Sashiko.

Patch 1/2 is really a repost to an alreday reviewed fix, included here
simply to avoid conflicts.

Patch 2/3 provides the fixes around the logic used by the SCMI Powercap
driver to validate the hierarchy of zones provided by the SCMI platform
firmware: these are applied first to the original code to ease
backporting.

Patch 3/3 simplifies the code above by refactoring using cleanup handlers.

Based on v7.4-rc2.

Thanks,
Cristian

Cristian Marussi (2):
  powercap: arm_scmi: Reject zones hierarchy containing cycles or holes
  powercap: arm_scmi: Refactor scmi_zones_register error path

Guangshuo Li (1):
  powercap: arm_scmi: Fix potential stale zones after a skipped leaf

 drivers/powercap/arm_scmi_powercap.c | 42 +++++++++++++++++++---------
 1 file changed, 29 insertions(+), 13 deletions(-)

-- 
2.54.0




More information about the linux-arm-kernel mailing list