]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19bf8844435c061781075afa81434014b6374e6e
treec8e8ea36d8cb73ced0b6557d7e862cf9571408bb
parent8e9de1ea4362bcb567095bca3ad0cb3df1994e03
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