diff options
| author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2015-03-24 13:58:53 -0400 |
|---|---|---|
| committer | Will Deacon <will.deacon@arm.com> | 2015-03-26 11:13:10 -0400 |
| commit | d9895571877e965a9f3e18a2a30611322099ae30 (patch) | |
| tree | 1738fc24eacf8b5467cad3d5c6626855025c1615 | |
| parent | 48eb3c8a8b4fffb48f64019e1f68a7de4db4cc43 (diff) | |
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: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
| -rw-r--r-- | arch/arm64/kernel/psci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm64/kernel/psci.c b/arch/arm64/kernel/psci.c index 2caac4498154..ea18cb53921e 100644 --- a/arch/arm64/kernel/psci.c +++ b/arch/arm64/kernel/psci.c | |||
| @@ -439,9 +439,7 @@ int __init psci_acpi_init(void) | |||
| 439 | else | 439 | else |
| 440 | invoke_psci_fn = __invoke_psci_fn_smc; | 440 | invoke_psci_fn = __invoke_psci_fn_smc; |
| 441 | 441 | ||
| 442 | psci_0_2_set_functions(); | 442 | return psci_probe(); |
| 443 | |||
| 444 | return 0; | ||
| 445 | } | 443 | } |
| 446 | 444 | ||
| 447 | #ifdef CONFIG_SMP | 445 | #ifdef CONFIG_SMP |
