
19 Jan
2017
19 Jan
'17
6:42 p.m.
On 01/16/2017 05:52 PM, Alison Wang wrote:
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
Changes in v3:
- Remove redundant code.
Changes in v2:
- Add another input argument 4 for armv8_switch_to_el2 and armv8_switch_to_el1.
- Give up the previous way to adjust the parameters to transfer and make sure x3 is zero.
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York