diff options
author | Sven Schnelle <svens@stackframe.org> | 2021-10-09 21:24:35 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-10-31 00:11:00 +0300 |
commit | a5e8ca3783adba89b815fed9fb8e4879e795f656 (patch) | |
tree | aef97699b7a8c69d71cb9e3d0aab6777ce2f39b1 /Documentation/riscv/patch-acceptance.rst | |
parent | ec5c115050f59114e216212837f1c1ebc54bdfc9 (diff) | |
download | linux-a5e8ca3783adba89b815fed9fb8e4879e795f656.tar.xz |
parisc: disable preemption during local tlb flush
flush_cache_mm() and flush_cache_range() fetch %sr3 via mfsp().
If it matches mm->context, they flush caches and the TLB. However,
the TLB is cpu-local, so if the code gets preempted shortly after
the mfsp(), and later resumed on another CPU, the wrong TLB is flushed.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'Documentation/riscv/patch-acceptance.rst')
0 files changed, 0 insertions, 0 deletions