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)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 06:31:20 +0000 (16:31 +1000)
commitdd58a092c4202f2bd490adab7285b3ff77f8e467
tree40bc4732fdc5b96a146cb7e2e2d6070f85ed7009
parentdfb945473ae8528fd885607b6fa843c676745e0c
powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support

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>
CC: <stable@vger.kernel.org> [v3.10+]
arch/powerpc/include/uapi/asm/cputable.h
arch/powerpc/kernel/cputable.c