tag | c7f2e8f031e9009989a63119f247bc3ce0f2003b | |
---|---|---|
tagger | Dennis Zhou <dennis@kernel.org> | Wed Feb 07 17:18:37 2024 -0800 |
object | ebd4acc0cbeae9efea15993b11b05bd32942f3f0 |
percpu: - fix riscv wrong size passed to local_flush_tlb_range_asid()
commit | ebd4acc0cbeae9efea15993b11b05bd32942f3f0 | [log] [tgz] |
---|---|---|
author | Alexandre Ghiti <alexghiti@rivosinc.com> | Tue Jan 23 14:27:30 2024 +0100 |
committer | Dennis Zhou <dennis@kernel.org> | Mon Jan 29 00:53:19 2024 -0800 |
tree | 69b605a9d5eca1afa5e1211dbbef7006eef283db | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 [diff] |
riscv: Fix wrong size passed to local_flush_tlb_range_asid() local_flush_tlb_range_asid() takes the size as argument, not the end of the range to flush, so fix this by computing the size from the end and the start of the range. Fixes: 7a92fc8b4d20 ("mm: Introduce flush_cache_vmap_early()") Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Dennis Zhou <dennis@kernel.org>