arm64: Add compat hwcap FPHP and ASIMDHP
authorAmit Daniel Kachhap <amit.kachhap@arm.com>
Wed, 11 Jan 2023 05:37:00 +0000 (11:07 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jan 2023 14:28:36 +0000 (14:28 +0000)
commit846b73a4a3d0bf289ee924f6101c4f842ecc5b81
tree22c170c07e1285571d4a9e12c4ab737bdf4d85b9
parentb7bfaa761d760e72a969d116517eaa12e404c262
arm64: Add compat hwcap FPHP and ASIMDHP

These hwcaps were added earlier for 32-bit native arm kernel by commit
c00a19c8b143 ("ARM: 9268/1: vfp: Add hwcap FPHP and ASIMDHP for FEAT_FP16")
and hence the corresponding changes added in 32-bit compat arm64 kernel for
similar userspace interfaces.

Floating point half-precision (FPHP) and Advanced SIMD half-precision
(ASIMDHP) represents the Armv8 FP16 feature extension and is already
advertised in native arm64 kernel.

Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230111053706.13994-2-amit.kachhap@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c