]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpufeature: Allow early filtering of feature override
authorMarc Zyngier <maz@kernel.org>
Thu, 8 Apr 2021 13:10:08 +0000 (14:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 8 Apr 2021 17:45:16 +0000 (18:45 +0100)
commitd225e90c68b5a09124ed93873903b51474e6344c
treee963376e62f64f656a5750b3cc5a28788f432480
parent155740eb4d33ce3a3ca0d38d270a3f49add1ff95
arm64: cpufeature: Allow early filtering of feature override

Some CPUs are broken enough that some overrides need to be rejected
at the earliest opportunity. In some cases, that's right at cpu
feature override time.

Provide the necessary infrastructure to filter out overrides,
and to report such filtered out overrides to the core cpufeature code.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210408131010.1109027-2-maz@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/idreg-override.c