Skip to content

Commit 5e1e087

Browse files
Zenghui Yuwilldeacon
authored andcommitted
arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76
Since commit 51f559d ("arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs"), we failed to detect erratum 1286807 on Cortex-A76 because its entry in arm64_repeat_tlbi_list[] was accidently corrupted by this commit. Fix this issue by creating a separate entry for Kryo4xx Gold. Fixes: 51f559d ("arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs") Cc: Shreyas K K <[email protected]> Signed-off-by: Zenghui Yu <[email protected]> Acked-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 568035b commit 5e1e087

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/kernel/cpu_errata.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = {
208208
#ifdef CONFIG_ARM64_ERRATUM_1286807
209209
{
210210
ERRATA_MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 0),
211+
},
212+
{
211213
/* Kryo4xx Gold (rcpe to rfpe) => (r0p0 to r3p0) */
212214
ERRATA_MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xe),
213215
},

0 commit comments

Comments
 (0)