xref: /linux/arch/arm64/kvm/hyp/Makefile (revision cde13b5dad60471886a3bccb4f4134c647c4a9dc)
106282fd2SMarc Zyngier#
206282fd2SMarc Zyngier# Makefile for Kernel-based Virtual Machine module, HYP part
306282fd2SMarc Zyngier#
406282fd2SMarc Zyngier
5*cde13b5dSMarc Zyngierccflags-y += -fno-stack-protector
6*cde13b5dSMarc Zyngier
76d50d54cSMarc ZyngierKVM=../../../../virt/kvm
86d50d54cSMarc Zyngier
96d50d54cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
1019f0ece4SVladimir Murzinobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
116d50d54cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
126d50d54cSMarc Zyngier
136d6ec20fSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
148eb99267SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
15b97b66c1SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += entry.o
16be901e9bSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += switch.o
17c13d1683SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
185eec0a91SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += tlb.o
192b28162cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
203a3604bcSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
21a6cdf1c0SCatalin Marinas
225e4c7549SAlexander Potapenko# KVM code is run at a different exception code with a different map, so
235e4c7549SAlexander Potapenko# compiler instrumentation that inserts callbacks or checks into the code may
245e4c7549SAlexander Potapenko# cause crashes. Just disable it.
25a6cdf1c0SCatalin MarinasGCOV_PROFILE	:= n
26a6cdf1c0SCatalin MarinasKASAN_SANITIZE	:= n
27a6cdf1c0SCatalin MarinasUBSAN_SANITIZE	:= n
285e4c7549SAlexander PotapenkoKCOV_INSTRUMENT	:= n
29