diff options
author | Mark Brown <broonie@kernel.org> | 2019-06-18 20:10:55 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-06-25 15:24:00 +0200 |
commit | ca9503fc9e9812aa6258e55d44edb03eb30fc46f (patch) | |
tree | 5deac994c347391edae01f5601a02db7f8be5434 /arch/arm64/include/asm/sysreg.h | |
parent | arm64: Expose ARMv8.5 CondM capability to userspace (diff) | |
download | linux-ca9503fc9e9812aa6258e55d44edb03eb30fc46f.tar.xz 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/include/asm/sysreg.h')
-rw-r--r-- | arch/arm64/include/asm/sysreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 902d75b60914..601972771807 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -560,6 +560,7 @@ /* id_aa64isar1 */ #define ID_AA64ISAR1_SB_SHIFT 36 +#define ID_AA64ISAR1_FRINTTS_SHIFT 32 #define ID_AA64ISAR1_GPI_SHIFT 28 #define ID_AA64ISAR1_GPA_SHIFT 24 #define ID_AA64ISAR1_LRCPC_SHIFT 20 |