Received: by 2002:ac8:3b51:0:b0:3f3:9eb6:4eb6 with SMTP id r17csp2787463qtf; Wed, 24 May 2023 10:29:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DS1BR8HohezoTcrBHdkZdQ87p5x47Ma7I9lAKS/pJ1DB1WDaNucfEqrMymbjexWIwbPlL X-Received: by 2002:a05:6a20:2453:b0:ff:a017:2b07 with SMTP id t19-20020a056a20245300b000ffa0172b07mr17075602pzc.20.1684949382312; Wed, 24 May 2023 10:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684949382; cv=none; d=google.com; s=arc-20160816; b=dDFXXxukHH7HJGNeXwxohltUgm/n9gJWz0vFHkYZeFS2nQkpsEzaexvvDqZJLh7x5G zHcYu+cn1hzMuTRw8wnhCDYFjRXJuiq3f+pJ3QwwRGnSFi5Rpbuij97+NnAgZ2DdjSCi 07EJ6XHKubY7Pkw9Vk3z7CWWF2Gybg7m+CmdDPxUK+DOwhJiQVzM/pbI3U2tdTrIjSh2 Ao3iYWR9qK3s/tCYZz+K6h0QVFnJ0xv0K9pNZopWHOY+QutYhWqUGLDfiVoOa3dBzbb1 uuOxrp8CyaPt9PqR3DzZJnovxswY1NPbsXY1c09C+TqxK/f/D8Bl7e5LjMFoWL3Ri/jQ BJnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OX7TwOTtxI9078iXGRe1v6WXZvE2EIyaYMEVVHOjuhQ=; b=bQQ/kEdKCoSNbHvPeJKqbWK4eaFKmzMz8hQ3OdwopgobFRwIJUNl2U9c7o2N04v+zK 1hPIz1vUmJtQn7oHeV+l+VbmdSijaG6zcEUpdK+lH+kQG8prcjOlHeP8IBA02g1SAxwa Il+4XzhCFYZx+FM3fFH6DIYd8pjpUkXd8jxS6JXumSN55I+a5yuCJ/OKvP3+0QfzV/sG z9bmjeY0UBAICHc2ekVkS7TNd8YbWCgkcrqE19d07M+aXqKNBi9VOlf/c61OrWicsAWV hlmJ3qrgnrNujxILdCocFn7q8fA39ARR64dJPDqVGHsKNNN9Kz39/92+ertuSewmmUJq 7CxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@isovalent.com header.s=google header.b="QB74L0/j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=isovalent.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i62-20020a638741000000b0053b8f80c630si6525849pge.785.2023.05.24.10.29.22; Wed, 24 May 2023 10:29:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@isovalent.com header.s=google header.b="QB74L0/j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=isovalent.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235535AbjEXRE7 (ORCPT + 99 others); Wed, 24 May 2023 13:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235540AbjEXRE5 (ORCPT ); Wed, 24 May 2023 13:04:57 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B34DD123 for ; Wed, 24 May 2023 10:04:55 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-97000a039b2so203468766b.2 for ; Wed, 24 May 2023 10:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isovalent.com; s=google; t=1684947894; x=1687539894; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OX7TwOTtxI9078iXGRe1v6WXZvE2EIyaYMEVVHOjuhQ=; b=QB74L0/jxXd7y6nW3o9xkHAJIGRnmghtu93J4jDvwNvITeAIoQ1Kd1rRdiYr0EsKlO +aIzASoolJ7V5hvYVZHGh+d1/19LfKg+NewxKOmVGDjN3vIpHFdFVLQt1Qluu2Rpm/3+ aK0A+P4xTNZfXzKSq4eTMQ/cB3Tjxhif9bPIY00bqC8CLJS6c8BmMFPgpsLjOCk6gm3S YbtFgwOiKDh7RgQ5jbPAbs1P6nZNf4zntXtiORXMtYxAbsEKieiIoAZibgKcmbS2wjv1 4zhipa+jS2pTh/jdOn/KCsGN/3lPwStUz3dDOJwPkipAeFah+0fTPiKkrFDGPvm/BHyl 7Zsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684947894; x=1687539894; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OX7TwOTtxI9078iXGRe1v6WXZvE2EIyaYMEVVHOjuhQ=; b=Q4uMyPz6lmjupZrIQH78hR1eKxBbl6oK2mLsF8CovciW4VHR196onzHjZfUqOTa9A9 69FO/LsSUEbh5XbgYpdMCsSUtVwctTpc9AxaIuHictqOVwVf+mq1HJCkGjXOr4WR8qXt NHHfySD6+17nWjnVgbxgya3S8qeKjk57otaS4RwYAps+XHa2C9ORIQlo19ZCNaRgZx4H W6twT0wHFZ6Lkm1KocjyK3UFHU8x3tWFmGe+uFTGPhKznuToL/N0qO6BrymZJWhELF6a Md6kSlsZ6gI/UI0GCxzY5ZCOJ5CzNAtuXQZv3JvaabXpRXo8Yrdl6Qc4tyoy7nkVGyfi +w6Q== X-Gm-Message-State: AC+VfDzLeTZSq+azhXns/Ch78YnQEzs9VOf1eu+gbmmkWAjssYsba/t/ JRvdWLQK23anl91t7c94Z+ETBJ+CtoihRJhkS/PFTg== X-Received: by 2002:a17:907:8a10:b0:96a:d916:cb2f with SMTP id sc16-20020a1709078a1000b0096ad916cb2fmr19835435ejc.36.1684947894084; Wed, 24 May 2023 10:04:54 -0700 (PDT) MIME-Version: 1.0 References: <20230320005258.1428043-1-sashal@kernel.org> <20230320005258.1428043-8-sashal@kernel.org> <2023041100-oblong-enamel-5893@gregkh> <2023052435-xbox-dislike-0ab2@gregkh> In-Reply-To: <2023052435-xbox-dislike-0ab2@gregkh> From: Lorenz Bauer Date: Wed, 24 May 2023 18:04:43 +0100 Message-ID: Subject: Re: [PATCH AUTOSEL 6.2 08/30] selftests/bpf: check that modifier resolves after pointer To: Greg KH Cc: Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Martin KaFai Lau , ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, shuah@kernel.org, yhs@fb.com, eddyz87@gmail.com, sdf@google.com, error27@gmail.com, iii@linux.ibm.com, memxor@gmail.com, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2023 at 5:04=E2=80=AFPM Greg KH wrote: > > Great, any specific commits that fix this issue would be appreciated to > be pointed at so we can apply them. The problem was introduced by commit f4b8c0710ab6 ("selftests/bpf: Add verifier test for release_reference()") in your tree. Seems like fixup_map_ringbuf was introduced in upstream commit 4237e9f4a962 ("selftests/bpf: Add verifier test for PTR_TO_MEM spill") but that wasn't backported. To restate my original question: how can we avoid breaking BPF selftests? From personal experience this happens somewhat regularly. Best Lorenz