]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpufeature: add HWCAP for FEAT_AFP
authorJoey Gouly <joey.gouly@arm.com>
Fri, 10 Dec 2021 16:54:30 +0000 (16:54 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 13 Dec 2021 18:52:59 +0000 (18:52 +0000)
commit238802ad3ad957e1cdc20e50f359cb7b5d2b0eed
treede22698982896d4808630041ca8797f2b522ca3b
parentff04131966d1a79c1b3cf26997a8e7d1433f1b7d
arm64: cpufeature: add HWCAP for FEAT_AFP

Add a new HWCAP to detect the Alternate Floating-point Behaviour
feature (FEAT_AFP), introduced in Armv8.7.

Also expose this to userspace in the ID_AA64MMFR1_EL1 feature register.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211210165432.8106-2-joey.gouly@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/cpu-feature-registers.rst
Documentation/arm64/elf_hwcaps.rst
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