Skip to content

32bit ARM branch predictor hardening

Andre Przywara linux-arm-kernel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest0 of 6 patches 0 repliesNew
  2. v3 posting 2/20 of 6 patches 0 repliesSuperseded
  3. v3 posting 1/20 of 6 patches 0 repliesSuperseded

Patches in v4 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchAndre Przywara
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/6] 32bit ARM branch predictor hardening

Hi,

Quoted 5 lines · Marc Zyngier

This small series implements some basic BP hardening by invalidating the BTB on 32bit ARM CPUs that are known to be susceptible to aliasing attacks (Spectre variant 2). It doesn't help non-ARM 32bit CPUs, nor 32bit kernels that run on 64bit capable CPUs. This series doesn't mitigate Spectre variant 1 either.

I gave this a test with running both native workloads and some tests in a KVM guest, both with an unpatched and a patched firmware on a Calxeda Midway (Cortex-A15 cores).

Thanks!
Andre.