Skip to content

Commit ed1ce84

Browse files
diandersctmarinas
authored andcommitted
arm64: errata: Add QCOM_KRYO_4XX_GOLD to the spectre_bhb_k24_list
Qualcomm Kryo 400-series Gold cores have a derivative of an ARM Cortex A76 in them. Since A76 needs Spectre mitigation via looping then the Kyro 400-series Gold cores also need Spectre mitigation via looping. Qualcomm has confirmed that the proper "k" value for Kryo 400-series Gold cores is 24. Fixes: 558c303 ("arm64: Mitigate spectre style branch history side channels") Cc: stable@vger.kernel.org Cc: Scott Bauer <sbauer@quicinc.com> Signed-off-by: Douglas Anderson <dianders@chromium.org> Acked-by: Trilok Soni <quic_tsoni@quicinc.com> Link: https://lore.kernel.org/r/20250107120555.v4.1.Ie4ef54abe02e7eb0eee50f830575719bf23bda48@changeid Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 0ad2507 commit ed1ce84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kernel/proton-pack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ u8 spectre_bhb_loop_affected(int scope)
866866
MIDR_ALL_VERSIONS(MIDR_CORTEX_A76),
867867
MIDR_ALL_VERSIONS(MIDR_CORTEX_A77),
868868
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
869+
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_GOLD),
869870
{},
870871
};
871872
static const struct midr_range spectre_bhb_k11_list[] = {

0 commit comments

Comments
 (0)