[PATCH v2 06/25] KVM: arm64: nv: Add sanitising to VNCR-backed HCRX_EL2

Mark Brown broonie at kernel.org
Fri Feb 2 05:30:59 PST 2024


On Fri, Feb 02, 2024 at 08:52:32AM +0000, Oliver Upton wrote:
> On Tue, Jan 30, 2024 at 08:45:13PM +0000, Marc Zyngier wrote:

> > +	if (!kvm_has_feat(kvm, ID_AA64MMFR3_EL1, D128, IMP))
> > +		res0 |= HCRX_EL2_D128En;
> > +	if (!kvm_has_feat(kvm, ID_AA64PFR1_EL1, THE, IMP))
> > +		res0 |= HCRX_EL2_PTTWI;

> Ok, not fair. The latest public version of the ARM ARM doesn't have any
> of this. Where are you getting it from?

We publish updates of the system register and instruction encodings much
more frequently than we publish updates to the full ARM, these are
released as DDI0601.  You can currently find them at:

    https://developer.arm.com/documentation/ddi0601/
    https://developer.arm.com/downloads/-/exploration-tools

but those URLs might change at some point (the second one has downloads,
the first is a directly viewable web page).  There's also DDI0602 with
SVE instructions.  These are generally the first place that gets updated
when new things are added.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240202/21240213/attachment.sig>


More information about the linux-arm-kernel mailing list