Ard Biesheuvel 047794b3cf ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
[ Upstream commit 3cfb3019979666bdf33a1010147363cf05e0f17b ]

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 <ardb@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-25 09:10:40 +02:00
..
2018-01-21 15:37:56 +00:00
2022-03-11 10:15:12 +01:00
2018-08-22 10:52:44 -07:00
2019-06-15 11:54:00 +02:00
2018-07-20 00:02:41 +02:00
2022-03-11 10:15:12 +01:00