From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D04421170E for ; Mon, 21 Aug 2023 19:50:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51969C433C8; Mon, 21 Aug 2023 19:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1692647454; bh=J2x+K3tuP85tZhJOouF4o1oCfodGS6jjxGqv6KArtHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wyCDYMw3US/qXvQ4scOBiJqxsSaZ3zYtnjkBMlIPzWsnvniyQf/1PwbbA1jKomJfb itnzfPFYu7Qyyto9ifBPyzRUtHXiUzd5lRNeD8WaPbEPbJlXPyqKYSZ4ENjzCfoVOa XeAni1chfvjQZap7QGrya/ZEXqo91oRHt8iugSQ8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ulf Hansson , Dmitry Baryshkov , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.1 002/194] cpuidle: psci: Extend information in log about OSI/PC mode Date: Mon, 21 Aug 2023 21:39:41 +0200 Message-ID: <20230821194122.799274711@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230821194122.695845670@linuxfoundation.org> References: <20230821194122.695845670@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Ulf Hansson [ 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 Acked-by: Sudeep Holla Signed-off-by: Rafael J. Wysocki Stable-dep-of: 12acb348fa45 ("cpuidle: psci: Move enabling OSI mode after power domains creation") Signed-off-by: Sasha Levin --- drivers/cpuidle/cpuidle-psci-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.40.1