arm64: Add hwcaps for crypto and CRC32 extensions.
authorSteve Capper <steve.capper@linaro.org>
Mon, 16 Dec 2013 21:04:36 +0000 (21:04 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 19 Dec 2013 17:44:08 +0000 (17:44 +0000)
commit4bff28ccda2b7a3fbdf8e80aef7a599284681dc6
tree3291ace36bb2b611521874f81581d8cb1fa7fb90
parent148eb0a1db8e37a5966afe98223cefe0c1837c26
arm64: Add hwcaps for crypto and CRC32 extensions.

Advertise the optional cryptographic and CRC32 instructions to
user space where present. Several hwcap bits [3-7] are allocated.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
[bit 2 is taken now so use bits 3-7 instead]
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/setup.c