arm64: Detect the ARMv8.4 TTL feature
authorMarc Zyngier <maz@kernel.org>
Sat, 22 Dec 2018 12:00:10 +0000 (12:00 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 7 Jul 2020 08:27:14 +0000 (09:27 +0100)
commit552ae76face5584085845646c5f57e10c1a4ebdc
tree9b00fd515e081c3d7230e2ee29aa0eb5ed18073e
parent9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
arm64: Detect the ARMv8.4 TTL feature

In order to reduce the cost of TLB invalidation, the ARMv8.4 TTL
feature allows TLBs to be issued with a level allowing for quicker
invalidation.

Let's detect the feature for now. Further patches will implement
its actual usage.

Reviewed-by : Suzuki K Polose <suzuki.poulose@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c