From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4B4A1DF26E for ; Thu, 12 Mar 2026 13:35:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773322530; cv=none; b=YOamOJhqL08YzfKoQWk5aP0H6jCNCCQWlLEkQPrCs12cPUy1YJkthPeTByiZkQWwRYpmA5FrpKKcdDCVsFUQFI/kWCXUo3D9VT/nQE+bulLPWL6LWKGIP54S0d+9LSoqGsFGiz2I8/FejQPnR7rWes7qyOZRigzK+MVb2glF7Go= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773322530; c=relaxed/simple; bh=z+YjvX2LUHTIQYypaRoSgiH4yP50cb0mbNSWyK1pIbA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c480x8YPOjZfXpwHS24DkSz+uRUU96zYZQQUv0MPBZxj3mX0tf4lH/MxPvsGsPakJixPqCwWTz76CmpliXbdslgrB0AvjYiDCk+8d9jfrfcZG/TL7kDxdSATvLfsFYwG66/KH3owP1wVPbZKUKGyEf++8m52VNQgk11VFQSIA00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=FKNpYqQx; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="FKNpYqQx" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-439ce3605ecso844334f8f.0 for ; Thu, 12 Mar 2026 06:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1773322527; x=1773927327; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=e9Os4cgNh5i6cWimFgT9mmwNd3gOQ8i7NcYfdN809vU=; b=FKNpYqQxH3VhuKbbUTwTWOGhqRK3atiw3IVNfKezYCZRziTgDxnZKZ5YCAw9EY795G 8YMc0fn2Y5Epc5ln/fZ+5n0HWdPKpgVDxqAEGtdxk3gFjRuRl4EX1WhLx0xBWUsgIsKy 2srLPz23ntrMTzsiL7471xSEw5IpbyIyP5HzpT/1eJfhpqabXlj9ipDXB33S8IBp5GG9 lGcYvkMDt09rtw+xH36mq371Omg4UkR9C0FMnJ0mg/HpQHsEAOnKlYqdXtvhuVSHx4/J +Zc00vDqeppyeHI7W8sCKaHCSoeriU5SvkiG0U3Esm7vI1mFAzTG3vz5wAvYshpkqPI/ 35Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773322527; x=1773927327; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e9Os4cgNh5i6cWimFgT9mmwNd3gOQ8i7NcYfdN809vU=; b=k/tyTlcp+OS4BNT7wyk/j00ZjFv//jjRMl1+SI7PPXUllIgtcAbIrWSxkTuIMiYH3e Z8Gc5gp7CKkyVgdiBBoFJUaUFTzcwt7Cw71ifFrzUPsn9PXeIhOLiyggcYITyjz/KULj b45EpBruuJrUEJ7rNNulDpX4+F48+5AmQQMx/dFd29hi7F7gfem8ZtqRTc4waSQZjkC6 4wc5zAjH0B1cVMQ3n9joB70tRUFD25j8s47QHEV+QjeoC2odvZVWcKLxoZBpERLHbw9B gOdRRoUliZvh0z4TZaqIEV0WlfnX5ZBJVEOGF76AgNFJMp39k9g48RdCTo8ByFdrU75V l/EA== X-Forwarded-Encrypted: i=1; AJvYcCUXwXLpSUhRLdtcRRtaNP7TEvAeVtqe0ROsShJVeyJItNbpE4bc1zAGZ0PkUSAx7AXNpXrCeF2DtH7N0/g=@vger.kernel.org X-Gm-Message-State: AOJu0YwqPsy2b36H2IZ8XiyaJrUcxktF5tu8VUNj++t1iND+KDPx6P1n 9L5zOIKOdRQby/SS6HPnxg1oReyfNTpcWi3FxwQmNd0my8iwnxwtkDFa6KXoPswzdw== X-Gm-Gg: ATEYQzwZWoTmqFaOzAl6FFVO+Q1Z5TYNgMcxkiQKbIKvM/OwmjvJAl4/1Z36S7rEz2P 22hS7Ac12deHR2k0QvpPrnmQVMy7aYANhgiwjUeyl5ZbuoLWXFlDJicCtk+rdhVyOL8mk2gaHya iNozZ8HOcWnO/5JtXNGaReL9qiaGhd4AKeR46zZslqlmiFQZaercl6wW2p9npZrTRt2xWUOsjeK HEHIUI7sfoGdWRKj+golC3G7pT3HafSLoOEHlQTncA8cgJ41B2UDuip/GmzzyrnKQEVATCkWIcp gMP7501JD5oUZOFYnCD2YWGzG8roIb9tgB68kyzDXE3EKjEEI+dNdS5+HwbqRnx9reon045P4Lt R9cYcW0U1MFEB7mi8R1e22FPggY6ShceqhDIglv4/qObLV1negKExG5r2U01ClgQIL7IxyUIpUF 5MEx+kBoIRpmUMpB+RGKfp8IWOveCZofwpHiQjFuxStl8462RhOj8OpTJzEQarphmBxU4= X-Received: by 2002:a05:6000:2c04:b0:439:bfaa:ed99 with SMTP id ffacd0b85a97d-439f822309emr12897737f8f.44.1773322526701; Thu, 12 Mar 2026 06:35:26 -0700 (PDT) Received: from google.com (198.115.140.34.bc.googleusercontent.com. [34.140.115.198]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439fe19acc6sm8523527f8f.8.2026.03.12.06.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2026 06:35:26 -0700 (PDT) Date: Thu, 12 Mar 2026 13:35:22 +0000 From: Vincent Donnefort To: Arnd Bergmann Cc: Marc Zyngier , Steven Rostedt , Oliver Upton , Catalin Marinas , Will Deacon , Arnd Bergmann , Joey Gouly , Suzuki K Poulose , Zenghui Yu , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] KVM: arm64: fix include path for ring buffer implementation Message-ID: References: <20260312123601.625063-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260312123601.625063-1-arnd@kernel.org> On Thu, Mar 12, 2026 at 01:35:42PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The simple_ring_buffer.c file is in the source tree rather than > generated at build time, so the include path is wrong when using > separate object trees: > > arch/arm64/kvm/hyp/nvhe/trace.c:16:10: fatal error: simple_ring_buffer.c: No such file or directory > 16 | #include "simple_ring_buffer.c" > > Include it from the source tree instead. > > Fixes: 680a04c333fa ("KVM: arm64: Add tracing capability for the nVHE/pKVM hyp") > Signed-off-by: Arnd Bergmann I believe Marc has taken a fix already for that one https://lore.kernel.org/all/20260311164956.1424119-1-vdonnefort@google.com/ > --- > arch/arm64/kvm/hyp/nvhe/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kvm/hyp/nvhe/Makefile b/arch/arm64/kvm/hyp/nvhe/Makefile > index 143d55ec7298..3d33fbefdfc1 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 > -- > 2.39.5 >