summaryrefslogtreecommitdiff
path: root/Documentation/riscv/patch-acceptance.rst
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2021-10-09 21:24:35 +0300
committerHelge Deller <deller@gmx.de>2021-10-31 00:11:00 +0300
commita5e8ca3783adba89b815fed9fb8e4879e795f656 (patch)
treeaef97699b7a8c69d71cb9e3d0aab6777ce2f39b1 /Documentation/riscv/patch-acceptance.rst
parentec5c115050f59114e216212837f1c1ebc54bdfc9 (diff)
downloadlinux-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