diff options
| author | Ard Biesheuvel <[email protected]> | 2022-04-20 08:46:17 +0000 |
|---|---|---|
| committer | Russell King (Oracle) <[email protected]> | 2022-05-18 10:38:47 +0000 |
| commit | 3cfb3019979666bdf33a1010147363cf05e0f17b (patch) | |
| tree | 00584b7790f30d7c396b42c5e34ff0fbfa071703 /arch/arm/include/asm/assembler.h | |
| parent | ARM: 9196/1: spectre-bhb: enable for Cortex-A15 (diff) | |
| download | kernel-3cfb3019979666bdf33a1010147363cf05e0f17b.tar.gz kernel-3cfb3019979666bdf33a1010147363cf05e0f17b.zip | |
ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
In Thumb2, 'b . + 4' produces a branch instruction that uses a narrow
encoding, and so it does not jump to the following instruction as
expected. So use W(b) instead.
Fixes: 6c7cb60bff7a ("ARM: fix Thumb2 regression with Spectre BHB")
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions
