[PATCH v2 4/4] KVM: arm64: Convert TCR_EL2 to config-driven sanitisation
Wei-Lin Chang
weilin.chang at arm.com
Thu Oct 29 08:39:42 PDT 2026
On Thu, Oct 29, 2026 at 12:38:38PM +0000, Joey Gouly wrote:
> On Thu, Sep 17, 2026 at 10:42:14PM +0100, Wei-Lin Chang wrote:
> > Feature dependencies of the fields in TCR_EL2 are extracted from
> > Registers.json of the BSD licenced AARCHMRS
> > (AARCHMRS_OPENSOURCE_A_profile_FAT-2026-06).
> >
> > Places where we slightly deviate from the above:
> >
> > - Stick to the ARM ARM M.c requirement for TCR_EL2.TCMA*, which only
> > depends on FEAT_MTE2. This avoids updating ID_AA64PFR2_EL1 with new
> > VMTE* definitions that we don't know the meaning of, as they aren't
> > present in the ARM ARM yet.
> >
> > - Ignore TCR_EL2.DS's requirement of needing the effective value of
> > TCR2_EL2.D128 be 0. This requires runtime detection of TCR2_EL2.D128
> > and we don't have D128 support yet.
> >
> > - TCR_EL2.AS is dependent on FEAT_ASID16, this information is missing
> > from the json.
>
> In the 2026-9 release, FEAT_ASID16 is now there for TCR_EL2.AS.
> Otherwise I think this matches the newer release.
>
> Reviewed-by: Joey Gouly <joey.gouly at arm.com>
Thanks for the review!
I'm planning to update this series to the 2026-9 release and repost.
Thanks,
Wei-Lin Chang
>
> Thanks,
> Joey
[...]
More information about the linux-arm-kernel
mailing list