]> 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)
commitf64fcc44b8ceecea807f8dc0d824ae18d0a9c6b4
treeb148283a2c6ab7495a237d1c517c471bd2f216ca
parenta3b4761ef3f02969b95903529ceba84495f0b390
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