summaryrefslogtreecommitdiff
path: root/arch/riscv/kvm/Makefile
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2025-06-18 17:05:31 +0530
committerAnup Patel <anup@brainfault.org>2025-07-28 22:27:30 +0530
commitdd82e35638d67f4f459eb5324b722295c0ae3da7 (patch)
treebb6276583fd5dcc601f936c148ed204fceb2b223 /arch/riscv/kvm/Makefile
parent4c933f3a39ded0df1d727069dbe28bbb460b32ec (diff)
downloadlwn-dd82e35638d67f4f459eb5324b722295c0ae3da7.tar.gz
lwn-dd82e35638d67f4f459eb5324b722295c0ae3da7.zip
RISC-V: KVM: Factor-out g-stage page table management
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>
Diffstat (limited to 'arch/riscv/kvm/Makefile')
-rw-r--r--arch/riscv/kvm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kvm/Makefile b/arch/riscv/kvm/Makefile
index 4e0bba91d284..4b199dc3e58b 100644
--- a/arch/riscv/kvm/Makefile
+++ b/arch/riscv/kvm/Makefile
@@ -14,6 +14,7 @@ kvm-y += aia.o
kvm-y += aia_aplic.o
kvm-y += aia_device.o
kvm-y += aia_imsic.o
+kvm-y += gstage.o
kvm-y += main.o
kvm-y += mmu.o
kvm-y += nacl.o