]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm64/kvm/hyp/Makefile
arm64: allow building with kcov coverage on ARM64
[karo-tx-linux.git] / arch / arm64 / kvm / hyp / Makefile
index 778d0effa2afd38bd94b34b0a7a88c02ff2a79bf..0c85febcc1eba0b452472b459951feea077c6a52 100644 (file)
@@ -17,6 +17,10 @@ obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
 obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
 obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
 
+# KVM code is run at a different exception code with a different map, so
+# compiler instrumentation that inserts callbacks or checks into the code may
+# cause crashes. Just disable it.
 GCOV_PROFILE   := n
 KASAN_SANITIZE := n
 UBSAN_SANITIZE := n
+KCOV_INSTRUMENT        := n