]> asedeno.scripts.mit.edu Git - linux.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)
commit880f7cc47265e7b195781dfa9a0cd62ef78304e3
treeffaa7c8a3382b50cd24a25b60bc4b004b426fa33
parentab510027dc4dbd1eeb611a34b0cda8b21fcde492
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