From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f42.google.com (mail-pz2-f42.google.com [74.125.228.42]) (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 87F983C5855 for ; Mon, 21 Sep 2026 21:42:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790026980; cv=none; b=PjXaam3cSNEBQSSMhMMQ258mImOJXN1vhxotYHulKpDDItxz0SMEG1XiVmZ7xItpCYroE0cftqGaSlL+LnD9qUEPlUORk0PUg2+1IZAfYljguCiTWiVRjJ97NwVbao+EN2FUsNeT4UsCh1pmKexdsHimAqQHzrWMVaT0AMaXJRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790026980; c=relaxed/simple; bh=a13AyurKY1c5+qqcymP6nHwCYS5mFQ93kWPFnMhP4Dc=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=nJk2r4iQooPsBnTTLw2HxdkfhZeTByAd4u4F4lMwTSMuuZGAALsWZQ3h4+nA7JS8Os6YXdA++DxFjPsC4YG8MTr3iNQPUIPj5rPKJs45Hfep8fj5t1UwdaGwMoNYU8G4iPjpm6GTTTqZixTgLm7bFFpM47cYZPF79lMHjUpAdFE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=O4Vjw832; arc=none smtp.client-ip=74.125.228.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="O4Vjw832" Received: by mail-pz2-f42.google.com with SMTP id 41be03b00d2f7-cc50bcf87b2so2154605a12.1 for ; Mon, 21 Sep 2026 14:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790026979; x=1790631779; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=a13AyurKY1c5+qqcymP6nHwCYS5mFQ93kWPFnMhP4Dc=; b=O4Vjw832ZQAq+hb1wDsEfYSh8Yz2MCGM5G3wY8dUQzw+q5Fd7tLHW2VfKn9Pfp9xwo lSDQk6MpoBAbFMKkNpeLuKiJ9b3qG4eZ2VVIFWDt6RhsaUHHr0bMYWiu2Lwx8jdL3jKP C1zgg8Ki3k+3M9fTg4VunPyozoACOrvTkduoMop/0ZAqCMAhsp3l3doJ05oecnM3yT/P xvZVCcsfFP8o0V6f00Kb44PcBcYMkqtH0kI3RXRtqNNJJxjeinOBnoB4nH6B4k2Rv771 kyW8d7yY4WDBf366wPPaPUFBqyoNyUYdzGR0PibcdK9eTRNQ2Uuhk+YxcHSsCN/f7xt8 FtDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790026979; x=1790631779; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a13AyurKY1c5+qqcymP6nHwCYS5mFQ93kWPFnMhP4Dc=; b=WIZjLVJMud1mD+y6LCJE+GB+izXtBt0Cdumj/rhdplaWMRo4h8hFmSsMAQbIKC9ZlN tiwfk61Z6LNII8UOwusBS40nAIZeXpEkh2ScJCf0LUulE7WfAkXywLYl1/3EgyjZM7hB 9lz05GzynRzl1xgmXDFLLXd/HlY7FTEif1lTg0omcJJHAe8onkAPVpx+5J/NC8JMC6xv uGsbqfoyT/plwit+pF0GMmR4EKC3ocT6+Ni3dUPbYG6JpI+U62EZ+qPyR3Zy+07rmS0X XeFdw5zlSD6MTE6kXyfpTZwfqUWNsW1w0ljf5QUtzTsqK9gV8R9pft7kFTHpmxqK/E9H tOAA== X-Forwarded-Encrypted: i=1; AKwUvBxniDgtom0ElZtIP0d0pKmJA3lX+B1IUdeOG/zGVX5G+enssmkGfu/zH/d9pOdFwEdYvGRAgOAAiqY+wbw=@vger.kernel.org X-Gm-Message-State: AFuF++kfwwA6sZTheG+IpeqBHpPOhlADCYLQNOJO8yOPK2/OamDEtB3f b+A78wESDI2B9IQhQL9j7lCyi6No/i8IVjnGs88YyPPKMeYysU9o8p5B X-Gm-Gg: AYBFou0QQrtsaMgEnT5HloVSuUrT0MsXcYRYa4auhAwDNXOz8CjFasZ5hMu4IVGTGn8 J+3xtjTmN1cxymXKFtJZJgrbaq126OqQrB+sW/S1N03m2b0un4rfsSvgPGpMFNRKFxYusyPUmAs /3pGTNwLwPG/uWrlYUxLiw8aI5d9OPbJh2mUueTvf+dFuCkwhvSqOwl5/GJXlsCBMyIlsIjF+D7 G/TvbN4SVEAeVSxtdmIgceyDlLpfScyCenDryV5q/MD6laaplLFkZtla/arOJBNDT9z9Hk3dUOX Gy24OyBsZSxnvduDe2ENMtzxalLRcGWxr9lb8SjGOC73yTCRdeOpAGtKVf0iRoIhgbP+qUWbkGt HXbg+Mi2t+tVnEfbOPWH8+hH1RSsr9GyXuG54JmbUb8Gb9D9w5vk545qoXmAbPuSwe+OTClF8qZ FNejaMcYYZX3luBdFuAWi4PAplLFqBWdr72yBF8hAWqE0sCBQeY+DMd4rqAkgAq5/JxayastTTy cFrPCT/xvcX2UqITnOIXWKSimt9nsYk9U9g6dm6GIEcLu2q1p9T0Vko/Q== X-Received: by 2002:a05:6a20:439f:b0:3d2:df:1854 with SMTP id adf61e73a8af0-3dd8c2aaa7emr18757138637.6.1790026978803; Mon, 21 Sep 2026 14:42:58 -0700 (PDT) Received: from ?IPv6:2a03:83e0:115c:1:9de9:26b9:a969:69d7? ([2620:10d:c090:500::5:f95e]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-144f0c456c4sm454233c88.6.2026.09.21.14.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2026 14:42:58 -0700 (PDT) Message-ID: <2a1875a99b173fec18d214419efbe876dcd95ad1.camel@gmail.com> Subject: Re: [PATCH 0/3] selftests/bpf: Fixes for out-of-tree builds From: Eduard Zingerman To: "Nico Pache (Red Hat)" , "Ricardo B." =?ISO-8859-1?Q?Marli=E8re?= "(SUSE)" , ihor.solodrai@linux.dev, nickolay.lysenko@gmail.com Cc: bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, Emil Tsalapatis , Jiri Olsa , Yonghong Song , Song Liu , Andrii Nakryiko , Shuah Khan , linux-kernel@vger.kernel.org, Kumar Kartikeya Dwivedi , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau Date: Mon, 21 Sep 2026 14:42:56 -0700 In-Reply-To: <9e055710-d607-4a4c-95c8-eb3a0b4aa1a1@linux.dev> References: <20260728-selftests-bpf_oot-v1-0-05feb15d94db@marliere.net> <6f95ec90-194a-4304-9673-c7bb50065223@linux.dev> <9e055710-d607-4a4c-95c8-eb3a0b4aa1a1@linux.dev> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-1.fc44) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2026-09-21 at 15:15 -0600, Nico Pache (Red Hat) wrote: >=20 > On 9/21/26 3:04 PM, Eduard Zingerman wrote: > > On Mon, 2026-09-21 at 14:40 -0600, Nico Pache (Red Hat) wrote: > >=20 > > ... > >=20 > > > Given your series was defferred, and there is a "rewrite" coming, wha= t would > > > be the best approach to working together (between us three) to get th= ese > > > fixes in that series too.=20 > >=20 > > The, "rewrite", as you call it, had landed today. >=20 > oh thats great news. I checked on Friday and didnt see it. Thanks for the= update :) >=20 > > So the series in question can be re-spun. > > Regarding your patch on top of it, it appears you can just post is sepa= rately. > > However, I am inclined to be confrontational towards changes like this = one. > > The purpose of the selftests makefile is to run selftests as appropriat= e > > for current tip of the kernel tree using a very specific kernel configu= ration. > > Main users of this makefile are BPF developers and BPF CI. >=20 > Yeah we are trying to reincorporate BPF as part of our CI. It has bit rot= ted in > the Fedora env, and our large amount of build variant is where things are > starting to go wrong. We need to build selftests for multiple variants, a= nd be > able to specify which variant we are building for. Hence the out-of-tree = build > with specific vmlinux. Why can't you build the kernel and the selftests in the same out of tree lo= cation? The change you are proposing is contained, but it's a death by thousand cut= s, the selftests makefile is quite a Frankenstein's monster already. > Is there any other approach you'd suggest? I personally dont work on BPF,= but am > trying to cleanup/fix our selftests builds for Upstream/Fedora CI. How many Fedora-specific kernel patches do you carry already? > Thanks, > -- Nico >=20 > > Support for distros customizing the makefile is a non-goal. > > The "PERMISSIVE" change done enough damage already. > >=20 > > ...