arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist
authorSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Thu, 25 Jun 2020 10:31:23 +0000 (16:01 +0530)
committerWill Deacon <will@kernel.org>
Thu, 25 Jun 2020 19:18:57 +0000 (20:18 +0100)
QCOM KRYO{3,4}XX silver/LITTLE CPU cores are based on
Cortex-A55 and are SSB safe, hence add them to SSB
safelist -> arm64_ssb_cpus[].

Reported-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200625103123.7240-1-saiprakash.ranjan@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpu_errata.c

index ad06d6802d2eecf82bb0e646c622a09c5e07ec43..cf50c53e9357ea4fb036acff9685d80e75cf9823 100644 (file)
@@ -460,6 +460,8 @@ static const struct midr_range arm64_ssb_cpus[] = {
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A53),
        MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
        MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
+       MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
+       MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
        {},
 };