arm64: errata: Add QCOM_KRYO_4XX_GOLD to the spectre_bhb_k24_list
authorDouglas Anderson <dianders@chromium.org>
Tue, 7 Jan 2025 20:05:58 +0000 (12:05 -0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Mar 2025 17:58:25 +0000 (17:58 +0000)
commited1ce841245d8febe3badf51c57e81c3619d0a1d
tree815f1ccd389aca0ebcdab8106504034246d940ef
parent0ad2507d5d93f39619fc42372c347d6006b64319
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: 558c303c9734 ("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>
arch/arm64/kernel/proton-pack.c