diff options
| author | Dylan.Wu <fredwudi0305@gmail.com> | 2026-07-01 03:52:39 -0400 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-07-13 18:17:01 +0530 |
| commit | 1cc935ec2d87673e3c52ba04f943ab1276c0635b (patch) | |
| tree | 1dec1809bbbb6d8cfd404133ed8882cc116e129f /tools/lib/python | |
| parent | 0cc15f2c7a55820bc0a1c7713222d1d7ee46cab4 (diff) | |
riscv: kvm: Skip TLB flush when G-stage PTE becomes valid with Svvptc
The gstage_tlb_flush() in the kvm_riscv_gstage_set_pte() is not needed
when an invalid G-stage PTE becomes valid and Svvptc extension is available
because new valid PTEs become visible to the page-table walker within a
bounded time.
Assisted-by: YuanSheng: deepseek-v4-pro
Co-developed-by: Quan Zhou <zhouquan@iscas.ac.cn>
Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn>
Signed-off-by: Dylan.Wu <fredwudi0305@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260701075239.95542-1-fredwudi0305@gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
