diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2023-12-20 01:50:43 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-24 15:55:53 -0800 |
commit | 8246601a7d391ce8207408149d65732f28af81a1 (patch) | |
tree | a08496c95014aa0faea47d149bf63e047e550b59 /tools/perf/scripts/python/gecko.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
riscv: tlb: fix __p*d_free_tlb()
If non-leaf PTEs I.E pmd, pud or p4d is modified, a sfence.vma is
a must for safe, imagine if an implementation caches the non-leaf
translation in TLB, although I didn't meet this HW so far, but it's
possible in theory.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Fixes: c5e9b2c2ae82 ("riscv: Improve tlb_flush()")
Link: https://lore.kernel.org/r/20231219175046.2496-2-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions