[PATCH 6/6] arm64: Add the arm64.nosve command line option

Mark Brown broonie at kernel.org
Mon Jun 27 10:08:44 PDT 2022


On Mon, Jun 27, 2022 at 04:14:12PM +0100, Marc Zyngier wrote:

> +.Linit_sve:	/* SVE register access */
> +	msr	cptr_el2, x0			// Disable SVE traps
> +	bic	x0, x0, #CPTR_EL2_TZ
> +	msr	cptr_el2, x0

Same mrs/msr thing as with the SME patch - if the code is correct it
probably needs a comment.
-------------- 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/20220627/b2fae2e6/attachment.sig>


More information about the linux-arm-kernel mailing list