From: Maulik Shah <quic_mkshah@quicinc.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Ulf Hansson <ulf.hansson@linaro.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-pm@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>, <quic_lsrao@quicinc.com>,
Maulik Shah <quic_mkshah@quicinc.com>
Subject: [PATCH 2/2] cpuidle: psci: Update init level to core_initcall()
Date: Sat, 17 Feb 2024 19:27:08 +0530 [thread overview]
Message-ID: <20240217-init_level-v1-2-bde9e11f8317@quicinc.com> (raw)
In-Reply-To: <20240217-init_level-v1-0-bde9e11f8317@quicinc.com>
Clients like regulators, interconnects and clocks depend on rpmh-rsc to
vote on resources and rpmh-rsc depends on psci power-domains to complete
probe. All of them are in core_initcall().
Change psci domain init level to core_initcall() to avoid probe defer from
all of the above.
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
---
drivers/cpuidle/cpuidle-psci-domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c
index b88af1262f1a..3e5b1150f75b 100644
--- a/drivers/cpuidle/cpuidle-psci-domain.c
+++ b/drivers/cpuidle/cpuidle-psci-domain.c
@@ -200,4 +200,4 @@ static int __init psci_idle_init_domains(void)
{
return platform_driver_register(&psci_cpuidle_domain_driver);
}
-subsys_initcall(psci_idle_init_domains);
+core_initcall(psci_idle_init_domains);
--
2.22.0
next prev parent reply other threads:[~2024-02-17 13:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-17 13:57 [PATCH 0/2] Update init level for cmd-db, rpmh-rsc and psci cpuidle domains Maulik Shah
2024-02-17 13:57 ` [PATCH 1/2] soc: qcom: Update init level to core_initcall() for cmd-db and rpmh-rsc Maulik Shah
2024-02-28 15:40 ` Ulf Hansson
2024-04-04 11:06 ` Ulf Hansson
2024-02-17 13:57 ` Maulik Shah [this message]
2024-02-28 15:40 ` [PATCH 2/2] cpuidle: psci: Update init level to core_initcall() Ulf Hansson
2024-04-04 11:06 ` Ulf Hansson
2024-03-17 16:27 ` (subset) [PATCH 0/2] Update init level for cmd-db, rpmh-rsc and psci cpuidle domains Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240217-init_level-v1-2-bde9e11f8317@quicinc.com \
--to=quic_mkshah@quicinc.com \
--cc=andersson@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=quic_lsrao@quicinc.com \
--cc=rafael@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox