cpuidle: psci: Extend information in log about OSI/PC mode
PATCH 1/1 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.
--- drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/cpuidle/cpuidle-psci-domain.c +2 -1
@@ -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:
Signature · 1 line
2.34.1
Quoted 5 lines · Ulf Hansson
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.
Looks good to me.
Signature · 7 lines
Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 9 lines · Ulf Hansson
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 <[email protected]>--- drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 8 lines
With best wishes Dmitry _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Rafael J. Wysocki
maintainerQuoted 16 lines · Ulf Hansson
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 <[email protected]>--- drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/cpuidle/cpuidle-psci-domain.c +0
-0
drivers/cpuidle/cpuidle-psci-domain.c static int psci_cpuidle_domain_probe(struct platform_device *pdev)
Quoted 10 lines
drivers/cpuidle/cpuidle-psci-domain.c +2
-2@@ -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: --
Am I expected to pick up this one?
Quoted 26 lines · Rafael J. Wysocki
Quoted 24 lines · Ulf Hansson
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 <[email protected]>--- drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/cpuidle/cpuidle-psci-domain.c +2
-1@@ -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 ;
Quoted 4 lines
drivers/cpuidle/cpuidle-psci-domain.c static int psci_cpuidle_domain_probe(struct platform_device *pdev)
Quoted 2 lines
drivers/cpuidle/cpuidle-psci-domain.c +0
-1put_node: --Am I expected to pick up this one?
Yes, please!
Kind regards
Uffe
Rafael J. Wysocki
maintainerQuoted 28 lines · Ulf Hansson
Quoted 26 lines · Rafael J. Wysocki
Quoted 24 lines · Ulf Hansson
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 <[email protected]>--- drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/cpuidle/cpuidle-psci-domain.c +2
-1@@ -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 ;
Quoted 6 lines
Quoted 4 lines
drivers/cpuidle/cpuidle-psci-domain.c static int psci_cpuidle_domain_probe(struct platform_device *pdev)
Quoted 2 lines
drivers/cpuidle/cpuidle-psci-domain.c +0
-1put_node: --Am I expected to pick up this one?
Yes, please!
Done, thanks!