Re: [PATCH v2 11/11] kselftest/arm64: add MOPS to hwcap test
From: Mark Brown
Date: Fri May 12 2023 - 00:03:08 EST
On Tue, May 09, 2023 at 03:22:35PM +0100, Kristina Martsenko wrote:
> Add the MOPS hwcap to the hwcap kselftest and check that a SIGILL is not
> generated when the feature is detected. A SIGILL is reliable when the
> feature is not detected as SCTLR_EL1.MSCEn won't have been set.
Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>
> + /* CPYP [x0]!, [x1]!, x2! */
> + asm volatile(".inst 0x1d010440"
> + : "+r" (dstp), "+r" (srcp), "+r" (size)
> + :
> + : "cc", "memory");
Verified against DDI0602 2023-03.
Attachment:
signature.asc
Description: PGP signature