mbox series

[0/2] Update init level for cmd-db, rpmh-rsc and psci cpuidle domains

Message ID 20240217-init_level-v1-0-bde9e11f8317@quicinc.com
Headers show
Series Update init level for cmd-db, rpmh-rsc and psci cpuidle domains | expand

Message

Maulik Shah (mkshah) Feb. 17, 2024, 1:57 p.m. UTC
cmd-db and rpmh-rsc are used by clients like regulators, interconnects and
clocks for resource voting. These clients are in core_initcall() while
cmd-db and rpmh-rsc are in arch_initcall(). Update init level for these
drivers also to core_initcall() to avoid unnecessary probe defer during
boot up.

Similarly psci cpuidle psci power domains are used by rpmh-rsc driver and
they are in subsys_initcall(). Update it to core_initcall().

Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
---
Maulik Shah (2):
      soc: qcom: Update init level to core_initcall() for cmd-db and rpmh-rsc
      cpuidle: psci: Update init level to core_initcall()

 drivers/cpuidle/cpuidle-psci-domain.c | 2 +-
 drivers/soc/qcom/cmd-db.c             | 2 +-
 drivers/soc/qcom/rpmh-rsc.c           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: d37e1e4c52bc60578969f391fb81f947c3e83118
change-id: 20240217-init_level-beb6d740d8d2

Best regards,

Comments

Bjorn Andersson March 17, 2024, 4:27 p.m. UTC | #1
On Sat, 17 Feb 2024 19:27:06 +0530, Maulik Shah wrote:
> cmd-db and rpmh-rsc are used by clients like regulators, interconnects and
> clocks for resource voting. These clients are in core_initcall() while
> cmd-db and rpmh-rsc are in arch_initcall(). Update init level for these
> drivers also to core_initcall() to avoid unnecessary probe defer during
> boot up.
> 
> Similarly psci cpuidle psci power domains are used by rpmh-rsc driver and
> they are in subsys_initcall(). Update it to core_initcall().
> 
> [...]

Applied, thanks!

[1/2] soc: qcom: Update init level to core_initcall() for cmd-db and rpmh-rsc
      commit: 15ec7c641dd3a33f4d7b7c0cc59369d87edcec5c

Best regards,