[PATCH v9 18/30] KVM: arm64: Support SME priority registers
Mark Brown
broonie at kernel.org
Tue Jan 13 11:08:29 PST 2026
On Mon, Jan 12, 2026 at 11:59:22AM +0000, Fuad Tabba wrote:
> On Tue, 23 Dec 2025 at 01:22, Mark Brown <broonie at kernel.org> wrote:
> > + /*
> > + * We block SME priorities so SMPRIMAP_EL2 is RES0, however we
> > + * do not have traps to block access so the guest might have
> > + * updated the state, overwrite anything there.
>
> nit: overwrite -> overwriting
> > + */
> > + __vcpu_assign_sys_reg(vcpu, SMPRIMAP_EL2, 0);
> > }
My original is correct here - the action we are taking is that we will
overwrite the value. To use overwriting we'd need something more like
"handle this by overwriting anything there".
-------------- 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/20260113/f884a02e/attachment.sig>
More information about the linux-arm-kernel
mailing list