diff options
author | Steven Price <steven.price@arm.com> | 2019-10-21 16:28:21 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-10-21 19:20:30 +0100 |
commit | 541625ac47ce9d0835efaee0fcbaa251b0000a37 (patch) | |
tree | b8ca85ac37c9b620247bd9c56fc199bc8b0cb1ba /arch/arm64/kernel | |
parent | 58772e9a3db72d032eeb12bc011bc5184a3925f4 (diff) | |
download | linux-541625ac47ce9d0835efaee0fcbaa251b0000a37.tar.bz2 |
arm/arm64: Provide a wrapper for SMCCC 1.1 calls
SMCCC 1.1 calls may use either HVC or SMC depending on the PSCI
conduit. Rather than coding this in every call site, provide a macro
which uses the correct instruction. The macro also handles the case
where no conduit is configured/available returning a not supported error
in res, along with returning the conduit used for the call.
This allow us to remove some duplicated code and will be useful later
when adding paravirtualized time hypervisor calls.
Signed-off-by: Steven Price <steven.price@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions