Makefile (58e16d792a6a8c6b750f637a4649967fcac853dc) Makefile (9ed24f4b712b855dcf7be3025b75b051cb73a2b7)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP part
4#
5
6ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING \
7 $(DISABLE_STACKLEAK_PLUGIN)
8
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Kernel-based Virtual Machine module, HYP part
4#
5
6ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING \
7 $(DISABLE_STACKLEAK_PLUGIN)
8
9KVM=../../../../virt/kvm
10
11obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
12obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
13obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/aarch32.o
14
9obj-$(CONFIG_KVM_ARM_HOST) += vgic-v3-sr.o
10obj-$(CONFIG_KVM_ARM_HOST) += timer-sr.o
11obj-$(CONFIG_KVM_ARM_HOST) += aarch32.o
15obj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-cpuif-proxy.o
16obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
17obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
18obj-$(CONFIG_KVM_ARM_HOST) += entry.o
19obj-$(CONFIG_KVM_ARM_HOST) += switch.o
20obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
21obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
22obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
23
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.
27GCOV_PROFILE := n
28KASAN_SANITIZE := n
29UBSAN_SANITIZE := n
30KCOV_INSTRUMENT := n
12obj-$(CONFIG_KVM_ARM_HOST) += vgic-v2-cpuif-proxy.o
13obj-$(CONFIG_KVM_ARM_HOST) += sysreg-sr.o
14obj-$(CONFIG_KVM_ARM_HOST) += debug-sr.o
15obj-$(CONFIG_KVM_ARM_HOST) += entry.o
16obj-$(CONFIG_KVM_ARM_HOST) += switch.o
17obj-$(CONFIG_KVM_ARM_HOST) += fpsimd.o
18obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
19obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
20
21# KVM code is run at a different exception code with a different map, so
22# compiler instrumentation that inserts callbacks or checks into the code may
23# cause crashes. Just disable it.
24GCOV_PROFILE := n
25KASAN_SANITIZE := n
26UBSAN_SANITIZE := n
27KCOV_INSTRUMENT := n