]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Handle mismatched cache type
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 4 Jul 2018 22:07:46 +0000 (23:07 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 5 Jul 2018 09:20:59 +0000 (10:20 +0100)
commit4ed3892dcc6938d9d68876ba72a0a9a2ae972961
tree201eddf7774afbd9ef20845a69f091aeef94e056
parent1995e6ae6f6d3ecb99fb1160b4e8aca2dfedce18
arm64: Handle mismatched cache type

Track mismatches in the cache type register (CTR_EL0), other
than the D/I min line sizes and trap user accesses if there are any.

Fixes: 6d1afa52f57d ("arm64: cpufeature: Fix CTR_EL0 field definitions")
Cc: <stable@vger.kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/kernel/cpu_errata.c