076f82
commit c108e87026d61d6744e3e55704e0bea937243f5a
076f82
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
076f82
Date:   Tue Dec 14 11:15:07 2021 +0000
076f82
076f82
    aarch64: Add HWCAP2_ECV from Linux 5.16
076f82
    
076f82
    Indicates the availability of enhanced counter virtualization extension
076f82
    of armv8.6-a with self-synchronized virtual counter CNTVCTSS_EL0 usable
076f82
    in userspace.
076f82
    
076f82
    (cherry picked from commit 5a1be8ebdf6f02d4efec6e5f12ad06db17511f90)
076f82
076f82
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
076f82
index 30fda0a4a347695e..04cc762015a7230a 100644
076f82
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
076f82
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
076f82
@@ -74,3 +74,4 @@
076f82
 #define HWCAP2_RNG		(1 << 16)
076f82
 #define HWCAP2_BTI		(1 << 17)
076f82
 #define HWCAP2_MTE		(1 << 18)
076f82
+#define HWCAP2_ECV		(1 << 19)