[PATCH RESEND 1/2] pmdomain: arm_scmi: Skip domains that fail initialization

Sudeep Holla sudeep.holla at kernel.org
Thu Dec 3 03:04:32 PST 2026


On Wed, Nov 11, 2026 at 12:11:06PM +0000, Sudeep Holla wrote:
> On Mon, Nov 09, 2026 at 03:53:31PM +0000, Sudeep Holla wrote:
> > pm_genpd_init() can fail while allocating generic power-domain state.
> > The SCMI driver ignores that error and stores the partially initialized
> > domain in the onecell array. Provider registration then fails because that
> > domain was never added to the global genpd list.
> > 
> > Preserve support for partially available SCMI power domains. Log the
> > failure and leave the corresponding onecell entry NULL so the other
> > initialized domains remain available. Explicitly skip empty slots when
> > unwinding provider registration failures.
> > 
> > Fixes: 898216c97ed2 ("firmware: arm_scmi: add device power domain support using genpd")
> > Signed-off-by: Sudeep Holla <sudeep.holla at kernel.org>
> > ---
> >  drivers/pmdomain/arm/scmi_pm_domain.c | 14 +++++++++++---
> >  1 file changed, 11 insertions(+), 3 deletions(-)
> > 
> > Resending
> > https://lore.kernel.org/all/20260923101608.4180057-1-sudeep.holla@kernel.org/
> > 
> 
> Hi Ulf,
> 
> Gentle ping, not sure if it is landing somewhere else in you mailbox,
> just putting your address in To: now and trying.
> 

Another ping!

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list