]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: KVM: Use G-stage name for hypervisor page table
authorAnup Patel <apatel@ventanamicro.com>
Mon, 9 May 2022 05:13:30 +0000 (10:43 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 20 May 2022 03:39:01 +0000 (09:09 +0530)
commit1853b8fb82db226282d92159cd2e293088e5b357
treeb148283a2c6ab7495a237d1c517c471bd2f216ca
parenta1133c438d497bfa0718f2d8af065f205b01ccd8
RISC-V: KVM: Use G-stage name for hypervisor page table

The two-stage address translation defined by the RISC-V privileged
specification defines: VS-stage (guest virtual address to guest
physical address) programmed by the Guest OS  and G-stage (guest
physical addree to host physical address) programmed by the
hypervisor.

To align with above terminology, we replace "stage2" with "gstage"
and "Stage2" with "G-stage" name everywhere in KVM RISC-V sources.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_host.h
arch/riscv/kvm/main.c
arch/riscv/kvm/mmu.c
arch/riscv/kvm/vcpu.c
arch/riscv/kvm/vcpu_exit.c
arch/riscv/kvm/vm.c
arch/riscv/kvm/vmid.c