summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mmp/mfp-pxa910.h
diff options
context:
space:
mode:
authorSteven Price <steven.price@arm.com>2019-10-21 18:28:21 +0300
committerMarc Zyngier <maz@kernel.org>2019-10-21 21:20:30 +0300
commit541625ac47ce9d0835efaee0fcbaa251b0000a37 (patch)
treeb8ca85ac37c9b620247bd9c56fc199bc8b0cb1ba /arch/arm/mach-mmp/mfp-pxa910.h
parent58772e9a3db72d032eeb12bc011bc5184a3925f4 (diff)
downloadlinux-541625ac47ce9d0835efaee0fcbaa251b0000a37.tar.xz
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/arm/mach-mmp/mfp-pxa910.h')
0 files changed, 0 insertions, 0 deletions