* [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains
@ 2026-03-04 10:14 Ulf Hansson
2026-03-04 10:23 ` Cristian Marussi
2026-03-04 18:53 ` Sudeep Holla
0 siblings, 2 replies; 4+ messages in thread
From: Ulf Hansson @ 2026-03-04 10:14 UTC (permalink / raw)
To: Sudeep Holla, Cristian Marussi
Cc: Ulf Hansson, linux-pm, arm-scmi, linux-arm-kernel, linux-kernel
It can be discussed how useful a print is after a successful probe. In the
SCMI power domain case it's seems valuable, as it let us inform about the
number of initialized power domains too, which is fetched from firmware.
Therefore, let's add a print about this, which also aligns with the
behaviour of the SCMI perf domain driver.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
drivers/pmdomain/arm/scmi_pm_domain.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pmdomain/arm/scmi_pm_domain.c b/drivers/pmdomain/arm/scmi_pm_domain.c
index b5e2ffd5ea64..5454faed7d5d 100644
--- a/drivers/pmdomain/arm/scmi_pm_domain.c
+++ b/drivers/pmdomain/arm/scmi_pm_domain.c
@@ -113,6 +113,7 @@ static int scmi_pm_domain_probe(struct scmi_device *sdev)
goto err_rm_genpds;
dev_set_drvdata(dev, scmi_pd_data);
+ dev_info(dev, "Initialized %d power domains", num_domains);
return 0;
err_rm_genpds:
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains
2026-03-04 10:14 [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains Ulf Hansson
@ 2026-03-04 10:23 ` Cristian Marussi
2026-03-04 11:25 ` Ulf Hansson
2026-03-04 18:53 ` Sudeep Holla
1 sibling, 1 reply; 4+ messages in thread
From: Cristian Marussi @ 2026-03-04 10:23 UTC (permalink / raw)
To: Ulf Hansson
Cc: Sudeep Holla, Cristian Marussi, linux-pm, arm-scmi,
linux-arm-kernel, linux-kernel
On Wed, Mar 04, 2026 at 11:14:57AM +0100, Ulf Hansson wrote:
> It can be discussed how useful a print is after a successful probe. In the
> SCMI power domain case it's seems valuable, as it let us inform about the
> number of initialized power domains too, which is fetched from firmware.
Hi,
yes indeed we tend to print such 'summary' info at the end of a
successful probe in other SCMI drivers.
LGTM.
Review-by: Cristian Marussi <cristian.marussi@arm.com>
Thanks,
Cristian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains
2026-03-04 10:23 ` Cristian Marussi
@ 2026-03-04 11:25 ` Ulf Hansson
0 siblings, 0 replies; 4+ messages in thread
From: Ulf Hansson @ 2026-03-04 11:25 UTC (permalink / raw)
To: Cristian Marussi
Cc: Sudeep Holla, linux-pm, arm-scmi, linux-arm-kernel, linux-kernel
On Wed, 4 Mar 2026 at 11:24, Cristian Marussi <cristian.marussi@arm.com> wrote:
>
> On Wed, Mar 04, 2026 at 11:14:57AM +0100, Ulf Hansson wrote:
> > It can be discussed how useful a print is after a successful probe. In the
> > SCMI power domain case it's seems valuable, as it let us inform about the
> > number of initialized power domains too, which is fetched from firmware.
>
> Hi,
>
> yes indeed we tend to print such 'summary' info at the end of a
> successful probe in other SCMI drivers.
>
> LGTM.
> Review-by: Cristian Marussi <cristian.marussi@arm.com>
Thanks! I have queued this up for v7.1.
Kind regards
Uffe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains
2026-03-04 10:14 [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains Ulf Hansson
2026-03-04 10:23 ` Cristian Marussi
@ 2026-03-04 18:53 ` Sudeep Holla
1 sibling, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2026-03-04 18:53 UTC (permalink / raw)
To: Ulf Hansson
Cc: Cristian Marussi, linux-pm, arm-scmi, linux-arm-kernel,
Sudeep Holla, linux-kernel
On Wed, Mar 04, 2026 at 11:14:57AM +0100, Ulf Hansson wrote:
> It can be discussed how useful a print is after a successful probe. In the
> SCMI power domain case it's seems valuable, as it let us inform about the
> number of initialized power domains too, which is fetched from firmware.
>
> Therefore, let's add a print about this, which also aligns with the
> behaviour of the SCMI perf domain driver.
>
I always assumed it was already there as dev_debug() but I am wrong.
Acked-by: Sudeep Holla <sudeep.holla@kernel.org>
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-04 18:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04 10:14 [PATCH] pmdomain: arm: Add print after a successful probe for SCMI power domains Ulf Hansson
2026-03-04 10:23 ` Cristian Marussi
2026-03-04 11:25 ` Ulf Hansson
2026-03-04 18:53 ` Sudeep Holla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox