diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2016-01-26 18:52:46 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-26 18:37:01 +0300 |
commit | bf5006184400d96d8c17eb9711178dc2221b8f34 (patch) | |
tree | 327f30505f11097de7e12c6384568f7fe3d9e07f /arch/arm64/kernel/cpuinfo.c | |
parent | 3eca86e75ec7a7d4b9a9c8091b11676f7bd2a39f (diff) | |
download | linux-bf5006184400d96d8c17eb9711178dc2221b8f34.tar.xz |
arm64: Add support for Half precision floating point
ARMv8.2 extensions [1] include an optional feature, which supports
half precision(16bit) floating point/asimd data processing
instructions. This patch adds support for detecting and exposing
the same to the userspace via HWCAPs
[1] https://community.arm.com/groups/processors/blog/2016/01/05/armv8-a-architecture-evolution
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 966fbd52550b..00bdfa3f4532 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -59,6 +59,8 @@ static const char *const hwcap_str[] = { "sha2", "crc32", "atomics", + "fphp", + "asimdhp", NULL }; |