mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] SCMI Powercap zones processing fixes
@ 2026-11-15 11:05 Cristian Marussi
  2026-11-15 11:05 ` [PATCH 1/3] powercap: arm_scmi: Fix potential stale zones after a skipped leaf Cristian Marussi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Cristian Marussi @ 2026-11-15 11:05 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, linux-pm, arm-scmi
  Cc: sudeep.holla, philip.radford, Cristian Marussi

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-16 15:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15 11:05 [PATCH 0/3] SCMI Powercap zones processing fixes Cristian Marussi
2026-11-15 11:05 ` [PATCH 1/3] powercap: arm_scmi: Fix potential stale zones after a skipped leaf Cristian Marussi
2026-11-16 15:25   ` Sudeep Holla
2026-11-15 11:05 ` [PATCH 2/3] powercap: arm_scmi: Reject zones hierarchy containing cycles or holes Cristian Marussi
2026-11-16 15:26   ` Sudeep Holla
2026-11-15 11:05 ` [PATCH 3/3] powercap: arm_scmi: Refactor scmi_zones_register error path Cristian Marussi
2026-11-16 15:24   ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®