arch/riscv/include/asm/kvm_gstage.h
0 → 100644
+72
−0
+10
−22
+1
−0
arch/riscv/kvm/gstage.c
0 → 100644
+337
−0
Loading
The upcoming nested virtualization can share g-stage page table management with the current host g-stage implementation hence factor-out g-stage page table management as separate sources and also use "kvm_riscv_mmu_" prefix for host g-stage functions. Signed-off-by:Anup Patel <apatel@ventanamicro.com> Tested-by:
Atish Patra <atishp@rivosinc.com> Reviewed-by:
Nutty Liu <liujingqi@lanxincomputing.com> Link: https://lore.kernel.org/r/20250618113532.471448-12-apatel@ventanamicro.com Signed-off-by:
Anup Patel <anup@brainfault.org>