diff options
author | Mark Brown <broonie@kernel.org> | 2019-06-18 19:10:55 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-06-25 14:24:00 +0100 |
commit | ca9503fc9e9812aa6258e55d44edb03eb30fc46f (patch) | |
tree | 5deac994c347391edae01f5601a02db7f8be5434 /arch/arm64/kernel/cpuinfo.c | |
parent | 1201937491822b61641c1878ebcd16a93aed4540 (diff) | |
download | linux-ca9503fc9e9812aa6258e55d44edb03eb30fc46f.tar.gz linux-ca9503fc9e9812aa6258e55d44edb03eb30fc46f.tar.bz2 linux-ca9503fc9e9812aa6258e55d44edb03eb30fc46f.zip |
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>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
-rw-r--r-- | arch/arm64/kernel/cpuinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 62102f75dc1e..fda8ded8b739 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -93,6 +93,7 @@ static const char *const hwcap_str[] = { "svesha3", "svesm4", "flagm2", + "frint", NULL }; |