[U-Boot] [PATCH v4 3/8] armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure
Simon Glass
sjg at chromium.org
Sat Aug 22 02:36:13 CEST 2015
On 18 August 2015 at 06:26, Sergey Temerkhanov <s.temerkhanov at gmail.com> wrote:
> This commit adds functions issuing calls to secure monitor or
> hypervisore. This allows using services such as Power State
> Coordination Interface (PSCI) provided by firmware, e.g. ARM
> Trusted Firmware (ATF)
>
> The SMC call can destroy all registers declared temporary by the
> calling conventions. The clobber list is "x0..x17" because of
> this
>
> Signed-off-by: Sergey Temerkhanov <s.temerkhanov at gmail.com>
> Signed-off-by: Corey Minyard <cminyard at mvista.com>
> Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla at cavium.com>
>
> ---
>
> Changes in v4:
> - Document FW calls
>
> Changes in v3:
> - Fixed clobber lists (thanks to Corey)
>
> Changes in v2: None
>
> arch/arm/cpu/armv8/Makefile | 1 +
> arch/arm/cpu/armv8/fwcall.c | 75 +++++++++++++++++++++++++++++++++++++++++++
> arch/arm/include/asm/system.h | 21 ++++++++++++
> 3 files changed, 97 insertions(+)
> create mode 100644 arch/arm/cpu/armv8/fwcall.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list