xref: /linux/arch/arm64/kvm/hyp/Makefile (revision 8a43a2b34b7dc59dc6df5fa0a3b8540918bc4c58)
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
6f9b269f3SJulien Thierryccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING
7cde13b5dSMarc Zyngier
86d50d54cSMarc ZyngierKVM=../../../../virt/kvm
96d50d54cSMarc Zyngier
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
13*8a43a2b3SChristoffer Dallobj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-cpuif-proxy.o
146d6ec20fSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
158eb99267SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
16b97b66c1SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += entry.o
17be901e9bSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += switch.o
18c13d1683SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
195eec0a91SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += tlb.o
202b28162cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
213a3604bcSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
22a6cdf1c0SCatalin Marinas
235e4c7549SAlexander Potapenko# KVM code is run at a different exception code with a different map, so
245e4c7549SAlexander Potapenko# compiler instrumentation that inserts callbacks or checks into the code may
255e4c7549SAlexander Potapenko# cause crashes. Just disable it.
26a6cdf1c0SCatalin MarinasGCOV_PROFILE	:= n
27a6cdf1c0SCatalin MarinasKASAN_SANITIZE	:= n
28a6cdf1c0SCatalin MarinasUBSAN_SANITIZE	:= n
295e4c7549SAlexander PotapenkoKCOV_INSTRUMENT	:= n
30