]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: smccc: add support for SMCCCv1.2 x0-x17 registers
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Fri, 4 Aug 2023 13:33:37 +0000 (14:33 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Aug 2023 14:22:03 +0000 (10:22 -0400)
commitd99873517907b806fe35f5a009c2b729c39d5808
tree551ec2e307e4544087b3743882f838574517d21f
parenta169438411f9277cc689c14078151aa1d1caae3c
arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

add support for x0-x17 registers used by the SMC calls

In SMCCC v1.2 [1] arguments are passed in registers x1-x17.
Results are returned in x0-x17.

This work is inspired from the following kernel commit:

arm64: smccc: Add support for SMCCCv1.2 extended input/output registers

[1]: https://documentation-service.arm.com/static/5f8edaeff86e16515cdbe4c6?token=

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv8/smccc-call.S
arch/arm/lib/asm-offsets.c
include/linux/arm-smccc.h