android_kernel_xiaomi_sm7250/arch/arm/kernel
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
..
.gitignore
arch_timer.c
armksyms.c
asm-offsets.c ARM: 9075/1: kernel: Fix interrupted SMC calls 2021-05-22 10:59:49 +02:00
atags_compat.c
atags_parse.c
atags_proc.c
atags.h
bios32.c
bugs.c
cpuidle.c
crash_dump.c
debug.S
devtree.c
dma-isa.c
dma.c
early_printk.c
efi.c
elf.c
entry-armv.S ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2 2022-05-25 09:10:40 +02:00
entry-common.S ARM: Spectre-BHB workaround 2022-03-11 10:15:12 +01:00
entry-ftrace.S
entry-header.S
entry-v7m.S
fiq.c
fiqasm.S
ftrace.c ARM: 9079/1: ftrace: Add MODULE_PLTS support 2021-10-06 15:31:26 +02:00
head-common.S
head-inflate-data.c
head-nommu.S
head.S ARM: p2v: fix handling of LPAE translation in BE mode 2020-12-30 11:25:50 +01:00
hibernate.c
hw_breakpoint.c ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook 2021-05-22 10:59:42 +02:00
hyp-stub.S
insn.c ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link() 2021-10-06 15:31:26 +02:00
io.c
irq.c
isa.c
iwmmxt.S
jump_label.c
kgdb.c
machine_kexec.c ARM: kexec: fix oops after TLB are invalidated 2021-02-23 15:00:57 +01:00
Makefile ARM: report Spectre v2 status through sysfs 2022-03-11 10:15:11 +01:00
module-plts.c ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE 2021-10-06 15:31:26 +02:00
module.c
module.lds
opcodes.c
paravirt.c
patch.c
perf_callchain.c
perf_event_v6.c
perf_event_v7.c arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode 2021-07-20 16:15:39 +02:00
perf_event_xscale.c
perf_regs.c
pj4-cp0.c
process.c
psci_smp.c
ptrace.c ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook 2020-06-22 09:04:59 +02:00
reboot.c
reboot.h
relocate_kernel.S ARM: kexec: fix oops after TLB are invalidated 2021-02-23 15:00:57 +01:00
return_address.c ARM: 8918/2: only build return_address() if needed 2021-09-22 11:47:46 +02:00
setup.c ARM: 9081/1: fix gcc-10 thumb2-kernel regression 2021-06-30 08:48:28 -04:00
signal.c ARM: ensure the signal page contains defined contents 2021-02-23 15:00:57 +01:00
signal.h
sigreturn_codes.S
sleep.S
smccc-call.S ARM: 9075/1: kernel: Fix interrupted SMC calls 2021-05-22 10:59:49 +02:00
smp_scu.c
smp_tlb.c
smp_twd.c
smp.c
spectre.c ARM: fix build error when BPF_SYSCALL is disabled 2022-03-11 10:15:12 +01:00
stacktrace.c ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame() 2022-05-25 09:10:37 +02:00
suspend.c ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() 2021-05-22 10:59:48 +02:00
swp_emulate.c
sys_arm.c
sys_oabi-compat.c
tcm.c
thumbee.c
time.c
topology.c
traps.c ARM: Spectre-BHB workaround 2022-03-11 10:15:12 +01:00
unwind.c
v7m.c
vdso.c
vmlinux-xip.lds.S ARM: 9141/1: only warn about XIP address when not compile testing 2021-11-02 18:26:43 +01:00
vmlinux.lds.h ARM: Do not use NOCROSSREFS directive with ld.lld 2022-03-11 10:15:12 +01:00
vmlinux.lds.S
xscale-cp0.c