[PATCH] KVM: arm64: Do not let a L1 hypervisor access the *32_EL2 sysregs
Marc Zyngier
maz at kernel.org
Tue Oct 17 11:50:15 PDT 2023
On Sat, 14 Oct 2023 04:32:46 +0100,
Oliver Upton <oliver.upton at linux.dev> wrote:
>
> On Fri, Oct 13, 2023 at 11:33:11PM +0100, Marc Zyngier wrote:
> > DBGVCR32_EL2, DACR32_EL2, IFSR32_EL2 and FPEXC32_EL2 are required to
> > UNDEF when AArch32 isn't implemented, which is definitely the case when
> > running NV.
> >
> > Given that this is the only case where these registers can trap,
> > unconditionally inject an UNDEF exception.
> >
> > Signed-off-by: Marc Zyngier <maz at kernel.org>
>
> If you intend to send this as a fix for 6.6:
>
> Reviewed-by: Oliver Upton <oliver.upton at linux.dev>
>
> Otherwise it is on the stack of patches I'll pick up for 6.7
Thanks.
I've queued it as a fix for now, together with Miguel's NV fix
series.
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list