From: Ulf Hansson Date: Thu, 20 Oct 2022 11:55:13 +0000 (+0200) Subject: cpuidle: psci: Extend information in log about OSI/PC mode X-Git-Tag: v6.2-rc1~189^2~2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=668057b07db069daac3ca4e4978f8373db9cb71c;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Sudeep Holla Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c index 821984947ed9b..c80cf9ddabd8a 100644 --- a/drivers/cpuidle/cpuidle-psci-domain.c +++ b/drivers/cpuidle/cpuidle-psci-domain.c @@ -181,7 +181,8 @@ static int psci_cpuidle_domain_probe(struct platform_device *pdev) if (ret) goto remove_pd; - pr_info("Initialized CPU PM domain topology\n"); + pr_info("Initialized CPU PM domain topology using %s mode\n", + use_osi ? "OSI" : "PC"); return 0; put_node: