Re: [PATCH 6.6 v3 0/6] arm64: KVM: Backport VHE-only boot fixes

From: Colton Lewis

Date: Mon Jul 13 2026 - 18:07:58 EST


Sasha Levin <sashal@xxxxxxxxxx> writes:

On Thu, Jul 09, 2026 at 10:35:57PM +0000, Colton Lewis wrote:
Architectural updates retroactively made FEAT_E2H0 optional, meaning
hardware can implement FEAT_VHE without FEAT_E2H0. On such CPUs,
HCR_EL2.E2H can reset to an unknown state and must be initialized early
so later code can reliably detect whether E2H mode is active.

Without these fixes, booting 6.6.y as a guest under KVM nested
virtualization will hang at boot.

Queued the series for 6.6, thanks. I also picked up the follow-up
"arm64: sysreg: Correct sign definitions for EIESB and DoubleLock"
on top.

Thank you Sasha