File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1930,6 +1930,16 @@ static const struct arm64_cpu_capabilities arm64_features[] = {
1930
1930
.sign = FTR_UNSIGNED ,
1931
1931
.min_field_value = 1 ,
1932
1932
},
1933
+ {
1934
+ .desc = "Enhanced Counter Virtualization" ,
1935
+ .capability = ARM64_HAS_ECV ,
1936
+ .type = ARM64_CPUCAP_SYSTEM_FEATURE ,
1937
+ .matches = has_cpuid_feature ,
1938
+ .sys_reg = SYS_ID_AA64MMFR0_EL1 ,
1939
+ .field_pos = ID_AA64MMFR0_ECV_SHIFT ,
1940
+ .sign = FTR_UNSIGNED ,
1941
+ .min_field_value = 1 ,
1942
+ },
1933
1943
#ifdef CONFIG_ARM64_PAN
1934
1944
{
1935
1945
.desc = "Privileged Access Never" ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ HAS_CRC32
18
18
HAS_DCPODP
19
19
HAS_DCPOP
20
20
HAS_E0PD
21
+ HAS_ECV
21
22
HAS_EPAN
22
23
HAS_GENERIC_AUTH
23
24
HAS_GENERIC_AUTH_ARCH
You can’t perform that action at this time.
0 commit comments