Sfoglia il codice sorgente

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 5 mesi fa
parent
commit
86373b4999
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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