arm64: Expose FRINT capabilities to userspace
authorMark Brown <broonie@kernel.org>
Tue, 18 Jun 2019 18:10:55 +0000 (19:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 25 Jun 2019 13:24:00 +0000 (14:24 +0100)
commitca9503fc9e9812aa6258e55d44edb03eb30fc46f
tree5deac994c347391edae01f5601a02db7f8be5434
parent1201937491822b61641c1878ebcd16a93aed4540
arm64: Expose FRINT capabilities to userspace

ARMv8.5 introduces the FRINT series of instructions for rounding floating
point numbers to integers. Provide a capability to userspace in order to
allow applications to determine if the system supports these instructions.

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/asm/sysreg.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c