projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3dd11a
)
arm64: proton-pack: Add KRYO2XX silver CPUs to spectre-v2 safe-list
author
Konrad Dybcio
<konrad.dybcio@somainline.org>
Wed, 4 Nov 2020 23:22:12 +0000
(
00:22
+0100)
committer
Will Deacon
<will@kernel.org>
Fri, 13 Nov 2020 09:47:08 +0000
(09:47 +0000)
KRYO2XX silver (LITTLE) CPUs are based on Cortex-A53
and they are not affected by spectre-v2.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link:
https://lore.kernel.org/r/20201104232218.198800-4-konrad.dybcio@somainline.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/proton-pack.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/proton-pack.c
b/arch/arm64/kernel/proton-pack.c
index
c18eb7d
..
f6e4e37
100644
(file)
--- a/
arch/arm64/kernel/proton-pack.c
+++ b/
arch/arm64/kernel/proton-pack.c
@@
-118,6
+118,7
@@
static enum mitigation_state spectre_v2_get_cpu_hw_mitigation_state(void)
MIDR_ALL_VERSIONS(MIDR_CORTEX_A55),
MIDR_ALL_VERSIONS(MIDR_BRAHMA_B53),
MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
+ MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_2XX_SILVER),
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_3XX_SILVER),
MIDR_ALL_VERSIONS(MIDR_QCOM_KRYO_4XX_SILVER),
{ /* sentinel */ }