treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / kvm / hyp / Makefile
blobea710f674cb6b4f41e55e9c261ee3be6c980b7c8
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 \
7 $(DISABLE_STACKLEAK_PLUGIN)
9 KVM=../../../../virt/kvm
11 obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
12 obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
13 obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/aarch32.o
15 obj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-cpuif-proxy.o
16 obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
17 obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
18 obj-$(CONFIG_KVM_ARM_HOST) += entry.o
19 obj-$(CONFIG_KVM_ARM_HOST) += switch.o
20 obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
21 obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
22 obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
24 # KVM code is run at a different exception code with a different map, so
25 # compiler instrumentation that inserts callbacks or checks into the code may
26 # cause crashes. Just disable it.
27 GCOV_PROFILE := n
28 KASAN_SANITIZE := n
29 UBSAN_SANITIZE := n
30 KCOV_INSTRUMENT := n