~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/powerpc/kvm/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 #
  3 # Makefile for Kernel-based Virtual Machine module
  4 #
  5 
  6 ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm
  7 
  8 include $(srctree)/virt/kvm/Makefile.kvm
  9 
 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
 13 
 14 AFLAGS_booke_interrupts.o := -I$(objtree)/$(obj)
 15 
 16 kvm-e500-objs := \
 17         $(common-objs-y) \
 18         emulate.o \
 19         booke.o \
 20         booke_emulate.o \
 21         booke_interrupts.o \
 22         e500.o \
 23         e500_mmu.o \
 24         e500_mmu_host.o \
 25         e500_emulate.o
 26 kvm-objs-$(CONFIG_KVM_E500V2) := $(kvm-e500-objs)
 27 
 28 kvm-e500mc-objs := \
 29         $(common-objs-y) \
 30         emulate.o \
 31         booke.o \
 32         booke_emulate.o \
 33         bookehv_interrupts.o \
 34         e500mc.o \
 35         e500_mmu.o \
 36         e500_mmu_host.o \
 37         e500_emulate.o
 38 kvm-objs-$(CONFIG_KVM_E500MC) := $(kvm-e500mc-objs)
 39 
 40 kvm-pr-y := \
 41         fpu.o \
 42         emulate.o \
 43         book3s_paired_singles.o \
 44         book3s_pr.o \
 45         book3s_pr_papr.o \
 46         book3s_emulate.o \
 47         book3s_interrupts.o \
 48         book3s_mmu_hpte.o \
 49         book3s_64_mmu_host.o \
 50         book3s_64_mmu.o \
 51         book3s_32_mmu.o
 52 
 53 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \
 54         book3s_64_entry.o \
 55         tm.o
 56 
 57 ifdef CONFIG_KVM_BOOK3S_PR_POSSIBLE
 58 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \
 59         book3s_rmhandlers.o
 60 endif
 61 
 62 kvm-hv-y += \
 63         book3s_hv.o \
 64         book3s_hv_interrupts.o \
 65         book3s_64_mmu_hv.o \
 66         book3s_64_mmu_radix.o \
 67         book3s_hv_nested.o
 68 
 69 kvm-hv-$(CONFIG_PPC_UV) += \
 70         book3s_hv_uvmem.o
 71 
 72 kvm-hv-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
 73         book3s_hv_tm.o
 74 
 75 kvm-book3s_64-builtin-xics-objs-$(CONFIG_KVM_XICS) := \
 76         book3s_hv_rm_xics.o
 77 
 78 kvm-book3s_64-builtin-tm-objs-$(CONFIG_PPC_TRANSACTIONAL_MEM) += \
 79         book3s_hv_tm_builtin.o
 80 
 81 ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
 82 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HANDLER) += \
 83         book3s_hv_hmi.o \
 84         book3s_hv_p9_entry.o \
 85         book3s_hv_rmhandlers.o \
 86         book3s_hv_rm_mmu.o \
 87         book3s_hv_ras.o \
 88         book3s_hv_builtin.o \
 89         book3s_hv_p9_perf.o \
 90         book3s_hv_nestedv2.o \
 91         guest-state-buffer.o \
 92         $(kvm-book3s_64-builtin-tm-objs-y) \
 93         $(kvm-book3s_64-builtin-xics-objs-y)
 94 
 95 obj-$(CONFIG_GUEST_STATE_BUFFER_TEST) += test-guest-state-buffer.o
 96 endif
 97 
 98 kvm-book3s_64-objs-$(CONFIG_KVM_XICS) += \
 99         book3s_xics.o
100 
101 kvm-book3s_64-objs-$(CONFIG_KVM_XIVE) += book3s_xive.o book3s_xive_native.o
102 kvm-book3s_64-objs-$(CONFIG_SPAPR_TCE_IOMMU) += book3s_64_vio.o
103 
104 kvm-book3s_64-module-objs := \
105         $(common-objs-y) \
106         book3s.o \
107         book3s_rtas.o \
108         $(kvm-book3s_64-objs-y)
109 
110 kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs)
111 
112 kvm-book3s_32-objs := \
113         $(common-objs-y) \
114         emulate.o \
115         fpu.o \
116         book3s_paired_singles.o \
117         book3s.o \
118         book3s_pr.o \
119         book3s_emulate.o \
120         book3s_interrupts.o \
121         book3s_mmu_hpte.o \
122         book3s_32_mmu_host.o \
123         book3s_32_mmu.o
124 kvm-objs-$(CONFIG_KVM_BOOK3S_32) := $(kvm-book3s_32-objs)
125 
126 kvm-objs-$(CONFIG_KVM_MPIC) += mpic.o
127 
128 kvm-y += $(kvm-objs-m) $(kvm-objs-y)
129 
130 obj-$(CONFIG_KVM_E500V2) += kvm.o
131 obj-$(CONFIG_KVM_E500MC) += kvm.o
132 obj-$(CONFIG_KVM_BOOK3S_64) += kvm.o
133 obj-$(CONFIG_KVM_BOOK3S_32) += kvm.o
134 
135 obj-$(CONFIG_KVM_BOOK3S_64_PR) += kvm-pr.o
136 obj-$(CONFIG_KVM_BOOK3S_64_HV) += kvm-hv.o
137 
138 obj-y += $(kvm-book3s_64-builtin-objs-y)
139 
140 # KVM does a lot in real-mode, and 64-bit Book3S KASAN doesn't support that
141 ifdef CONFIG_PPC_BOOK3S_64
142 KASAN_SANITIZE := n
143 endif

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php