Re: [PATCH v5 05/21] arm64: Initialise as nVHE before switching to VHE

2021-01-26 Thread Catalin Marinas
On Mon, Jan 25, 2021 at 10:50:03AM +, Marc Zyngier wrote: > As we are aiming to be able to control whether we enable VHE or > not, let's always drop down to EL1 first, and only then upgrade > to VHE if at all possible. > > This means that if the kernel is booted at EL2, we always start > with

[PATCH v5 05/21] arm64: Initialise as nVHE before switching to VHE

2021-01-25 Thread Marc Zyngier
As we are aiming to be able to control whether we enable VHE or not, let's always drop down to EL1 first, and only then upgrade to VHE if at all possible. This means that if the kernel is booted at EL2, we always start with a nVHE init, drop to EL1 to initialise the the kernel, and only then