diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-04-20 09:55:35 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-05-20 12:32:32 +0100 |
commit | c4f486f1e7b34b27ec578494a236061b337d50ae (patch) | |
tree | d9b03c71b2c2b8ffd07d8e88b955b3ebc5d657c5 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 508074607c7b95b24f0adf633fdf606761bb7824 (diff) |
ARM: 9198/1: spectre-bhb: simplify BPIALL vector macro
The BPIALL mitigation for Spectre-BHB adds a single instruction to the
handler sequence that doesn't clobber any registers. Given that these
sequences are 10 instructions long, they don't fit neatly into a
cacheline anyway, so we can simply move that single instruction to the
start of the unmitigated one, and rearrange the symbol names accordingly.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions