Commit d9895571 authored by Lorenzo Pieralisi's avatar Lorenzo Pieralisi Committed by Will Deacon

ARM64: kernel: psci: let ACPI probe PSCI version

PSCI v0.2+ allows the kernel to probe the PSCI firmware version.

This patch replaces the default initialization of PSCI v0.2+
functions with code that allows probing PSCI firmware version
and initializes PSCI functions accordingly.

Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: default avatarHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 48eb3c8a
...@@ -439,9 +439,7 @@ int __init psci_acpi_init(void) ...@@ -439,9 +439,7 @@ int __init psci_acpi_init(void)
else else
invoke_psci_fn = __invoke_psci_fn_smc; invoke_psci_fn = __invoke_psci_fn_smc;
psci_0_2_set_functions(); return psci_probe();
return 0;
} }
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment