diff options
author | ShihPo Hung | 2019-06-17 06:26:17 +0200 |
---|---|---|
committer | Paul Walmsley | 2019-06-17 12:44:44 +0200 |
commit | bf587caae305ae3b4393077fb22c98478ee55755 (patch) | |
tree | ab59e43380e7b8e32b79875eb26a5c27e5046957 /tools | |
parent | riscv: dts: add initial board data for the SiFive HiFive Unleashed (diff) | |
download | kernel-qcow2-linux-bf587caae305ae3b4393077fb22c98478ee55755.tar.gz kernel-qcow2-linux-bf587caae305ae3b4393077fb22c98478ee55755.tar.xz kernel-qcow2-linux-bf587caae305ae3b4393077fb22c98478ee55755.zip |
riscv: mm: synchronize MMU after pte change
Because RISC-V compliant implementations can cache invalid entries
in TLB, an SFENCE.VMA is necessary after changes to the page table.
This patch adds an SFENCE.vma for the vmalloc_fault path.
Signed-off-by: ShihPo Hung <shihpo.hung@sifive.com>
[paul.walmsley@sifive.com: reversed tab->whitespace conversion,
wrapped comment lines]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: linux-riscv@lists.infradead.org
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions