summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-clint.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-03-26 21:49:54 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-04-29 10:49:36 -0700
commitdaef19263fc102551d734f39d9ad417098ffb360 (patch)
tree176ad901b7512769856c468ef91620275a91c81f /drivers/clocksource/timer-clint.c
parent8fc21cc672e8ea7954fdc6b59d9ce350730e9c92 (diff)
riscv: mm: Always use an ASID to flush mm contexts
Even if multiple ASIDs are not supported, using the single-ASID variant of the sfence.vma instruction preserves TLB entries for global (kernel) pages. So it is always more efficient to use the single-ASID code path. Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Link: https://lore.kernel.org/r/20240327045035.368512-14-samuel.holland@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/clocksource/timer-clint.c')
0 files changed, 0 insertions, 0 deletions