aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-12-14 11:15:07 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-05-14 23:16:14 +0200
commitf95167ce5d6fe27167343976c7cae83aea77aab9 (patch)
tree4a2d018f2448fef2ab4b702321704fe8caa5600f
parentAdd SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h (diff)
downloadglibc-f95167ce5d6fe27167343976c7cae83aea77aab9.tar.gz
glibc-f95167ce5d6fe27167343976c7cae83aea77aab9.tar.bz2
glibc-f95167ce5d6fe27167343976c7cae83aea77aab9.zip
aarch64: Add HWCAP2_ECV from Linux 5.16
Indicates the availability of enhanced counter virtualization extension of armv8.6-a with self-synchronized virtual counter CNTVCTSS_EL0 usable in userspace. (cherry picked from commit 5a1be8ebdf6f02d4efec6e5f12ad06db17511f90) (cherry picked from commit c108e87026d61d6744e3e55704e0bea937243f5a)
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 30fda0a4a3..04cc762015 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -74,3 +74,4 @@
#define HWCAP2_RNG (1 << 16)
#define HWCAP2_BTI (1 << 17)
#define HWCAP2_MTE (1 << 18)
+#define HWCAP2_ECV (1 << 19)