File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
tools/testing/selftests/arm64/signal Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 33
33
*/
34
34
enum {
35
35
FSSBS_BIT ,
36
+ FSVE_BIT ,
36
37
FMAX_END
37
38
};
38
39
39
40
#define FEAT_SSBS (1UL << FSSBS_BIT)
41
+ #define FEAT_SVE (1UL << FSVE_BIT)
40
42
41
43
/*
42
44
* A descriptor used to describe and configure a test case.
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ static int sig_copyctx = SIGTRAP;
26
26
27
27
static char const * const feats_names [FMAX_END ] = {
28
28
" SSBS " ,
29
+ " SVE " ,
29
30
};
30
31
31
32
#define MAX_FEATS_SZ 128
@@ -263,6 +264,8 @@ int test_init(struct tdescr *td)
263
264
*/
264
265
if (getauxval (AT_HWCAP ) & HWCAP_SSBS )
265
266
td -> feats_supported |= FEAT_SSBS ;
267
+ if (getauxval (AT_HWCAP ) & HWCAP_SVE )
268
+ td -> feats_supported |= FEAT_SVE ;
266
269
if (feats_ok (td ))
267
270
fprintf (stderr ,
268
271
"Required Features: [%s] supported\n" ,
You can’t perform that action at this time.
0 commit comments