diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-03-16 10:04:17 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-03-16 10:14:20 +0100 |
commit | f406f2d03e07afc199dd8cf501f361dde6be8a69 (patch) | |
tree | 689508261002a8d69b29d1919d4974fb75617864 /mm | |
parent | xtensa: make secondary reset vector support conditional (diff) | |
download | linux-f406f2d03e07afc199dd8cf501f361dde6be8a69.tar.xz linux-f406f2d03e07afc199dd8cf501f361dde6be8a69.zip |
xtensa: fix stop_machine_cpuslocked call in patch_text
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: 64711f9a47d4 ("xtensa: implement jump_label support")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions