]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Wed, 4 Nov 2020 23:22:13 +0000 (00:22 +0100)
committerWill Deacon <will@kernel.org>
Fri, 13 Nov 2020 09:47:08 +0000 (09:47 +0000)
QCOM KRYO2XX Silver cores are Cortex-A53 based and are
susceptible to the 845719 erratum. Add them to the lookup
list to apply the erratum.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20201104232218.198800-5-konrad.dybcio@somainline.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpu_errata.c

index 61314fd70f13b9488930792b136dcdd7400e703b..cafaf0da05b7c74c5a406c5d0e07a789732cdafa 100644 (file)
@@ -299,6 +299,8 @@ static const struct midr_range erratum_845719_list[] = {
        MIDR_REV_RANGE(MIDR_CORTEX_A53, 0, 0, 4),
        /* Brahma-B53 r0p[0] */
        MIDR_REV(MIDR_BRAHMA_B53, 0, 0),
+       /* Kryo2XX Silver rAp4 */
+       MIDR_REV(MIDR_QCOM_KRYO_2XX_SILVER, 0xa, 0x4),
        {},
 };
 #endif