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

2019-08-05 Thread Will Deacon
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

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

2019-08-02 Thread Steven Price
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