diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-10 15:04:40 +1000 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-07-17 13:43:19 +0200 |
commit | 9994e2c2687395f69e86e744f0143a9eb540df1e (patch) | |
tree | 07fc870c2a550c395d489120b0b162e7ec015f12 /arch/powerpc/include/uapi/asm/cputable.h | |
parent | c5aee1fa7700baa30a466e2b9deff50fc0ac0f03 (diff) |
powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support
commit dd58a092c4202f2bd490adab7285b3ff77f8e467 upstream.
The Vector Crypto category instructions are supported by current POWER8
chips, advertise them to userspace using a specific bit to properly
differentiate with chips of the same architecture level that might not
have them.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/powerpc/include/uapi/asm/cputable.h')
-rw-r--r-- | arch/powerpc/include/uapi/asm/cputable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/cputable.h b/arch/powerpc/include/uapi/asm/cputable.h index 5b7657959faa..de2c0e4ee1aa 100644 --- a/arch/powerpc/include/uapi/asm/cputable.h +++ b/arch/powerpc/include/uapi/asm/cputable.h @@ -41,5 +41,6 @@ #define PPC_FEATURE2_EBB 0x10000000 #define PPC_FEATURE2_ISEL 0x08000000 #define PPC_FEATURE2_TAR 0x04000000 +#define PPC_FEATURE2_VEC_CRYPTO 0x02000000 #endif /* _UAPI__ASM_POWERPC_CPUTABLE_H */ |