Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250103194044.42981-1-AWilcox@Wilcox-Tech.com>
Date: Fri,  3 Jan 2025 13:40:44 -0600
From: "A. Wilcox" <AWilcox@...cox-Tech.com>
To: musl@...ts.openwall.com
Cc: "A. Wilcox" <AWilcox@...cox-Tech.com>
Subject: [PATCH] powerpc: Update HWCAP bits for Power10

Linux kernel commit ee988c11acf6f9464b7b44e9a091bf6afb3b3a49 added two
new HWCAP bits: one for ARCH_3_1, which is the Power10 ISA revision, and
one for MMA, which is the optional Matrix Multiply Assist extension.
---
 arch/powerpc/bits/hwcap.h   | 2 ++
 arch/powerpc64/bits/hwcap.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/powerpc/bits/hwcap.h b/arch/powerpc/bits/hwcap.h
index 803de9b5..12981623 100644
--- a/arch/powerpc/bits/hwcap.h
+++ b/arch/powerpc/bits/hwcap.h
@@ -41,3 +41,5 @@
 #define PPC_FEATURE2_DARN		0x00200000
 #define PPC_FEATURE2_SCV		0x00100000
 #define PPC_FEATURE2_HTM_NO_SUSPEND	0x00080000
+#define PPC_FEATURE2_ARCH_3_1		0x00040000
+#define PPC_FEATURE2_MMA		0x00020000
diff --git a/arch/powerpc64/bits/hwcap.h b/arch/powerpc64/bits/hwcap.h
index 803de9b5..12981623 100644
--- a/arch/powerpc64/bits/hwcap.h
+++ b/arch/powerpc64/bits/hwcap.h
@@ -41,3 +41,5 @@
 #define PPC_FEATURE2_DARN		0x00200000
 #define PPC_FEATURE2_SCV		0x00100000
 #define PPC_FEATURE2_HTM_NO_SUSPEND	0x00080000
+#define PPC_FEATURE2_ARCH_3_1		0x00040000
+#define PPC_FEATURE2_MMA		0x00020000
-- 
2.40.0

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.