Skip to content
Unverified Commit 3f1e7829 authored by Guo Ren's avatar Guo Ren Committed by Palmer Dabbelt
Browse files

riscv: add ASID-based tlbflushing methods



Implement optimized version of the tlb flushing routines for systems
using ASIDs. These are behind the use_asid_allocator static branch to
not affect existing systems not using ASIDs.

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
[hch: rebased on top of previous cleanups, use the same algorithm as
      the non-ASID based code for local vs global flushes, keep functions
      as local as possible]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Tested-by: default avatarGuo Ren <guoren@kernel.org>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 70c7605c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment