xref: /linux/arch/arm64/kvm/hyp/Makefile (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg 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
6cde13b5dSMarc Zyngierccflags-y += -fno-stack-protector
7cde13b5dSMarc Zyngier
86d50d54cSMarc ZyngierKVM=../../../../virt/kvm
96d50d54cSMarc Zyngier
106d50d54cSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
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
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