lkml.org 
[lkml]   [2023]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 11/11] kselftest/arm64: add MOPS to hwcap test
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@kernel.org>

> + /* CPYP [x0]!, [x1]!, x2! */
> + asm volatile(".inst 0x1d010440"
> + : "+r" (dstp), "+r" (srcp), "+r" (size)
> + :
> + : "cc", "memory");

Verified against DDI0602 2023-03.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-05-12 06:04    [W:0.141 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site