Parcourir la source

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.
A. Wilcox il y a 5 mois
Parent
commit
86373b4999
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 2 0
      arch/powerpc/bits/hwcap.h
  2. 2 0
      arch/powerpc64/bits/hwcap.h

+ 2 - 0
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

+ 2 - 0
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