OrangePi_CM5/arch/arm/kernel
Ard Biesheuvel a89888648e 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:17:59 +02:00
..
.gitignore
…
Makefile ARM: report Spectre v2 status through sysfs 2022-03-11 12:11:50 +01:00
arch_timer.c
…
armksyms.c
…
asm-offsets.c ARM: 9075/1: kernel: Fix interrupted SMC calls 2021-05-22 11:40:53 +02:00
atags.h ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address 2021-05-19 10:13:18 +02:00
atags_compat.c
…
atags_parse.c ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address 2021-05-19 10:13:18 +02:00
atags_proc.c
…
bios32.c ARM/PCI: Remove unused fields from struct hw_pci 2020-09-18 22:39:09 +01:00
bugs.c
…
cpuidle.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
crash_dump.c
…
debug.S ARM: 9005/1: debug: Select flow control for all debug UARTs 2020-09-15 14:35:28 +01:00
devtree.c ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address 2021-05-19 10:13:18 +02:00
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:17:59 +02:00
entry-common.S ARM: Spectre-BHB workaround 2022-03-11 12:11:50 +01:00
entry-ftrace.S ARM: ftrace: avoid redundant loads or clobbering IP 2022-04-08 14:40:34 +02:00
entry-header.S
…
entry-v7m.S
…
fiq.c
…
fiqasm.S
…
ftrace.c ARM: 9079/1: ftrace: Add MODULE_PLTS support 2021-09-26 14:08:56 +02:00
head-common.S
…
head-inflate-data.c
…
head-nommu.S
…
head.S ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section 2021-05-19 10:13:18 +02:00
hibernate.c
…
hw_breakpoint.c ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook 2021-05-19 10:13:01 +02:00
hyp-stub.S
…
insn.c ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link() 2021-09-26 14:08:56 +02:00
io.c
…
irq.c ARM: Remove custom IRQ stat accounting 2020-09-17 16:37:28 +01:00
isa.c
…
iwmmxt.S ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler 2021-03-17 17:06:26 +01:00
iwmmxt.h ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler 2021-03-17 17:06:26 +01:00
jump_label.c
…
kgdb.c ARM: Fix kgdb breakpoint for Thumb2 2022-03-08 19:09:36 +01:00
machine_kexec.c ARM: kexec: fix oops after TLB are invalidated 2021-02-17 11:02:24 +01:00
module-plts.c ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE 2021-09-26 14:08:56 +02:00
module.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
opcodes.c
…
paravirt.c
…
patch.c
…
perf_callchain.c perf: Protect perf_guest_cbs with RCU 2022-01-20 09:17:50 +01:00
perf_event_v6.c
…
perf_event_v7.c arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode 2021-07-14 16:55:39 +02:00
perf_event_xscale.c
…
perf_regs.c perf/arch: Remove perf_sample_data::regs_user_copy 2020-11-09 18:12:34 +01:00
pj4-cp0.c
…
process.c sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
psci_smp.c
…
ptrace.c arm: switch to ->regset_get() 2020-07-27 14:31:09 -04:00
reboot.c
…
reboot.h
…
relocate_kernel.S ARM: kexec: fix oops after TLB are invalidated 2021-02-17 11:02:24 +01:00
return_address.c
…
setup.c ARM: 9081/1: fix gcc-10 thumb2-kernel regression 2021-06-30 08:47:16 -04:00
signal.c ARM: ensure the signal page contains defined contents 2021-02-17 11:02:24 +01:00
signal.h
…
sigreturn_codes.S
…
sleep.S
…
smccc-call.S ARM: 9075/1: kernel: Fix interrupted SMC calls 2021-05-22 11:40:53 +02:00
smp.c sched/core: Initialize the idle task with preemption disabled 2021-07-14 16:55:50 +02:00
smp_scu.c
…
smp_tlb.c
…
smp_twd.c
…
spectre.c ARM: fix build error when BPF_SYSCALL is disabled 2022-03-11 12:11:53 +01:00
stacktrace.c ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame() 2022-05-25 09:17:54 +02:00
suspend.c ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() 2021-05-22 11:40:52 +02:00
swp_emulate.c uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:40:35 +02:00
sys_arm.c
…
sys_oabi-compat.c ARM: 9065/1: OABI compat: fix build when EPOLL is not enabled 2021-03-04 11:38:10 +01:00
tcm.c
…
thumbee.c
…
time.c
…
topology.c ARM, sched/topology: Revert back to default scheduler topology 2020-08-19 10:49:47 +02:00
traps.c uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:40:35 +02:00
unwind.c arm: add loglvl to unwind_backtrace() 2020-06-09 09:39:10 -07:00
v7m.c
…
vdso.c ARM: 8987/1: VDSO: Fix incorrect clock_gettime64 2020-07-21 16:32:55 +01:00
vmlinux-xip.lds.S ARM: 9141/1: only warn about XIP address when not compile testing 2021-11-02 19:48:18 +01:00
vmlinux.lds.S arm/build: Always handle .ARM.exidx and .ARM.extab sections 2020-10-27 11:32:21 -07:00
xscale-cp0.c
…