Skip to content

Commit 668057b

Browse files
Ulf Hanssonrafaeljw
authored andcommitted
cpuidle: psci: Extend information in log about OSI/PC mode
It's useful to understand whether we are using OS-initiated (OSI) mode or Platform Coordinated (PC) mode, when initializing the CPU PM domains. Therefore, let's extend the print in the log after a successful probe with this information. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Sudeep Holla <sudeep.holla@arm.com Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 247f34f commit 668057b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/cpuidle/cpuidle-psci-domain.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ static int psci_cpuidle_domain_probe(struct platform_device *pdev)
181181
if (ret)
182182
goto remove_pd;
183183

184-
pr_info("Initialized CPU PM domain topology\n");
184+
pr_info("Initialized CPU PM domain topology using %s mode\n",
185+
use_osi ? "OSI" : "PC");
185186
return 0;
186187

187188
put_node:

0 commit comments

Comments
 (0)