[U-Boot] [PATCH] armv8: Remove the codes about switching to EL1 before jumping to kernel

Huan Wang alison.wang at nxp.com
Mon Jul 18 05:24:06 CEST 2016


Hi, Alex,

              As there is strong objection to remove the codes about switching to EL1, I think we have to remain it, do you agree?

                If it is remained, I think your suggestion about *always* jumping to ep for both switching to AArch64 and AArch32 modes will make the code hard to realize and very complicated. So I prefer to  keep the process in v4 patches. What is your opinion?


Best Regards,
Alison Wang

From: Michal Simek [mailto:monstr at monstr.eu]
Sent: Friday, July 08, 2016 1:31 AM
To: Alexander Graf
Cc: Alison Wang; york sun; Scott Wood; Stuart Yoder; Yang-Leo Li; David Feng; Linus Walleij; ryan.harkin at linaro.org; U-Boot; Zhengxiong Jin
Subject: Re: [U-Boot] [PATCH] armv8: Remove the codes about switching to EL1 before jumping to kernel

Hi,

2016-07-07 13:44 GMT+02:00 Alexander Graf <agraf at suse.de<mailto:agraf at suse.de>>:
On 07/07/2016 08:25 AM, Alison Wang wrote:
As CONFIG_ARMV8_SWITCH_TO_EL1 is not used now, this patch is to remove
CONFIG_ARMV8_SWITCH_TO_EL1 and the corresponding functions.

Signed-off-by: Alison Wang <alison.wang at nxp.com<mailto:alison.wang at nxp.com>>

I'll CC the maintainers for ZynqMP and Exynos as well, but from my side this patch is a great step forward.

Reviewed-by: Alexander Graf <agraf at suse.de<mailto:agraf at suse.de>>


I am against this patch. The reason is simple. We are using this option for testing to make sure that hyperviser and OS
behaves correctly when they start from different level.
Thanks,
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu<http://www.monstr.eu> p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


More information about the U-Boot mailing list