arm64: Add HWCAP for self-synchronising virtual counter
authorMarc Zyngier <maz@kernel.org>
Sun, 17 Oct 2021 12:42:25 +0000 (13:42 +0100)
committerWill Deacon <will@kernel.org>
Tue, 19 Oct 2021 09:56:20 +0000 (10:56 +0100)
commitfee29f008aa3f2aff01117f28b57b1145d92cb9b
treec8e8ea36d8cb73ced0b6557d7e862cf9571408bb
parentae976f063b605dd558571eff40c8229ffbc39e24
arm64: Add HWCAP for self-synchronising virtual counter

Since userspace can make use of the CNTVSS_EL0 instruction, expose
it via a HWCAP.

Suggested-by: Will Deacon <will@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211017124225.3018098-18-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/arm64/cpu-feature-registers.rst
Documentation/arm64/elf_hwcaps.rst
arch/arm64/include/asm/hwcap.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c