Patch "cpuidle: psci: Extend information in log about OSI/PC mode" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    cpuidle: psci: Extend information in log about OSI/PC mode

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     cpuidle-psci-extend-information-in-log-about-osi-pc-.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit dac8ee766e0113aec850058632007ff2ed7cf09b
Author: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
Date:   Thu Oct 20 13:55:13 2022 +0200

    cpuidle: psci: Extend information in log about OSI/PC mode
    
    [ Upstream commit 668057b07db069daac3ca4e4978f8373db9cb71c ]
    
    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@xxxxxxxxxx>
    Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx
    Acked-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    Stable-dep-of: 12acb348fa45 ("cpuidle: psci: Move enabling OSI mode after power domains creation")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c
index fe06644725203..1fca250d5dece 100644
--- a/drivers/cpuidle/cpuidle-psci-domain.c
+++ b/drivers/cpuidle/cpuidle-psci-domain.c
@@ -182,7 +182,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:



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux