[PATCH] KVM: arm64: Fix hVHE init on CPUs where HCR_EL2.E2H is not RES1

Oliver Upton oliver.upton at linux.dev
Thu Jun 15 06:20:19 PDT 2023


On Wed, 14 Jun 2023 16:51:29 +0100, Marc Zyngier wrote:
> On CPUs where E2H is RES1, we very quickly set the scene for
> running EL2 with a VHE configuration, as we do not have any other
> choice.
> 
> However, CPUs that conform to the current writing of the architecture
> start with E2H=0, and only later upgrade with E2H=1. This is all
> good, but nothing there is actually reconfiguring EL2 to be able
> to correctly run the kernel at EL1. Huhuh...
> 
> [...]

Applied to kvmarm/next, thanks!

[1/1] KVM: arm64: Fix hVHE init on CPUs where HCR_EL2.E2H is not RES1
      https://git.kernel.org/kvmarm/kvmarm/c/1700f89cb99a

--
Best,
Oliver



More information about the linux-arm-kernel mailing list