Skip to content

Commit 0c9fc6e

Browse files
diandersctmarinas
authored andcommitted
arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre BHB safe list
Qualcomm has confirmed that, much like Cortex A53 and A55, KRYO 2XX/3XX/4XX silver cores are unaffected by Spectre BHB. Add them to the safe list. Fixes: 558c303 ("arm64: Mitigate spectre style branch history side channels") Cc: [email protected] Cc: Scott Bauer <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Acked-by: Trilok Soni <[email protected]> Link: https://lore.kernel.org/r/20250107120555.v4.3.Iab8dbfb5c9b1e143e7a29f410bce5f9525a0ba32@changeid Signed-off-by: Catalin Marinas <[email protected]>
1 parent e403e85 commit 0c9fc6e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm64/kernel/proton-pack.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,9 @@ static bool is_spectre_bhb_safe(int scope)
854854
MIDR_ALL_VERSIONS(MIDR_CORTEX_A510),
855855
MIDR_ALL_VERSIONS(MIDR_CORTEX_A520),
856856
MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
857+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER),
858+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
859+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
857860
{},
858861
};
859862
static bool all_safe = true;

0 commit comments

Comments
 (0)