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:57:28 +0000 (18:57 -0700)
commit0753c96beafac5e8d091c866a38e73022829206d
treea747c57ee61e05a85492e48647dc40d4252ef39c
parentbba13f9c619ed3ed753ea88432cb08077c4a08e1
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