diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-19 19:04:05 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-03-28 16:46:15 +0100 |
commit | a092aedb8115c16cb49bc64dd09cb20471ff942b (patch) | |
tree | 7a1a867410c8cfdff4ec9fbb4f9ed8920bd8f2ef /arch/arm/boot | |
parent | ARM: 8318/1: treat CPU feature register fields as signed quantities (diff) | |
download | linux-a092aedb8115c16cb49bc64dd09cb20471ff942b.tar.xz linux-a092aedb8115c16cb49bc64dd09cb20471ff942b.zip |
ARM: 8319/1: advertise availability of v8 Crypto instructions
When running the 32-bit ARM kernel on ARMv8 capable bare metal (e.g.,
32-bit Android userland and kernel on a Cortex-A53), or as a KVM guest
on a 64-bit host, we should advertise the availability of the Crypto
instructions, so that userland libraries such as OpenSSL may use them.
(Support for the v8 Crypto instructions in the 32-bit build was added
to OpenSSL more than six months ago)
This adds the ID feature bit detection, and sets elf_hwcap2 accordingly.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions