From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f43.google.com (mail-pz2-f43.google.com [74.125.228.43]) (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 EB6F541D4F1 for ; Thu, 24 Sep 2026 07:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790233624; cv=none; b=kcbMnXo6NquWckH/hj6/wvGrgXNnVU7XKhr8X7lIu5NBJSb93alb3LCVeF09ETgDY577tx8RSBRyt8U2H5jNvQjKPrMjbmSDxDm0PTzCkKOFseCjeEp3uPWurPeaew9sT4/UeZPXIJxbs9bKUqqiXzhGWXAgkixAxoq7aeI6zQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790233624; c=relaxed/simple; bh=fSy2bFU6GAk6z5ZL2rJh0ddr4lBF44OoZjZB4arg5Sk=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=NHhkOVHxn+4fM2sKqvjpaEON2WsXjn3pR9JKlFp0zOc9ahxkf1Gidz0M/vrXuGbErGtufIBKs1V+l2eCMI6nnWsD8k9UNVSedX/OuEiYQXC9yIjQdd3cMP9qMPlQzjvnY2Wx3qO0QhFNHQCDuq6DuZKLx/MRW95WxOTFj/LlWKc= 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=gvZNxhm6; arc=none smtp.client-ip=74.125.228.43 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="gvZNxhm6" Received: by mail-pz2-f43.google.com with SMTP id d2e1a72fcca58-85469f204f6so872504b3a.2 for ; Thu, 24 Sep 2026 00:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790233616; x=1790838416; 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=fSy2bFU6GAk6z5ZL2rJh0ddr4lBF44OoZjZB4arg5Sk=; b=gvZNxhm6X/Ho40VGWUzqu8Cdr1Da/XA1GMZqC9Hy/XiIzhGECzDdrhLUbNFXH2evJT XcZ16gDPw0lBqhC8aUvspTisogSd9VUTJl78AlA0P5kolGuqPh8Iesd9bF7b+sx2v61/ vMy0NjLtnqd3hg+3ZV7nEjR+QKtego5hLYzZlhcDbScT8gRs375gfT1NFDE4zUwYJxW7 9xZy01cG19s/jQrTT/1zHHzL/9iX/mM1MxY01BemIAB/26vnhJSgu+hQWVL0BL6JIu18 a46XiggZZ0B417q3E+uQ31hpxGjn4Da6+s2MsZ4JDtaj6B72+jKK4z2wblqwGbcIn/gr aIsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790233616; x=1790838416; 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=fSy2bFU6GAk6z5ZL2rJh0ddr4lBF44OoZjZB4arg5Sk=; b=VPxYJHe7LZO78waEkHf02gqNqc+EcmdTtdklnjsdC4QpXFTByy51YVm1dnZM1D0x8D D/XrBpw44zjGwo3gUk419LsbzDTWcw7knXi9fXyL0EvKqYJKjFpWec/NGLMfF+/5KbO9 i/evIQzuFZoZTziE0hQ9KfXUIHPi/cnulEXiiZsOgel4TqxFOqi5I+LwXMIxrwnoN6Qb za+neIwZ5n+8F+CndgJf7AUtqTpc1utWBOkzwy3c5JmNRLEdVf+pu0j9F1YBVm0UcT7o c13smpv40NqqgRPA4EklY6WXIsZ7TMCcAo89f85YNY3axaqmPymfAhSiZ1/M3RJ2LXgs Tiug== X-Forwarded-Encrypted: i=1; AKwUvBxkBHM8BlicaMC/tflgVfjGCVAFwaOaBpCvF4S+VrZKR+BEYiNGglr8MGnew7YCyoIavnOaWtKNuxdWEjg=@vger.kernel.org X-Gm-Message-State: AFuF++m5Vcor4DH75bEfXrXFvL6EbcN7EHcA0IH2Xm2a+5UVjo+sSgSF NgW5UdtXBgcphaxOxqubco8K+YU1bGIOjdFpCBDmQHEPv9kvhZ1OMxzc X-Gm-Gg: AYBFou1mBVfCRhkjk253bfJLxB5XoNjj22G1k88osAGKYxMHirAKMpqnAt9oZHDUyPA ibhXN3nEGF4jcRqpSoHx7EN1DwTqVBm7g7NCNBYNVgZsb3ggOP7RBwJzzdQ437ZePsYhTg8eaFx 91U3wINPuoaG4hxSI9jJpG4C4Y13Jg7N/J1XXNXpXIY/XJFDUBMfJxWqIBPELgZ2gfm6Ke3JmS+ IyDdh/8r91TuA9sM33Ely3Ddc1RFFv/QAufctGh3IZ9el2+IWOkVm/619r4D8oLUC3GZKUdiFQq sTpwVinDTXHmqoA+WK6al+R4E3pGRuQ5EoZAJKTfwGkINqzKLoz0LrQutm4ndwCkHHkCJNzJZHs vtLRTXV800jJbuk6hpzt0U3H9LVOjrgHeFBXU9l3ipoMJO+p/0kSWYOMCkNAZHhCYfSswWscTDL CIFZJTZCVgJcJSzsoTH54eLv08QEcNg+2YMbyMHdld54JfVSy7bMH38KDZHvp8uGyRyH664l/T+ 1SXu4n7L9U3Pcm19CvGHh37Ss4= X-Received: by 2002:a05:6a00:340d:b0:878:391d:b217 with SMTP id d2e1a72fcca58-87e9d001107mr1322001b3a.60.1790233616005; Thu, 24 Sep 2026 00:06:56 -0700 (PDT) Received: from [192.168.0.226] ([38.34.87.7]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-87d1e0fc5casm2368187b3a.53.2026.09.24.00.06.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2026 00:06:55 -0700 (PDT) Message-ID: <78e6ad2dc979983bd65514166fa0020729a4147d.camel@gmail.com> Subject: Re: [PATCH 0/3] selftests/bpf: Fixes for out-of-tree builds From: Eduard Zingerman To: "Ricardo B." =?ISO-8859-1?Q?Marli=E8re?= "(SUSE)" , "Nico Pache (Red Hat)" , 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: Thu, 24 Sep 2026 00:06:52 -0700 In-Reply-To: References: <20260728-selftests-bpf_oot-v1-0-05feb15d94db@marliere.net> <6f95ec90-194a-4304-9673-c7bb50065223@linux.dev> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-2.fc44) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Tue, 2026-09-22 at 15:31 -0300, Ricardo B. Marli=C3=A8re (SUSE) wrote: > On Mon Sep 21, 2026 at 6:04 PM -03, 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. > > 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. >=20 > Ideally, if a Kconfig symbol is needed and the kernel under test does not > have it, tests are skipped. But with BPF they were simply not built, > rendering the tests useless for anything other than in-tree vmlinux with > tools/selftests/bpf/config*. >=20 > > Main users of this makefile are BPF developers and BPF CI. >=20 > But they shouldn't be the *only* ones, IMHO. Enabling distros to build an= d > run the tests is also valuable to catch regressions in their kernels, don= 't > you think? >=20 > > Support for distros customizing the makefile is a non-goal. > > The "PERMISSIVE" change done enough damage already. >=20 > It's ugly, I agree, but what damage has it caused? I see that it's going = to > be reverted anyway, but I would appreciate if you could elaborate. It's the first time I see a makefile that builds stuff not fully but 90% of it and returns success. The damage is the need to maintain it going forward that already cost some time. Do you have a list of kernel configs you had issues with?