Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4952030pxb; Wed, 20 Apr 2022 13:53:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxpx3BO8cdOGatYx/3YKDw9bvlue8aYalAC17EUUzskGa6vZSPiMWw9XVyNii8LVeV9nL7 X-Received: by 2002:a17:90b:1c05:b0:1d2:ae49:b23d with SMTP id oc5-20020a17090b1c0500b001d2ae49b23dmr6467377pjb.236.1650488035852; Wed, 20 Apr 2022 13:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650488035; cv=none; d=google.com; s=arc-20160816; b=LgoLylpJqMuaFtqGreWIlv20lPkp6oAYpD7nmJMQGzgr9EJM03muXl3xzswUJHwhWW xoJh15sb5ytHe2U4+9OMurQ5pWpG0lmaRTYhYD3+bUeHnV8iBbztGBFcK/fgrGDqfa0v 0H1rsovsMRMylH4KJiIWLXNtP8zaUGIh6G3a/YkZnLXEd2Ebg3U0X+eIXAeHSDx1D6a6 M/2llviiUj6Hc2X5L3wADGevrHTRG0w4tJPMCJyw5Vr0ntEo0i47ZfPslVZncxmXBS+q C7KB0EtHtjozsJy6b5rJ6YvYoocmrGiwvuP+IDy0pcuhNpk/qqAunFNarFB4Uk1wuGw2 G9Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vceL50BIp2v6AiSQ6YiQr6PR8WOQ5ol+sLtkOLau4XA=; b=xJjVw5KOULSre4wDdJKsz3JJAyEftdHTmZaSvlrjSgZZfi+LGqS7WD8Kz5J2HsXJVD aJcF9wxy0Zxf3FY1WdqZl1mTifjOlhmIGCn7+jseqRQgjuBn8odNZs7lqqg6Nzllgp1G uTQaUCZisqeNaVQ950itKVlbJAKo2og+7zBFRNvd52swf7jkkKKhrFYQ33/oHgD//CQt UM5vAdpJ7yItkdczZR3mdIm6Me0acMwapFh9TnqR5x0F8/FOZ7Msh8voIZpRTeeZPoPI U1g4ztMN+5Eye328z5g/i9XctM1CC2GeHB//0DuFkbkeCkhBB9r79HxjzLiX1FHmtm3l dAzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dPSQHu6n; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u71-20020a63854a000000b0039d74310d24si2887178pgd.375.2022.04.20.13.53.39; Wed, 20 Apr 2022 13:53:55 -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=@gmail.com header.s=20210112 header.b=dPSQHu6n; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381052AbiDTRXc (ORCPT + 99 others); Wed, 20 Apr 2022 13:23:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344045AbiDTRXa (ORCPT ); Wed, 20 Apr 2022 13:23:30 -0400 Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C611533E3E; Wed, 20 Apr 2022 10:20:42 -0700 (PDT) Received: by mail-vs1-xe2c.google.com with SMTP id m14so2173051vsp.11; Wed, 20 Apr 2022 10:20:42 -0700 (PDT) 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; bh=vceL50BIp2v6AiSQ6YiQr6PR8WOQ5ol+sLtkOLau4XA=; b=dPSQHu6nx3iobsZSUWBFmXF4+kbgM/szfCsN6teKAmJ9FpHP0/BQhQ7vkzc+xC4nqd MlYf4fGWTY35ANgfJwFGNPL2LOBp1umldmad29D2CJ0hU0Mxls3ffBj/tXq7HqkEq6/B JKnor+MXg9+H+0s9wpmSgYrMl2w3+eijPyNKoEydWt9ON88mle7z56kT7U/ydH0cRWZq NWOYdeVdI8wJRc2PzplJ31uJGHcyViapKYwj22j/YU5QeaZC9gLRDGu4gDXoELQm8aPJ 79wH0nGGRPIWA560g2smnsMVD4weZ/45UYENV/J0QkSL2DtXM7tjN0jxyEtXlz8eUnS1 /f+A== 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; bh=vceL50BIp2v6AiSQ6YiQr6PR8WOQ5ol+sLtkOLau4XA=; b=z+4bFm0zMTWbqHjqtPnJqzpwnd9ZNLLLD/SsghQyu9zNyvDRMb6SkSXUf933bUd37y haAi/mPn8uM2v1eKQswWSSywSutLU01lrAv1NVtMDaWXABTzlHuVXDh9iQ9dfHoM0Zet FH2mYY6SOkQRCqUIHiuigjv9xi8dZs4Epl7bJBFvVNtFbp8oyMeCDNM63MkFoDIR5XCY adzGawu1lTprfvMS51cCFzxY/dNf0BkqiFkP3IEzeygEa3tCrMrWmM+4bve7Gn9xTtFv +8FuqzUjPF898FhdXP4Q7n3b7rluoGBvJPITszW+MT2TsWDIfDAr3Dl2xoHBuyXQsXE8 57gA== X-Gm-Message-State: AOAM533OfAnNCcrEY1QeuTr67T+tYhM0rRVwV4kRbqrIYyEckUq3jg6x vtVBHhx6Dj+SkYyet7j8ivELF1ozqAbUXv82dmY= X-Received: by 2002:a67:f693:0:b0:328:295b:3077 with SMTP id n19-20020a67f693000000b00328295b3077mr6552415vso.80.1650475241848; Wed, 20 Apr 2022 10:20:41 -0700 (PDT) MIME-Version: 1.0 References: <20220414223704.341028-1-alobakin@pm.me> In-Reply-To: <20220414223704.341028-1-alobakin@pm.me> From: Andrii Nakryiko Date: Wed, 20 Apr 2022 10:20:31 -0700 Message-ID: Subject: Re: [PATCH bpf-next 00/11] bpf: random unpopular userspace fixes (32 bit et al.) To: Alexander Lobakin Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Jonathan Lemon , Nathan Chancellor , Nick Desaulniers , Dmitrii Dolgov <9erthalion6@gmail.com>, Quentin Monnet , Tiezhu Yang , Kumar Kartikeya Dwivedi , Chenbo Feng , Willem de Bruijn , Daniel Wagner , Thomas Graf , Ong Boon Leong , "linux-perf-use." , open list , Networking , bpf , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Thu, Apr 14, 2022 at 3:44 PM Alexander Lobakin wrote: > > This mostly issues the cross build (1) errors for 32 bit (2) > MIPS (3) with minimal configuration (4) on Musl (5). The majority > of them aren't yesterday's, so it is a "who does need it outside > of x86_64 or ARM64?" moment again. > Trivial stuff in general, not counting the bpf_cookie build fix. > > Alexander Lobakin (11): > bpf, perf: fix bpftool compilation with !CONFIG_PERF_EVENTS > bpf: always emit struct bpf_perf_link BTF > tools, bpf: fix bpftool build with !CONFIG_BPF_EVENTS > samples: bpf: add 'asm/mach-generic' include path for every MIPS > samples: bpf: use host bpftool to generate vmlinux.h, not target > tools, bpf: fix fcntl.h include in bpftool > samples: bpf: fix uin64_t format literals > samples: bpf: fix shifting unsigned long by 32 positions > samples: bpf: fix include order for non-Glibc environments > samples: bpf: fix -Wsequence-point > samples: bpf: xdpsock: fix -Wmaybe-uninitialized > For consistency with majority of other commits, can you please use "samples/bpf: " prefix for samples/bpf changes and "bpftool: " for bpftool's ones? Thanks! > include/linux/perf_event.h | 2 ++ > kernel/bpf/syscall.c | 4 +++- > samples/bpf/Makefile | 7 ++++--- > samples/bpf/cookie_uid_helper_example.c | 12 ++++++------ > samples/bpf/lathist_kern.c | 2 +- > samples/bpf/lwt_len_hist_kern.c | 2 +- > samples/bpf/lwt_len_hist_user.c | 4 ++-- > samples/bpf/task_fd_query_user.c | 2 +- > samples/bpf/test_lru_dist.c | 3 ++- > samples/bpf/tracex2_kern.c | 2 +- > samples/bpf/xdpsock_user.c | 5 +++-- > tools/bpf/bpftool/tracelog.c | 2 +- > 12 files changed, 27 insertions(+), 20 deletions(-) > > -- > 2.35.2 > >