summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kvm/Makefile
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-07-29 13:44:40 +0200
committerAnup Patel <anup@brainfault.org>2022-07-29 13:44:40 +0200
commitb91f0e4cb8a3ce4f2716a13739ade0f7bea8eadb (patch)
tree29fab87cac1769e2683db465f6ac620118e31652 /arch/riscv/kvm/Makefile
parentRISC-V: KVM: move preempt_disable() call in kvm_arch_vcpu_ioctl_run (diff)
downloadlinux-b91f0e4cb8a3ce4f2716a13739ade0f7bea8eadb.tar.xz
linux-b91f0e4cb8a3ce4f2716a13739ade0f7bea8eadb.zip
RISC-V: KVM: Factor-out instruction emulation into separate sources
The instruction and CSR emulation for VCPU is going to grow over time due to upcoming AIA, PMU, Nested and other virtualization features. Let us factor-out VCPU instruction emulation from vcpu_exit.c to a separate source dedicated for this purpose. Signed-off-by: Anup Patel <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 e5c56182f48f..019df9208bdd 100644
--- a/arch/riscv/kvm/Makefile
+++ b/arch/riscv/kvm/Makefile
@@ -17,6 +17,7 @@ kvm-y += mmu.o
kvm-y += vcpu.o
kvm-y += vcpu_exit.o
kvm-y += vcpu_fp.o
+kvm-y += vcpu_insn.o
kvm-y += vcpu_switch.o
kvm-y += vcpu_sbi.o
kvm-$(CONFIG_RISCV_SBI_V01) += vcpu_sbi_v01.o