Skip to content
Snippets Groups Projects
Commit 7c5e1feb authored by Alison Wang's avatar Alison Wang Committed by York Sun
Browse files

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: default avatarAlison Wang <alison.wang@nxp.com>
Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
Tested-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent 2ca84bf7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment