[PATCH v3 14/17] KVM: arm64: Macros for setting/clearing FGT bits

Marc Zyngier maz at kernel.org
Mon Dec 18 04:25:49 PST 2023


On Mon, 18 Dec 2023 11:17:55 +0000,
Fuad Tabba <tabba at google.com> wrote:
> 
> Hi Marc,
> 
> On Mon, Dec 18, 2023 at 11:12 AM Marc Zyngier <maz at kernel.org> wrote:
> ...
> >         if (cpu_has_amu())
> >                 update_fgt_traps(vcpu, HAFGRTR_EL2);
> >
> > If that seems sensible to you, I'll fold it in, as I'd like to do
> > without a respin if we can avoid it.
> 
> Looks good to me. Thanks Marc!

Please have a look at [1] to see what I have done (AMU fixes and my
suggestion for the FGT macros), and let me know if that's OK with you.

I've given it a go on my M2 with NV (only a couple of minor conflicts)
and nothing caught fire.

Thanks,

	M.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/fgt-rework

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



More information about the linux-arm-kernel mailing list