Lines Matching +full:- +full:kvm
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for Kernel-based Virtual Machine module
6 ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm
8 include $(srctree)/virt/kvm/Makefile.kvm
10 common-objs-y += powerpc.o emulate_loadstore.o
11 obj-$(CONFIG_KVM_EXIT_TIMING) += timing.o
12 obj-$(CONFIG_KVM_BOOK3S_HANDLER) += book3s_exports.o
14 AFLAGS_booke_interrupts.o := -I$(objtree)/$(obj)
16 kvm-e500-objs := \
17 $(common-objs-y) \
26 kvm-objs-$(CONFIG_KVM_E500V2) := $(kvm-e500-objs)
28 kvm-e500mc-objs := \
29 $(common-objs-y) \
38 kvm-objs-$(CONFIG_KVM_E500MC) := $(kvm-e500mc-objs)
40 kvm-pr-y := \
53 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \
58 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \
62 kvm-hv-y += \
69 kvm-hv-$(CONFIG_PPC_UV) += \
72 kvm-hv-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
75 kvm-book3s_64-builtin-xics-objs-$(CONFIG_KVM_XICS) := \
78 kvm-book3s_64-builtin-tm-objs-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
82 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \
90 $(kvm-book3s_64-builtin-tm-objs-y) \
91 $(kvm-book3s_64-builtin-xics-objs-y)
94 kvm-book3s_64-objs-$(CONFIG_KVM_XICS) += \
97 kvm-book3s_64-objs-$(CONFIG_KVM_XIVE) += book3s_xive.o book3s_xive_native.o
98 kvm-book3s_64-objs-$(CONFIG_SPAPR_TCE_IOMMU) += book3s_64_vio.o
100 kvm-book3s_64-module-objs := \
101 $(common-objs-y) \
104 $(kvm-book3s_64-objs-y)
106 kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs)
108 kvm-book3s_32-objs := \
109 $(common-objs-y) \
120 kvm-objs-$(CONFIG_KVM_BOOK3S_32) := $(kvm-book3s_32-objs)
122 kvm-objs-$(CONFIG_KVM_MPIC) += mpic.o
124 kvm-y += $(kvm-objs-m) $(kvm-objs-y)
126 obj-$(CONFIG_KVM_E500V2) += kvm.o
127 obj-$(CONFIG_KVM_E500MC) += kvm.o
128 obj-$(CONFIG_KVM_BOOK3S_64) += kvm.o
129 obj-$(CONFIG_KVM_BOOK3S_32) += kvm.o
131 obj-$(CONFIG_KVM_BOOK3S_64_PR) += kvm-pr.o
132 obj-$(CONFIG_KVM_BOOK3S_64_HV) += kvm-hv.o
134 obj-y += $(kvm-book3s_64-builtin-objs-y)
136 # KVM does a lot in real-mode, and 64-bit Book3S KASAN doesn't support that