Message ID | 1677066908-15224-1-git-send-email-yangtiezhu@loongson.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp533215wrd; Wed, 22 Feb 2023 04:00:55 -0800 (PST) X-Google-Smtp-Source: AK7set+CtnbHg4q6QutgXWeJHIbpBfd5mXz08kqRF4s22ZCCvQ5vmXhYz7VESzgC6u/PFUfBwQnX X-Received: by 2002:a17:907:d305:b0:8ad:d366:54ca with SMTP id vg5-20020a170907d30500b008add36654camr22277943ejc.23.1677067255464; Wed, 22 Feb 2023 04:00:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677067255; cv=none; d=google.com; s=arc-20160816; b=sISKXFOP+BG5ROCeHq+sjVKgXBG05v//krr8qNhShsD9zmg+bofXOSH30hr8mudE95 1J5w/c05t/5E+GKtlug8kvnrAbrv+2QjDeePjMFTE+PjvIrqj5VftfdZyHQ92PAZbNSK qRAquIO+hZ5ux+pY401LmYLeOlQl8BQeaU8Q6rYWhUqXe5xa9pJQrd5kz3F8DNd7zBnk 56QMFpy8bDopEBgbjXI4GD5nktXpayTyQnMqtjU9civFbX4BRSfbX/myysG+cjt2UQpo fnVYTmakgHmI6OhDpQzaZQ/iRXkL7unwxk8o+cnxwQEeMaWWP1rzljiZwuaUOljFD4hZ yHcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=+NxI0n3p4bCYovfRV/GU5PIg4Cv7Uqip0q8aBPwYMKk=; b=zqidE8qoQm72jl13EmUNFg/qDMkRUE+v0oXsSP1Or7OesOQ4SkxWl2QTQPrMCMH81Q JiCnYJLOf7BFA7+Octl0H2LvFbEzKiBdxDvLk7V2qP5wn1mF09by3FlIFQx6I/TTIpaT gHjejNJnA8RyNKwr5hjGmz3FPYuKWPUXx6lkBqqrs9VRot6rPGhDs8PrmkBrlNxntog6 HGnR8JlbMX51pIshJ1n8f/sdBe4SDyNVze7GiIndGW1GAIGK0OJCfo+FonJRZ/G3/7Sl L8Ygp63Api4MUWhGNSR8+/vl4TAurweYV1xCbwch7BKePdukYU8HpmF/BanciUPXErzq u/Pg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fe6-20020a1709072a4600b008b194cb9af5si15165079ejc.629.2023.02.22.04.00.31; Wed, 22 Feb 2023 04:00:55 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjBVLza (ORCPT <rfc822;dengxinlin2429@gmail.com> + 99 others); Wed, 22 Feb 2023 06:55:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231194AbjBVLzZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Feb 2023 06:55:25 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C0AEB37B40; Wed, 22 Feb 2023 03:55:22 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8BxONmpAvZj6JEDAA--.1707S3; Wed, 22 Feb 2023 19:55:21 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cx2r2nAvZjar04AA--.38065S2; Wed, 22 Feb 2023 19:55:19 +0800 (CST) From: Tiezhu Yang <yangtiezhu@loongson.cn> To: Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, Andrii Nakryiko <andrii@kernel.org> Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH bpf-next 0/3] Fix some build errors for bpf selftest on LoongArch Date: Wed, 22 Feb 2023 19:55:05 +0800 Message-Id: <1677066908-15224-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8Cx2r2nAvZjar04AA--.38065S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUkFb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I8E87Iv6xkF7I0E 14v26F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280 aVAFwI0_Cr0_Gr1UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20x vY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I 3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIx AIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAI cVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2js IEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07UMCJPUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758532474483025805?= X-GMAIL-MSGID: =?utf-8?q?1758532474483025805?= |
Series |
Fix some build errors for bpf selftest on LoongArch
|
|
Message
Tiezhu Yang
Feb. 22, 2023, 11:55 a.m. UTC
Tiezhu Yang (3): libbpf: Use struct user_pt_regs to define __PT_REGS_CAST() for LoongArch selftests/bpf: Check __TARGET_ARCH_loongarch if target is bpf for LoongArch selftests/bpf: Check __ARCH_WANT_SET_GET_RLIMIT before syscall(__NR_getrlimit) tools/include/uapi/asm/bitsperlong.h | 2 +- tools/lib/bpf/bpf_tracing.h | 2 ++ tools/testing/selftests/bpf/prog_tests/user_ringbuf.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-)