diff options
author | Alexandre Ghiti <alex@ghiti.fr> | 2021-03-13 11:45:04 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-03-17 07:55:18 +0300 |
commit | f3773dd031de7b283227f6104049688f77074a2d (patch) | |
tree | d00ee08c022dde7136179bbdb659a114d0104b9d /mm | |
parent | ce989f1472ae350e844b10c880b22543168fbc92 (diff) | |
download | linux-f3773dd031de7b283227f6104049688f77074a2d.tar.xz |
riscv: Ensure page table writes are flushed when initializing KASAN vmalloc
Make sure that writes to kernel page table during KASAN vmalloc
initialization are made visible by adding a sfence.vma.
Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Fixes: e178d670f251 ("riscv/kasan: add KASAN_VMALLOC support")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions