Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp63938lfe; Fri, 15 Apr 2022 19:41:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy48iAgLenHfIyFxpFi4zqWGDcP4Hi/1wORfKRROQgSXS6NFcKoc7S4ZkznF1fcXmKb86t0 X-Received: by 2002:a63:3f0e:0:b0:386:1d94:312a with SMTP id m14-20020a633f0e000000b003861d94312amr1408886pga.317.1650076894732; Fri, 15 Apr 2022 19:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650076894; cv=none; d=google.com; s=arc-20160816; b=MEN3V3JngiBFzGrB4t86CbUfCAIQOm46ZMKknIgwmY0qTKyMzqwMgQKlSoxoaGqI3Z 0I7l+b+mxyozadoA+G/35teoe8oYGsg7LpeiDUtXMIBIL2ym/DTm+nUJEYXs2eBL/MPH pyp+m+DQATJ+XMeYsZKylhGleFZNwhXIg4xML7MSe9gZYV3NOegg43/6FCcAUB3BdKIi QvHj/jztMAY0jmxZePQop80kqaPuTquw/P1xRMBouyma9+h/Rrbexw6zWSnRLW44MjRS iLh+f8yUUqXkgWAOm1VTM+KqGnD3/aNi8bqW5RK5dUsg5sEwzFpNKMmNvgiG9m9wpvcx r/XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=NbUyMRXU3YGyouZhFWR+9oe5iiAhaIN84BE7CsU16Zc=; b=iFFKH9dfVBTjVq/nPHOQNyfdz7SzO18wQupDNG2SoS29ti2CUJ+iGC51G8kh36uNQV zoRsl/arUS3k/TWj7Ed+Xny9YBCMqkmxi975YBRoWIf3siU5QHszG6jgpCHyZFgxahOL fuzr2Fevw+30HQVyQfd7Mo2znjlBXy4f+5CA80wK31AlrzOMq1Qj9I/c2w1GjNRBGMGK Q5lNCfdRcdP00H6qXim516a5GucaU+YSdeT1YAhUdQq+ssOEcuj/HWhbmqFQ5cD6mlUv 2W5I08WYNfglBKzVFWw6yqMaNrgLy71ni/3kOlq9Ld+RV4wtYPR6y1vDnHj/prJZsVmi TUfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail2 header.b=lE7nwooI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d13-20020a170903230d00b001585910d6a4si111737plh.235.2022.04.15.19.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:41:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail2 header.b=lE7nwooI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8035DBC17; Fri, 15 Apr 2022 18:48:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347135AbiDNWrU (ORCPT + 99 others); Thu, 14 Apr 2022 18:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239245AbiDNWrR (ORCPT ); Thu, 14 Apr 2022 18:47:17 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3EE93EF0A for ; Thu, 14 Apr 2022 15:44:50 -0700 (PDT) Date: Thu, 14 Apr 2022 22:44:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail2; t=1649976281; bh=NbUyMRXU3YGyouZhFWR+9oe5iiAhaIN84BE7CsU16Zc=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=lE7nwooIHB/4IgEfwRdkbBZ7P0LpWSGdD9zZmqLTeCGJCVWDYrAoZljZGQSPtWUV6 rJCe1lEnjKjBgjsPGaNVXDv7io4kZN1nziWGF8tu+vJqa0Q2A5p6mX78pU1p85tLaP gRicHZEM87UVPIsTECwtmhRiEDRP/PrGHKd/RmoALy738gTUed7bIpeMH7W5DuDyEv RkEg0ckD6yNgDX7XsSrOdPmiKaX4CTS0cfWVCTWUuhCDP8aPojWmfXVMTqlPRaGTQc ZM9U7wl49sykLy3ZzCyhAfu4WwftGEFkth+U4v0m4F4egi9Y4donykcb+azNwS6GEr i86EhtsJVfp/g== To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko From: Alexander Lobakin Cc: 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?Q?Bj=C3=B6rn_T=C3=B6pel?= , Magnus Karlsson , Jonathan Lemon , Nathan Chancellor , Nick Desaulniers , Alexander Lobakin , 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-users@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, llvm@lists.linux.dev Reply-To: Alexander Lobakin Subject: [PATCH bpf-next 00/11] bpf: random unpopular userspace fixes (32 bit et al.) Message-ID: <20220414223704.341028-1-alobakin@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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 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