[v10,25/27] arm64: kernel: Respect the hierarchical CPU topology in DT for PSCI
diff mbox series

Message ID 20181129174700.16585-26-ulf.hansson@linaro.org
State Deferred
Headers show
  • PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)
Related show

Commit Message

Ulf Hansson Nov. 29, 2018, 5:46 p.m. UTC
To let the PSCI driver parse for the hierarchical CPU topology in DT and
thus potentially initiate the corresponding PM domain data structures,
let's call psci_dt_topology_init() from the existing topology_init()

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Lina Iyer <ilina@codeaurora.org>
Co-developed-by: Lina Iyer <lina.iyer@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

Changes in v10:
	- None.

 arch/arm64/kernel/setup.c | 3 +++
 1 file changed, 3 insertions(+)

diff mbox series

diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index f4fc1e0544b7..4d59a72f8b0b 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -364,6 +364,9 @@  static int __init topology_init(void)
 	int i;
+	if (acpi_disabled)
+		psci_dt_topology_init();