[PATCH v2 05/25] KVM: arm64: nv: Add sanitising to VNCR-backed FGT sysregs

Marc Zyngier maz at kernel.org
Fri Feb 2 06:58:46 PST 2024


On Thu, 01 Feb 2024 14:38:06 +0000,
Joey Gouly <joey.gouly at arm.com> wrote:
> 
> On Tue, Jan 30, 2024 at 08:45:12PM +0000, Marc Zyngier wrote:
> > Fine Grained Traps are controlled by a whole bunch of features.
> > Each one of them must be checked and the corresponding masks
> > computed so that we don't let the guest apply traps it shouldn't
> > be using.
> > 
> > This takes care of HFGxTR_EL2, HDFGxTR_EL2, and HAFGRTR_EL2.
> 
>  ^^ and HFGITR_EL2

The intention was that it was covered by HFGxTR, but I can now see how
that can be confusing.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list