From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f12.google.com (mail-pz2-f12.google.com [74.125.228.12]) (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 AF3CB4E5323 for ; Mon, 21 Sep 2026 21:42:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790026980; cv=none; b=DYCKzAQnwbEjsnzEh/VyYFiNsFxGVOYh3DQPWzXBvrb64Ir0eM49povVr65p3grGf3YrG3xB0Uue1osW1CQO3A1h3Q5oFMkxTgje2VAj2NnLW0dl1WdkPbD5/QensBZPtotZpsiH0lYiOqrRVNcs9Nvizrw/AIak3MJymWm17ik= 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.12 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-f12.google.com with SMTP id 41be03b00d2f7-cc1cea4bfd1so2374187a12.0 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=WRiofYT/GVfwARKA3QuhQy2veUwwmRYUE2GoI5gVZu+bB8jHcjeRi0bmdzo++yk+u4 FH+cW7M+4TA2ypzZ91psa900y8tBE+s8Yylm0ocOF7pAZ8B5h45jo9fF6tIxCL2aCKu0 XenGOT+p+Nuz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 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-kselftest@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 > > ...