]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpu_errata: Remove ARM64_MISMATCHED_CACHE_LINE_SIZE
authorWill Deacon <will.deacon@arm.com>
Wed, 19 Sep 2018 10:41:21 +0000 (11:41 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 19 Sep 2018 17:21:49 +0000 (18:21 +0100)
commit283aa4f94c5afc6f5e412c56dfdca6253a5a1567
treeffaa7c8a3382b50cd24a25b60bc4b004b426fa33
parent0748c54ad60f9c9fea96771ebbca579b89703d2f
arm64: cpu_errata: Remove ARM64_MISMATCHED_CACHE_LINE_SIZE

There's no need to treat mismatched cache-line sizes reported by CTR_EL0
differently to any other mismatched fields that we treat as "STRICT" in
the cpufeature code. In both cases we need to trap and emulate EL0
accesses to the register, so drop ARM64_MISMATCHED_CACHE_LINE_SIZE and
rely on ARM64_MISMATCHED_CACHE_TYPE instead.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
[catalin.marinas@arm.com: move ARM64_HAS_CNP in the empty cpucaps.h slot]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/assembler.h
arch/arm64/include/asm/cpucaps.h
arch/arm64/kernel/cpu_errata.c