aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2023-10-27 10:42:08 +0000
committerAndrew Turner <andrew@FreeBSD.org>2023-11-10 16:01:13 +0000
commit2ee649c1dd5c41e93f02fdca8bba9279371e4efd (patch)
treea4e98e7965b2513b96fa2419731e8b51854d4d8e
parent0f0938800989dbf84a56c370db0b9379ee730a39 (diff)
downloadsrc-2ee649c1dd5c41e93f02fdca8bba9279371e4efd.tar.gz
src-2ee649c1dd5c41e93f02fdca8bba9279371e4efd.zip
arm64: Add more HWCAP2 values
Update the HWCAP2 values to align with Linux v6.6-rc7 Reviewed by: manu, imp, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D42379
-rw-r--r--sys/arm64/include/elf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sys/arm64/include/elf.h b/sys/arm64/include/elf.h
index 04449b20a194..9f9cd44ac9f7 100644
--- a/sys/arm64/include/elf.h
+++ b/sys/arm64/include/elf.h
@@ -151,6 +151,33 @@ __ElfType(Auxinfo);
#define HWCAP2_DGH 0x0000000000008000ul
#define HWCAP2_RNG 0x0000000000010000ul
#define HWCAP2_BTI 0x0000000000020000ul
+#define HWCAP2_MTE 0x0000000000040000ul
+#define HWCAP2_ECV 0x0000000000080000ul
+#define HWCAP2_AFP 0x0000000000100000ul
+#define HWCAP2_RPRES 0x0000000000200000ul
+#define HWCAP2_MTE3 0x0000000000400000ul
+#define HWCAP2_SME 0x0000000000800000ul
+#define HWCAP2_SME_I16I64 0x0000000001000000ul
+#define HWCAP2_SME_F64F64 0x0000000002000000ul
+#define HWCAP2_SME_I8I32 0x0000000004000000ul
+#define HWCAP2_SME_F16F32 0x0000000008000000ul
+#define HWCAP2_SME_B16F32 0x0000000010000000ul
+#define HWCAP2_SME_F32F32 0x0000000020000000ul
+#define HWCAP2_SME_FA64 0x0000000040000000ul
+#define HWCAP2_WFXT 0x0000000080000000ul
+#define HWCAP2_EBF16 0x0000000100000000ul
+#define HWCAP2_SVE_EBF16 0x0000000200000000ul
+#define HWCAP2_CSSC 0x0000000400000000ul
+#define HWCAP2_RPRFM 0x0000000800000000ul
+#define HWCAP2_SVE2P1 0x0000001000000000ul
+#define HWCAP2_SME2 0x0000002000000000ul
+#define HWCAP2_SME2P1 0x0000004000000000ul
+#define HWCAP2_SME_I16I32 0x0000008000000000ul
+#define HWCAP2_SME_BI32I32 0x0000010000000000ul
+#define HWCAP2_SME_B16B16 0x0000020000000000ul
+#define HWCAP2_SME_F16F16 0x0000040000000000ul
+#define HWCAP2_MOPS 0x0000080000000000ul
+#define HWCAP2_HBC 0x0000100000000000ul
#ifdef COMPAT_FREEBSD32
/* ARM HWCAP */