[PATCH 0/2] KVM: arm64: nv: Fix sysreg RESx-ication
Marc Zyngier
maz at kernel.org
Tue Jan 14 03:37:41 PST 2025
On Sun, 12 Jan 2025 16:50:27 +0000, Marc Zyngier wrote:
> Joey recently reported that some rather basic tests were failing on
> NV, and managed to track it down to critical register fields (such as
> HCR_EL2.E2H) not having their expect value.
>
> Further investigation has outlined a couple of critical issues:
>
> - Evaluating HCR_EL2.E2H must always be done with a sanitising
> accessor, no ifs, no buts. Given that KVM assumes a fixed value for
> this bit, we cannot leave it to the guest to mess with.
>
> [...]
Applied to next, thanks!
[1/2] KVM: arm64: nv: Always evaluate HCR_EL2 using sanitising accessors
commit: c139b6d1b4d27724987af5071177fb5f3d60c1e4
[2/2] KVM: arm64: nv: Apply RESx settings to sysreg reset values
commit: 36f998de853cfad60508dfdfb41c9c40a2245f19
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list