arm64: Expose ARMv8.5 CondM capability to userspace
authorMark Brown <broonie@kernel.org>
Tue, 18 Jun 2019 18:10:54 +0000 (19:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 25 Jun 2019 13:21:41 +0000 (14:21 +0100)
commit1201937491822b61641c1878ebcd16a93aed4540
treedd42f26ddbc06125c9aad5dbe6ba438678c459ab
parent8049672bb17a53f2545fbeaa6cfbb48055f51cde
arm64: Expose ARMv8.5 CondM capability to userspace

ARMv8.5 adds new instructions XAFLAG and AXFLAG to translate the
representation of the results of floating point comparisons between the
native ARM format and an alternative format used by some software. Add
a hwcap allowing userspace to determine if they are present, since we
referred to earlier CondM extensions as FLAGM call these extensions
FLAGM2.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/elf_hwcaps.txt
arch/arm64/include/asm/hwcap.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c