tmp_suning_uos_patched/arch/xtensa/kernel
Max Filippov dac518bbce xtensa: fix stop_machine_cpuslocked call in patch_text
commit f406f2d03e07afc199dd8cf501f361dde6be8a69 upstream.

patch_text must invoke patch_text_stop_machine on all online CPUs, but
it calls stop_machine_cpuslocked with NULL cpumask. As a result only one
CPU runs patch_text_stop_machine potentially leaving stale icache
entries on other CPUs. Fix that by calling stop_machine_cpuslocked with
cpu_online_mask as the last argument.

Cc: stable@vger.kernel.org
Fixes: 64711f9a47 ("xtensa: implement jump_label support")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:39:58 +02:00
..
syscalls
.gitignore
align.S
asm-offsets.c
coprocessor.S
entry.S
head.S
hw_breakpoint.c
irq.c
jump_label.c
Makefile
mcount.S
module.c
mxhead.S
pci-dma.c
pci.c
perf_event.c
platform.c
process.c
ptrace.c
s32c1i_selftest.c
setup.c
signal.c
smp.c
stacktrace.c
syscall.c
time.c
traps.c
vectors.S
vmlinux.lds.S
xtensa_ksyms.c