arm/arm64: Make use of the SMCCC 1.1 wrapper
authorSteven Price <steven.price@arm.com>
Mon, 21 Oct 2019 15:28:22 +0000 (16:28 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 21 Oct 2019 18:20:30 +0000 (19:20 +0100)
commitce4d5ca2b9dd5d85944eb93c1bbf9eb11b7a907d
treee1dfb8f2fcf30c5d0816ba9836ffb2be3112cd5f
parent541625ac47ce9d0835efaee0fcbaa251b0000a37
arm/arm64: Make use of the SMCCC 1.1 wrapper

Rather than directly choosing which function to use based on
psci_ops.conduit, use the new arm_smccc_1_1 wrapper instead.

In some cases we still need to do some operations based on the
conduit, but the code duplication is removed.

No functional change.

Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm/mm/proc-v7-bugs.c
arch/arm64/kernel/cpu_errata.c