Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3983021pxb; Tue, 25 Jan 2022 00:38:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJx89APU/Dcot0KjjpAnfZZJyMBWvo13Hi7MeZUgvxZ76218AmjXlEFuWKQgdgSTIfd4dx0r X-Received: by 2002:a17:906:4cc9:: with SMTP id q9mr15663939ejt.695.1643099904554; Tue, 25 Jan 2022 00:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099904; cv=none; d=google.com; s=arc-20160816; b=MDA4F0OSNPQBN3h0pGFBOty7ob78n+sPow/c9Fytj2Q+PLa5gFL6Lzi9ypvpXTCCoR jDYxSTQ2+/Qj38TZ2WAVG0lwztUg4xLyJzGCE+TJGTZBwF1iA2SHNx/5iYPE1GvuvJQO OPA9inKLEEZ+W3jSZIk8+LKbbZTSRPbrjNLJkPiVfAzbZEFLEEkzGJsYmSrwxG2Xj1AW g5q8xp+EdvG4dudYN3DtTnnw6hYhICMifvuepyyxK8gdIx4pwIZMOcmRZQERMk7HBZky mpgpky5A6cCw/oMQ2p5eBgVDuw+S8Q3hFuSm7nShvA90UaDL99rvu7cbMkxT5Use3zkf 9u8w== 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=d6HjppEWR1T8ZOcwdp+EOP/ztmmko1v8gQaGfPlFykA=; b=LtHFc0PIqJTkaLF2Fk0K7THCwmzYZ+QbQtzeq/85ARqydN8udIKgRPWU6cjGI6L5WI Brig8lGkeY4UY6j9t59bIz7OJtOnTSC/vw6RIAZRGfLMulaE6mS9YGi04teLk6ilBhdj Giw3Nt/ZdUhW7BMCQV/RHh7Y0hG94LsROJKW1yVaDuN+rIQqtT7SXyz3sfnQx9sSQkc3 ZvIOmIRTvhqZ9ARvw9c2IWN+WdT/xASZvpd87KQdE3k7T+AMsXdUBy4Wz0XmjSQfbPdj ZVXVQtNkrC0C0krG0rlLYCqEei40u58Jlq+XOk8AUBZQXaJ1CnbCs7kij+0e/TVd8ghh eDyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hGDljOFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si9876967ejd.170.2022.01.25.00.37.59; Tue, 25 Jan 2022 00:38:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hGDljOFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1315929AbiAYCyy (ORCPT + 99 others); Mon, 24 Jan 2022 21:54:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S3409738AbiAYA1T (ORCPT ); Mon, 24 Jan 2022 19:27:19 -0500 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A21F3C046E03; Mon, 24 Jan 2022 14:09:25 -0800 (PST) Received: by mail-il1-x135.google.com with SMTP id y17so3641053ilm.1; Mon, 24 Jan 2022 14:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=d6HjppEWR1T8ZOcwdp+EOP/ztmmko1v8gQaGfPlFykA=; b=hGDljOFLASbsoMo+rcy/eXZrA59L6Zh/LlOQEBmL6YzOvLS2AjNgBfEei25hhxaxSL W3aSXsKTwJrIhbL4e4IWQeWpBFOO7JLb+bt/Jrpal9j/v5CfX2tR4iXme1k6g7HRAfKp 8NbVw4XVbcceiUm8OkImUmbHVhdRh8oW5rlhzn5TgRs4v6hzH9nviJAFQ3VxMEy6C9ML JH5Ra4099xJ7v/JF/EC57bBk3zh0iEff8JTkQv63GL7ojY2VZpJuXSnaWyC4dSvhGv4k aOiUM5l33Met6VKn8K6CjMV2nFzcM3n0Ny45RCZXc3IeOSH2AiSzLDJK0uMDG7GWi/h6 Pxmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=d6HjppEWR1T8ZOcwdp+EOP/ztmmko1v8gQaGfPlFykA=; b=TNT+kznhYwjlSu2e8Nemp+qhzvEuN8Q7LhAUsJOS1rmcWnaN6FRz9OABqyZhdXyePm 4TyOb3A9BTJfLr6HhGrWF9aHUa1OBR6vGWCDNJ7WhUM3GMd1vS/7ZU0syFIEfke5BIop EEbf/PRgFs+/MCzfeQrMB2mSprNRtwY6HlEU24f8ZLCtB4JI7cI+VRw8WTZRz6JYkVgX GQiy2p5oNtcrcA064ei0V0qrtXXwY+b6B5iLBzeLabs8l3gEHN/yKqRsDWQmg2+of6NN wCaYZbARFxaUbH32k02CKLBzdPHZhW2mL59ghRAch9rmljMitrWB4lOycURKa4gWQVS2 p4XA== X-Gm-Message-State: AOAM532thjKf2AFm/vtQXkHauycY6k2i/OoAryaqURaXInJt4D+eofEs f4EG6DRRBneOlAC4h+EE8bF3lZ/LNreRF7B8cbw= X-Received: by 2002:a05:6e02:1749:: with SMTP id y9mr9274241ill.252.1643062164966; Mon, 24 Jan 2022 14:09:24 -0800 (PST) MIME-Version: 1.0 References: <20220124184100.867127425@linuxfoundation.org> <29a0f562-af46-f4d0-182c-09c8d99e0a93@applied-asynchrony.com> In-Reply-To: <29a0f562-af46-f4d0-182c-09c8d99e0a93@applied-asynchrony.com> From: Andrii Nakryiko Date: Mon, 24 Jan 2022 14:09:13 -0800 Message-ID: Subject: Re: [PATCH 5.15 000/846] 5.15.17-rc1 review To: =?UTF-8?Q?Holger_Hoffst=C3=A4tte?= Cc: Greg Kroah-Hartman , open list , Linus Torvalds , Andrew Morton , linux@roeck-us.net, Shuah Khan , patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, Sudip Mukherjee , linux- stable , Andrii Nakryiko , Alexei Starovoitov , Yonghong Song Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 12:36 PM Holger Hoffst=C3=A4tte wrote: > > On 2022-01-24 19:31, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.15.17 release. > > Oh noes :( > > DESCEND bpf/resolve_btfids > MKDIR /tmp/linux-5.15.17/tools/bpf/resolve_btfids//libbpf > GEN /tmp/linux-5.15.17/tools/bpf/resolve_btfids/libbpf/bpf_helper_= defs.h > MKDIR /tmp/linux-5.15.17/tools/bpf/resolve_btfids/libbpf/staticobjs/ > CC /tmp/linux-5.15.17/tools/bpf/resolve_btfids/libbpf/staticobjs/= libbpf.o > libbpf.c: In function 'bpf_object__elf_collect': > libbpf.c:3038:31: error: invalid type argument of '->' (have 'GElf_Shdr' = {aka 'Elf64_Shdr'}) > 3038 | if (sh->sh_type !=3D SHT_PROGBITS) > | ^~ > libbpf.c:3042:31: error: invalid type argument of '->' (have 'GElf_Shdr' = {aka 'Elf64_Shdr'}) > 3042 | if (sh->sh_type !=3D SHT_PROGBITS) > | ^~ > make[4]: *** [/tmp/linux-5.15.17/tools/build/Makefile.build:97: /tmp/linu= x-5.15.17/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf.o] Error 1 > make[3]: *** [Makefile:158: /tmp/linux-5.15.17/tools/bpf/resolve_btfids/l= ibbpf/staticobjs/libbpf-in.o] Error 2 > make[2]: *** [Makefile:44: /tmp/linux-5.15.17/tools/bpf/resolve_btfids//l= ibbpf/libbpf.a] Error 2 > make[1]: *** [Makefile:72: bpf/resolve_btfids] Error 2 > make: *** [Makefile:1371: tools/bpf/resolve_btfids] Error 2 > > Reverting "libbpf-validate-that-.btf-and-.btf.ext-sections-cont.patcht" a= ka > this one: > > > Andrii Nakryiko > > libbpf: Validate that .BTF and .BTF.ext sections contain data > > makes it build & run fine. I looked for followups but couldn't find anyth= ing that > stood out, maybe the BPF folks (cc'ed) know what's missing/wrong. > That small fix depends on much bigger refactoring in ad23b7238474 ("libbpf: Use Elf64-specific types explicitly for dealing with ELF"). I think this small fix can be dropped. That's sort of a general rule with libbpf-related fixes, they are usually not that critical to backport to stable, because most users use/build libbpf from its Github mirror, which is always taken from latest bpf-next. Libbpf is also not supposed to be used with untrusted inputs (i.e., BPF object files) as BPF programs are loaded into the kernel under root. > cheers > Holger