]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: Add HWCAP bits for Power9
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Jan 2016 02:59:04 +0000 (13:59 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Jan 2016 09:30:52 +0000 (20:30 +1100)
In order to support Power9 we need two new HWCAP bits. We are merging
these ahead of the cputable entry so that glibc can start referring to
them.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/uapi/asm/cputable.h

index 43686043e29734b47b183882417e309e617d1039..8dde19962a5b49fbce13685656911c8f47622f3f 100644 (file)
@@ -43,5 +43,7 @@
 #define PPC_FEATURE2_TAR               0x04000000
 #define PPC_FEATURE2_VEC_CRYPTO                0x02000000
 #define PPC_FEATURE2_HTM_NOSC          0x01000000
+#define PPC_FEATURE2_ARCH_3_00         0x00800000 /* ISA 3.00 */
+#define PPC_FEATURE2_HAS_IEEE128       0x00400000 /* VSX IEEE Binary Float 128-bit */
 
 #endif /* _UAPI__ASM_POWERPC_CPUTABLE_H */