From: Vincent Donnefort Date: Wed, 11 Mar 2026 16:49:56 +0000 (+0000) Subject: KVM: arm64: Fix out-of-tree build for nVHE/pKVM tracing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6a2badf58170bcf73489cd73981bb5775c1e22;p=thirdparty%2Flinux.git KVM: arm64: Fix out-of-tree build for nVHE/pKVM tracing simple_ring_buffer.c is located in the source tree and isn't duplicated to objtree. Fix its include path. Signed-off-by: Vincent Donnefort Link: https://patch.msgid.link/20260311164956.1424119-1-vdonnefort@google.com Signed-off-by: Marc Zyngier --- diff --git a/arch/arm64/kvm/hyp/nvhe/Makefile b/arch/arm64/kvm/hyp/nvhe/Makefile index 143d55ec72987..3d33fbefdfc12 100644 --- a/arch/arm64/kvm/hyp/nvhe/Makefile +++ b/arch/arm64/kvm/hyp/nvhe/Makefile @@ -33,7 +33,7 @@ hyp-obj-$(CONFIG_NVHE_EL2_TRACING) += clock.o trace.o events.o hyp-obj-y += $(lib-objs) # Path to simple_ring_buffer.c -CFLAGS_trace.nvhe.o += -I$(objtree)/kernel/trace/ +CFLAGS_trace.nvhe.o += -I$(srctree)/kernel/trace/ ## ## Build rules for compiling nVHE hyp code