powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jun 2014 05:04:40 +0000 (15:04 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:54:15 +0000 (18:54 -0700)
commit18f5426fb7f2be5e3112ed301b52e2ea92d3e3cd
treef66153a8cb3f19e1aedf76f084528065d7ff6a87
parent485fafb3d0a5b0886abfaa1cfc7641d9fc8e3d97
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/include/uapi/asm/cputable.h
arch/powerpc/kernel/cputable.c