Linux 5.6.13
[linux/fpc-iii.git] / arch / arm / kvm / hyp / Makefile
blobba88b1eca93c4c638c0243acede841235e4c16d3
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for Kernel-based Virtual Machine module, HYP part
6 ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING
8 KVM=../../../../virt/kvm
10 CFLAGS_ARMV7VE :=$(call cc-option, -march=armv7ve)
12 obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
13 obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
14 obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/aarch32.o
16 obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
17 obj-$(CONFIG_KVM_ARM_HOST) += cp15-sr.o
18 obj-$(CONFIG_KVM_ARM_HOST) += vfp.o
19 obj-$(CONFIG_KVM_ARM_HOST) += banked-sr.o
20 CFLAGS_banked-sr.o += $(CFLAGS_ARMV7VE)
22 obj-$(CONFIG_KVM_ARM_HOST) += entry.o
23 obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
24 obj-$(CONFIG_KVM_ARM_HOST) += switch.o
25 CFLAGS_switch.o += $(CFLAGS_ARMV7VE)
26 obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
28 # KVM code is run at a different exception code with a different map, so
29 # compiler instrumentation that inserts callbacks or checks into the code may
30 # cause crashes. Just disable it.
31 GCOV_PROFILE := n
32 KASAN_SANITIZE := n
33 UBSAN_SANITIZE := n
34 KCOV_INSTRUMENT := n