arm64: errata: Add Qualcomm CPUs to the Spectre mitigation lists
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | arm64: errata: Add QCOM_KRYO_4XX_GOLD to the spectre_bhb_k24_listarch/ | +1 | 0 replies | |
| 2/6 | arm64: errata: Add QCOM_KRYO_2XX_GOLD to the spectre_bhb_firmware_mitigated_listarch/ | +1 | 3 replies | |
| 3/6 | arm64: cputype: Add QCOM_CPU_PART_KRYO_3XX_GOLDarch/ | +2 | 1 reply | |
| 4/6 | arm64: errata: Add QCOM_KRYO_3XX_GOLD to the spectre_bhb_firmware_mitigated_listarch/ | +1 | 0 replies | |
| 5/6 | arm64: errata: Add QCOM_KRYO_5XX_GOLD to the spectre_bhb_k24_listarch/ | +1 | 5 replies | |
| 6/6 | arm64: errata: Add QCOM_KRYO_6XX_GOLD/PRIME to the spectre_bhb_k32_listarch/ | +2 | 2 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Dmitry Baryshkov |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | R-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] arm64: errata: Add Qualcomm CPUs to the Spectre mitigation lists
Since Qualcomm CPUs are all derivatives of ARM cores they all have unique MIDR values. This means that the tables listing necessary Spectre mitigations need special entries for them. However, those entries are not present and that means that some Spectre mitigations are lacking for Qualcomm CPUs.
I've made an attempt at **GUESSING** what the right patches should be to enable mitigations for Qualcomm CPUs. This is mostly me searching the web to figure out what ARM cores various Qualcomm cores are based off of.
These patches get more and more sketchy as the series progresses and I have noted that the later patces DON'T EVEN COMPILE. I have included them to make it obvious that I think these cores are affected even if I don't have all the right information to mitigate them. Hopefully Qualcomm can come and fix this mess for me.
I'll note that I am certainly no expert on Spectre. Mostly I ended up here running lscpu on a device and noticing that it thought that it wasn't affected by Spectre v2 when I thought it was.
Douglas Anderson (6):
arm64: errata: Add QCOM_KRYO_4XX_GOLD to the spectre_bhb_k24_list
arm64: errata: Add QCOM_KRYO_2XX_GOLD to the
spectre_bhb_firmware_mitigated_list
arm64: cputype: Add QCOM_CPU_PART_KRYO_3XX_GOLD
arm64: errata: Add QCOM_KRYO_3XX_GOLD to the
spectre_bhb_firmware_mitigated_list
arm64: errata: Add QCOM_KRYO_5XX_GOLD to the spectre_bhb_k24_list
arm64: errata: Add QCOM_KRYO_6XX_GOLD/PRIME to the
spectre_bhb_k32_list
arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/kernel/proton-pack.c | 6 ++++++ 2 files changed, 8 insertions(+)
Signature · 1 line
2.47.0.338.g60cca15819-goog