[PATCH 0/6] ARM: spectre-bhb fixes and tweaks

Ard Biesheuvel ardb at kernel.org
Mon Mar 28 06:47:08 PDT 2022


A couple of bug fixes and tweaks for the ARM version of the Spectre BHB
mitigations. Patches #1 and #2 are bug fixes, the rest are minor
improvements for efficiency and maintainability.

Ard Biesheuvel (6):
  ARM: spectre-bhb: enable for Cortex-A15
  ARM: spectre-bhb: fix loop8 sequence for Thumb2
  ARM: spectre-bhb: simplify BPIALL vector macro
  ARM: spectre-bhb: use local DSB and elide ISB in loop8 sequence
  ARM: spectre-bhb: avoid cross-subsection jump using a numbered label
  ARM: spectre-bhb: rely on linker to emit cross-section literal loads

 arch/arm/kernel/entry-armv.S   | 53 ++++++++++----------
 arch/arm/kernel/entry-common.S |  2 +-
 arch/arm/mm/proc-v7-bugs.c     |  1 +
 3 files changed, 29 insertions(+), 27 deletions(-)

-- 
2.30.2




More information about the linux-arm-kernel mailing list