]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: aarch64: Fix the warning about x1-x3 nonzero issue
authorAlison Wang <b18965@freescale.com>
Tue, 17 Jan 2017 01:39:17 +0000 (09:39 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 Jan 2017 17:29:33 +0000 (09:29 -0800)
commit7c5e1feb1d780cc857632c246e78ac7a8e6cf2d7
tree74e3a73c1be3c56594f7e19267838c5a4c4fe81f
parent2ca84bf7b2d7930b424b19f5027d3c06ec7cb696
armv8: aarch64: Fix the warning about x1-x3 nonzero issue

For 64-bit kernel, there is a warning about x1-x3 nonzero in violation
of boot protocol. To fix this issue, input argument 4 is added for
armv8_switch_to_el2 and armv8_switch_to_el1. The input argument 4 will
be set to the right value, such as zero.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S
arch/arm/cpu/armv8/sec_firmware_asm.S
arch/arm/cpu/armv8/start.S
arch/arm/cpu/armv8/transition.S
arch/arm/include/asm/system.h
arch/arm/lib/bootm.c
arch/arm/mach-rmobile/lowlevel_init_gen3.S
cmd/bootefi.c