]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit422d0268d35a58d2ef99ea4889edf5c645ce627d
tree40bc4732fdc5b96a146cb7e2e2d6070f85ed7009
parentf5c5d5716e03d2683ecf76520786f3f485c83d76
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