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:Guo 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:
Christoph Hellwig <hch@lst.de> Tested-by:
Guo Ren <guoren@kernel.org> Signed-off-by:
Palmer Dabbelt <palmerdabbelt@google.com>
Showing
Please register or sign in to comment