xref: /linux/arch/arm64/kvm/hyp/Makefile (revision 5e4c7549f7082b06bbba566c68696dbb8d2e5b6b)
106282fd2SMarc Zyngier#
206282fd2SMarc Zyngier# Makefile for Kernel-based Virtual Machine module, HYP part
306282fd2SMarc Zyngier#
406282fd2SMarc Zyngier
56d50d54cSMarc ZyngierKVM=../../../../virt/kvm
66d50d54cSMarc Zyngier
76d50d54cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
86d50d54cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
96d50d54cSMarc Zyngier
10f68d2b1bSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += vgic-v3-sr.o
116d6ec20fSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
128eb99267SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
13b97b66c1SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += entry.o
14be901e9bSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += switch.o
15c13d1683SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
165eec0a91SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += tlb.o
172b28162cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
183a3604bcSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
19a6cdf1c0SCatalin Marinas
20*5e4c7549SAlexander Potapenko# KVM code is run at a different exception code with a different map, so
21*5e4c7549SAlexander Potapenko# compiler instrumentation that inserts callbacks or checks into the code may
22*5e4c7549SAlexander Potapenko# cause crashes. Just disable it.
23a6cdf1c0SCatalin MarinasGCOV_PROFILE	:= n
24a6cdf1c0SCatalin MarinasKASAN_SANITIZE	:= n
25a6cdf1c0SCatalin MarinasUBSAN_SANITIZE	:= n
26*5e4c7549SAlexander PotapenkoKCOV_INSTRUMENT	:= n
27