2021-09-27 11:40:01 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
|
|
|
# Makefile for RISC-V KVM support
|
|
|
|
#
|
|
|
|
|
|
|
|
ccflags-y += -I $(srctree)/$(src)
|
|
|
|
|
2021-11-21 12:54:44 +00:00
|
|
|
include $(srctree)/virt/kvm/Makefile.kvm
|
2021-09-27 11:40:01 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
|
|
|
2021-09-27 11:40:08 +00:00
|
|
|
kvm-y += main.o
|
|
|
|
kvm-y += vm.o
|
|
|
|
kvm-y += vmid.o
|
|
|
|
kvm-y += tlb.o
|
|
|
|
kvm-y += mmu.o
|
|
|
|
kvm-y += vcpu.o
|
|
|
|
kvm-y += vcpu_exit.o
|
2021-10-26 17:01:35 +00:00
|
|
|
kvm-y += vcpu_fp.o
|
2023-06-05 11:07:16 +00:00
|
|
|
kvm-y += vcpu_vector.o
|
2022-07-29 11:44:40 +00:00
|
|
|
kvm-y += vcpu_insn.o
|
2021-09-27 11:40:08 +00:00
|
|
|
kvm-y += vcpu_switch.o
|
2021-09-27 11:40:14 +00:00
|
|
|
kvm-y += vcpu_sbi.o
|
2021-11-18 08:39:09 +00:00
|
|
|
kvm-$(CONFIG_RISCV_SBI_V01) += vcpu_sbi_v01.o
|
2021-11-18 08:39:10 +00:00
|
|
|
kvm-y += vcpu_sbi_base.o
|
2021-11-18 08:39:11 +00:00
|
|
|
kvm-y += vcpu_sbi_replace.o
|
2021-11-18 08:39:12 +00:00
|
|
|
kvm-y += vcpu_sbi_hsm.o
|
2021-09-27 11:40:11 +00:00
|
|
|
kvm-y += vcpu_timer.o
|
2023-02-07 09:55:23 +00:00
|
|
|
kvm-$(CONFIG_RISCV_PMU_SBI) += vcpu_pmu.o vcpu_sbi_pmu.o
|
2023-01-10 11:14:25 +00:00
|
|
|
kvm-y += aia.o
|
2023-06-15 07:33:49 +00:00
|
|
|
kvm-y += aia_device.o
|
2023-06-15 07:33:50 +00:00
|
|
|
kvm-y += aia_aplic.o
|
2023-06-15 07:33:52 +00:00
|
|
|
kvm-y += aia_imsic.o
|