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 35
35
FSME_BIT ,
36
36
FSME_FA64_BIT ,
37
37
FSME2_BIT ,
38
+ FGCS_BIT ,
38
39
FMAX_END
39
40
};
40
41
43
44
#define FEAT_SME (1UL << FSME_BIT)
44
45
#define FEAT_SME_FA64 (1UL << FSME_FA64_BIT)
45
46
#define FEAT_SME2 (1UL << FSME2_BIT)
47
+ #define FEAT_GCS (1UL << FGCS_BIT)
46
48
47
49
/*
48
50
* A descriptor used to describe and configure a test case.
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ static char const *const feats_names[FMAX_END] = {
30
30
" SME " ,
31
31
" FA64 " ,
32
32
" SME2 " ,
33
+ " GCS " ,
33
34
};
34
35
35
36
#define MAX_FEATS_SZ 128
@@ -329,6 +330,8 @@ int test_init(struct tdescr *td)
329
330
td -> feats_supported |= FEAT_SME_FA64 ;
330
331
if (getauxval (AT_HWCAP2 ) & HWCAP2_SME2 )
331
332
td -> feats_supported |= FEAT_SME2 ;
333
+ if (getauxval (AT_HWCAP ) & HWCAP_GCS )
334
+ td -> feats_supported |= FEAT_GCS ;
332
335
if (feats_ok (td )) {
333
336
if (td -> feats_required & td -> feats_supported )
334
337
fprintf (stderr ,
You can’t perform that action at this time.
0 commit comments