summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/uapi/asm/cputable.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-01-11 05:59:04 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-01-11 12:30:52 +0300
commite708c24cd01ce80b1609d8baccee40ccc3608a01 (patch)
treecbad6f135544c93d1fa0f9bcebccb1d1049ab2b7 /arch/powerpc/include/uapi/asm/cputable.h
parent08f48f3234a79bca86c2283a166aec83bf52b265 (diff)
downloadlinux-e708c24cd01ce80b1609d8baccee40ccc3608a01.tar.xz
powerpc: Add HWCAP bits for Power9
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>
Diffstat (limited to 'arch/powerpc/include/uapi/asm/cputable.h')
-rw-r--r--arch/powerpc/include/uapi/asm/cputable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/cputable.h b/arch/powerpc/include/uapi/asm/cputable.h
index 43686043e297..8dde19962a5b 100644
--- a/arch/powerpc/include/uapi/asm/cputable.h
+++ b/arch/powerpc/include/uapi/asm/cputable.h
@@ -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 */