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*76217129SDavid Brazdilincdir := $(srctree)/$(src)/include 7*76217129SDavid Brazdilsubdir-asflags-y := -I$(incdir) 8*76217129SDavid Brazdilsubdir-ccflags-y := -I$(incdir) \ 9*76217129SDavid Brazdil -fno-stack-protector \ 10*76217129SDavid Brazdil -DDISABLE_BRANCH_PROFILING \ 110b3e3366SLaura Abbott $(DISABLE_STACKLEAK_PLUGIN) 12cde13b5dSMarc Zyngier 13*76217129SDavid Brazdilobj-$(CONFIG_KVM) += hyp.o nvhe/ 147b2399eaSDavid Brazdilobj-$(CONFIG_KVM_INDIRECT_VECTORS) += smccc_wa.o 1525357de0SFuad Tabba 1625357de0SFuad Tabbahyp-y := vgic-v3-sr.o timer-sr.o aarch32.o vgic-v2-cpuif-proxy.o sysreg-sr.o \ 1725357de0SFuad Tabba debug-sr.o entry.o switch.o fpsimd.o tlb.o hyp-entry.o 18a6cdf1c0SCatalin Marinas 195e4c7549SAlexander Potapenko# KVM code is run at a different exception code with a different map, so 205e4c7549SAlexander Potapenko# compiler instrumentation that inserts callbacks or checks into the code may 215e4c7549SAlexander Potapenko# cause crashes. Just disable it. 22a6cdf1c0SCatalin MarinasGCOV_PROFILE := n 23a6cdf1c0SCatalin MarinasKASAN_SANITIZE := n 24a6cdf1c0SCatalin MarinasUBSAN_SANITIZE := n 255e4c7549SAlexander PotapenkoKCOV_INSTRUMENT := n 26