]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
06282fd2 MZ |
2 | # |
3 | # Makefile for Kernel-based Virtual Machine module, HYP part | |
4 | # | |
5 | ||
f9b269f3 | 6 | ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING |
cde13b5d | 7 | |
6d50d54c MZ |
8 | KVM=../../../../virt/kvm |
9 | ||
10 | obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o | |
19f0ece4 | 11 | obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o |
6d50d54c MZ |
12 | obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o |
13 | ||
6d6ec20f | 14 | obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o |
8eb99267 | 15 | obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o |
b97b66c1 | 16 | obj-$(CONFIG_KVM_ARM_HOST) += entry.o |
be901e9b | 17 | obj-$(CONFIG_KVM_ARM_HOST) += switch.o |
c13d1683 | 18 | obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o |
5eec0a91 | 19 | obj-$(CONFIG_KVM_ARM_HOST) += tlb.o |
2b28162c | 20 | obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o |
3a3604bc | 21 | obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o |
a6cdf1c0 | 22 | |
5e4c7549 AP |
23 | # KVM code is run at a different exception code with a different map, so |
24 | # compiler instrumentation that inserts callbacks or checks into the code may | |
25 | # cause crashes. Just disable it. | |
a6cdf1c0 CM |
26 | GCOV_PROFILE := n |
27 | KASAN_SANITIZE := n | |
28 | UBSAN_SANITIZE := n | |
5e4c7549 | 29 | KCOV_INSTRUMENT := n |