[U-Boot] [PATCH 2/5] arm: Disable HVC PSCI calls by default
Simon Glass
sjg at chromium.org
Thu Aug 18 05:44:54 CEST 2016
On 16 August 2016 at 13:08, Alexander Graf <agraf at suse.de> wrote:
> All systems that are running on armv8 are running bare metal with firmware
> that implements PSCI running in EL3. That means we don't really need to expose
> the hypercall variants of them.
>
> This patch leaves the code in, but makes the code explicit enough to have the
> compiler optimize it out. With this we don't need to worry about hvc vs smc
> calling convention when calling psci helper functions.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
> arch/arm/cpu/armv8/fwcall.c | 14 +++++++++++---
> arch/arm/include/asm/system.h | 11 +----------
> arch/arm/mach-meson/board.c | 2 +-
> board/xilinx/zynqmp/zynqmp.c | 2 +-
> 4 files changed, 14 insertions(+), 15 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list