Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp498006rdb; Tue, 19 Sep 2023 01:31:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJMNgUqSvhHL0RiD9oE18gXydXtaX81EN68UjVvty18EFadasR0hvjVOLEg6X1bvXYBUMH X-Received: by 2002:a05:6a00:1512:b0:68b:fb93:5b4e with SMTP id q18-20020a056a00151200b0068bfb935b4emr11560085pfu.26.1695112266372; Tue, 19 Sep 2023 01:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695112266; cv=none; d=google.com; s=arc-20160816; b=FvP2bLYsBIb5PKV7X3h8C9bjLIS/QNaCE8iFddeAhzcUUPpCMhTqm8XT2SXSKaZW2O 4v406T278e0jJKYlWZ1GQcNJPKx9m8CFJ23XzI20RdgYVWP6b4vEEqjfD0cxlkBDqCm1 brDrcmbq5Y0kzbXb07mpFoB5C0dv0fxEI++tKgI7xfvuTbNt8w9T8nTAWA2LNWMob0ZR CHCmb85Nd0af8aSHzfqmmV90iv1vYMaQsrkD5JMKjC7kh3vkKvwqh/VTAqv4QBVlfbTX nzioPyi8kGMkwxHPs26nPZcy62zSJHQqiuw2rS4CIPWNTrX+V8KSd5jIFnq8a5YQeJaY JB8w== 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=B0+hL5nXvp+YxfHoUGoH5JdysMjS5xnSE8oqdqI2a9I=; fh=NrBuBM0LvjHxJzc3IlwdRtTghsIg2qhvgvT4wCgjCsU=; b=wKhGteRgAZvpTPIv35epqa9+UiHX3v2P8huPT1n1LWjykH53JVegs4UntxsZEY1ZnV DBwpg8v7eWR2O1t5IQFkhcosdzJJIi10Obmxia56/XjK4m1J4fzeQPU75SwBX3v+XA2t msOEmVROYKHQbP75ZFi4sfT44PCz1BpFlOZDNKtEoi804/pTiAnxmdJnJZtWtWGBBp6Z trku1scnCB0Ke0YivzdbjnLFCgQggq289dwFYcADoDTNGAtFVggD0JDLBHb2VZ8R60fA YR7QHQlrFyjaJGsZTxuDEPlK4jryU43LNg6jzSeqnJHK0rE9f1HZhaDfuknK1rdpMcYD I+3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id a5-20020a62d405000000b0068fdb060072si1265439pfh.341.2023.09.19.01.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 01:31:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3807D80BF1AF; Tue, 19 Sep 2023 01:25:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230348AbjISIZy (ORCPT + 99 others); Tue, 19 Sep 2023 04:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbjISIZw (ORCPT ); Tue, 19 Sep 2023 04:25:52 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A417E4; Tue, 19 Sep 2023 01:25:41 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Ax1fADWwllAdwpAA--.14862S3; Tue, 19 Sep 2023 16:25:39 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxO9wCWwllBl4LAA--.22628S2; Tue, 19 Sep 2023 16:25:38 +0800 (CST) From: Tiezhu Yang To: Jonathan Corbet , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Cc: linux-kernel@vger.kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH bpf-next v1] bpf, docs: Add loongarch64 as arch supporting BPF JIT Date: Tue, 19 Sep 2023 16:25:37 +0800 Message-Id: <1695111937-19697-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8CxO9wCWwllBl4LAA--.22628S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj93XoW7WFW8KFy7Xw48GFy7ur4kGrX_yoW8Xw1DpF n09r1Iq345G3WUGa4UJ3y2gF13KF97ur45GF4vg348Xrn8ZwnYgrs5KFnYvF15GFWxuFWF qF43tFy5Z3WqkagCm3ZEXasCq-sJn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUkFb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv 67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2 Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s02 6x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0x vE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x kF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07URa0PUUUUU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 01:25:56 -0700 (PDT) As BPF JIT support for loongarch64 was added about one year ago with commit 5dc615520c4d ("LoongArch: Add BPF JIT support"), it is appropriate to add loongarch64 as arch supporting BPF JIT in bpf and sysctl docs as well. Signed-off-by: Tiezhu Yang --- Documentation/admin-guide/sysctl/net.rst | 1 + Documentation/networking/filter.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/sysctl/net.rst b/Documentation/admin-guide/sysctl/net.rst index 4877563..c752594 100644 --- a/Documentation/admin-guide/sysctl/net.rst +++ b/Documentation/admin-guide/sysctl/net.rst @@ -71,6 +71,7 @@ two flavors of JITs, the newer eBPF JIT currently supported on: - s390x - riscv64 - riscv32 + - loongarch64 And the older cBPF JIT supported on the following archs: diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst index f69da50..7d8c538 100644 --- a/Documentation/networking/filter.rst +++ b/Documentation/networking/filter.rst @@ -650,8 +650,8 @@ before a conversion to the new layout is being done behind the scenes! Currently, the classic BPF format is being used for JITing on most 32-bit architectures, whereas x86-64, aarch64, s390x, powerpc64, -sparc64, arm32, riscv64, riscv32 perform JIT compilation from eBPF -instruction set. +sparc64, arm32, riscv64, riscv32, loongarch64 perform JIT compilation +from eBPF instruction set. Testing ------- -- 2.1.0