arm64: Kill detection of VPIPT i-cache policy
authorMarc Zyngier <maz@kernel.org>
Mon, 4 Dec 2023 14:36:05 +0000 (14:36 +0000)
committerWill Deacon <will@kernel.org>
Tue, 5 Dec 2023 11:38:03 +0000 (11:38 +0000)
commitd8e12a0d3715fbcc26fb2baac979bd07ba4c08d0
tree3db4c0ac05841ed19cb6de9f059dee016ac37cf5
parentced242ba9d7cb3571f6e0f165f643cb832d52148
arm64: Kill detection of VPIPT i-cache policy

Since the kernel will never run on a system with the VPIPT i-cache
policy, drop the detection code altogether.

Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20231204143606.1806432-3-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cache.h
arch/arm64/kernel/cpuinfo.c