xref: /linux/arch/arm64/kvm/hyp/Makefile (revision 0b3e336601b82c6afa0e9cf21db9cb8793e25399)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
206282fd2SMarc Zyngier#
306282fd2SMarc Zyngier# Makefile for Kernel-based Virtual Machine module, HYP part
406282fd2SMarc Zyngier#
506282fd2SMarc Zyngier
6*0b3e3366SLaura Abbottccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING \
7*0b3e3366SLaura Abbott		$(DISABLE_STACKLEAK_PLUGIN)
8cde13b5dSMarc Zyngier
96d50d54cSMarc ZyngierKVM=../../../../virt/kvm
106d50d54cSMarc Zyngier
1119f0ece4SVladimir Murzinobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
126d50d54cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
136d50d54cSMarc Zyngier
148a43a2b3SChristoffer Dallobj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-cpuif-proxy.o
156d6ec20fSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
168eb99267SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
17b97b66c1SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += entry.o
18be901e9bSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += switch.o
19c13d1683SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
205eec0a91SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += tlb.o
212b28162cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
223a3604bcSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
23a6cdf1c0SCatalin Marinas
245e4c7549SAlexander Potapenko# KVM code is run at a different exception code with a different map, so
255e4c7549SAlexander Potapenko# compiler instrumentation that inserts callbacks or checks into the code may
265e4c7549SAlexander Potapenko# cause crashes. Just disable it.
27a6cdf1c0SCatalin MarinasGCOV_PROFILE	:= n
28a6cdf1c0SCatalin MarinasKASAN_SANITIZE	:= n
29a6cdf1c0SCatalin MarinasUBSAN_SANITIZE	:= n
305e4c7549SAlexander PotapenkoKCOV_INSTRUMENT	:= n
31