Thread (46 messages) 46 messages, 7 authors, 2020-07-29

Re: [PATCH 7/9] arm/arm64: Provide a wrapper for SMCCC 1.1 calls

From: Will Deacon <will@kernel.org>
Date: 2019-08-05 10:03:21
Also in: kvm, kvmarm, linux-doc, lkml

On Fri, Aug 02, 2019 at 03:50:15PM +0100, Steven Price wrote:
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 PSCI conduit is configured 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>
---
 include/linux/arm-smccc.h | 44 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
Acked-by: Will Deacon <will@kernel.org>

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help