diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-03-09 12:57:20 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-03-12 22:07:25 +0530 |
commit | 90cb4917b584b07df3e4037a3b660e9ac28e3384 (patch) | |
tree | 4b4905f9c70c5909d2b642255d542b71fb700710 /docs | |
parent | 508a27204cbbca0a9430236e56681e5e0d343fb9 (diff) |
lib: Implement sfence.vma correctly.
Currently, OpenSBI doesn't distinguish between sfence.vma
and sfence.vm asid calls. Moreover, it ignores the page
ranges and just flush entire TLB everytime.
Fix the sfence implementation by keeping all the tlb flush
info in scratch area.
The relevant Linux kernel code was added by
https://patchwork.kernel.org/project/linux-riscv/list/?series=89695
However, this patch is backward compatible with older version kernel
that doesn't have the above patches as well.
Fixes #87
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions