From 65705b18162bbf0771adf742ee528521957fb496 Mon Sep 17 00:00:00 2001 From: Ulf Hansson Date: Mon, 14 Sep 2026 17:01:41 +0200 Subject: [PATCH] cpuidle: psci: Move initialization a bit earlier in the boot sequence When using PSCI OS-initiated mode along with the cpuidle-psci-domain driver it's of great benefit to attach the CPU devices to their CPU PM domains as soon as possible, as other non-CPU devices sharing the same PM domains depends on it to allow their devices to be probed. Let's therefore move to a subsys_initcall, which should be soon enough after the cpuidle-psci-domain have initialized the PM domain topology. Reviewed-by: Abel Vesa Tested-by: Yuanfang Zhang Signed-off-by: Ulf Hansson Reviewed-by: Dhruva Gole Signed-off-by: Ulf Hansson --- drivers/cpuidle/cpuidle-psci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-psci.c b/drivers/cpuidle/cpuidle-psci.c index b250d0dde760..0187d6a9096a 100644 --- a/drivers/cpuidle/cpuidle-psci.c +++ b/drivers/cpuidle/cpuidle-psci.c @@ -479,4 +479,4 @@ static int __init psci_idle_init(void) return 0; } -device_initcall(psci_idle_init); +subsys_initcall(psci_idle_init);