From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E25EEC3F2D7 for ; Tue, 3 Mar 2020 07:27:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BBF3F20CC7 for ; Tue, 3 Mar 2020 07:27:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rvJ+YaWG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727646AbgCCH1n (ORCPT ); Tue, 3 Mar 2020 02:27:43 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35581 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727498AbgCCH1n (ORCPT ); Tue, 3 Mar 2020 02:27:43 -0500 Received: by mail-qk1-f194.google.com with SMTP id 145so2476041qkl.2; Mon, 02 Mar 2020 23:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EPMkUwZp6KV2zQtOQ/HDG4J9jIuHDQrBU740Rw3sZEw=; b=rvJ+YaWGiQIUHJTTbjQXHsU+qz27tkISaqJdwTMGHwOpQ6XBcywdlcljo9qFTxSUUF T57+8xyeBd1i9PX1cxoEWcpWNwf3wEzuOqAggFO/kU28QptTCfI22G1SmtpxN+zIBE84 ts6a7JvevtVNF39MVqhgWJXxOZQ74GsfIzIlS6C2ZxWs1MxbhAoRuCPFFNCUwixaUd5W 3ywUkrmMrk1XC5WJ1q2JUNOElGJX1h8Tz0yYJcvX4/ofdz13/hTPOEPq4FT99t01wsUr AtQl1ET64hv4hGwZpom4H35P23kLU+YJsfG/lWK14+6nbVbvMl6fc/coHBqtW8QUKzcy R6HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EPMkUwZp6KV2zQtOQ/HDG4J9jIuHDQrBU740Rw3sZEw=; b=oRKG+X+jqAhyk9bFFhs/Bl1nkbaMecg052RIY+Z3rVyhQ3mCwbCAC2g/C+JHHVUuxc gKJj7aFP8FKlNG9Gp6BlrrI0L4mcALb1wEc0QI33AYcSeEdDs4i7vW/sdKG/jjeeDJ+F zzyeQrE70+r+OTV5UpGKdmNF585g3aPcI5Xt2e4v3RikIcIK1WiriVtTFyNXJkrN99rM 8RJQasp2X2dw+1l8Bsf0HmcWuEna97qLg0o/JVQMiQP+pXzPh83K/bvsaaA4/mmPVpLe pfBnj5WgKZL2lwVYDDNIY6du3vVRP0BvitN4k7mLQAJuH9gNKy5HYRCHpl9QpI4ae3VO lm3w== X-Gm-Message-State: ANhLgQ3E8GPak/3/ckxhOYUro6o8BMEkty4ntYQaNS77F5nk+h5v6+uf JXZsgeBUwyl82CbOZn7ZVThfmeTzsCFwlozCFgzhIxCYSxCnqA== X-Google-Smtp-Source: ADFU+vtPLeYYw40rLd76IFgdK//etfwn2dnKzi5huN2O0NR+iLdTt9fmsfVhcO38RDt6XnlZ/2hvsaA3mKubpSUXX44= X-Received: by 2002:a05:620a:1210:: with SMTP id u16mr2857096qkj.493.1583220461898; Mon, 02 Mar 2020 23:27:41 -0800 (PST) MIME-Version: 1.0 References: <20200303005035.13814-1-luke.r.nels@gmail.com> <20200303005035.13814-4-luke.r.nels@gmail.com> In-Reply-To: <20200303005035.13814-4-luke.r.nels@gmail.com> From: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Date: Tue, 3 Mar 2020 08:27:30 +0100 Message-ID: Subject: Re: [PATCH bpf-next v4 3/4] bpf, doc: add BPF JIT for RV32G to BPF documentation To: Luke Nelson Cc: bpf , Luke Nelson , Jonathan Corbet , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , "David S. Miller" , Jakub Kicinski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Xi Wang , Mauro Carvalho Chehab , Stephen Hemminger , Rob Herring , Greg Kroah-Hartman , Jonathan Cameron , Andy Shevchenko , linux-doc@vger.kernel.org, LKML , Netdev , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Mar 2020 at 01:50, Luke Nelson wrote= : > Update filter.txt and admin-guide to mention the BPF JIT for RV32G. > > Co-developed-by: Xi Wang > Signed-off-by: Xi Wang > Signed-off-by: Luke Nelson Acked-by: Bj=C3=B6rn T=C3=B6pel > --- > Documentation/admin-guide/sysctl/net.rst | 3 ++- > Documentation/networking/filter.txt | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-guide/sysctl/net.rst b/Documentation/adm= in-guide/sysctl/net.rst > index 287b98708a40..e043c9213388 100644 > --- a/Documentation/admin-guide/sysctl/net.rst > +++ b/Documentation/admin-guide/sysctl/net.rst > @@ -67,7 +67,8 @@ two flavors of JITs, the newer eBPF JIT currently suppo= rted on: > - sparc64 > - mips64 > - s390x > - - riscv > + - riscv64 > + - riscv32 > > And the older cBPF JIT supported on the following archs: > > diff --git a/Documentation/networking/filter.txt b/Documentation/networki= ng/filter.txt > index c4a328f2d57a..2f0f8b17dade 100644 > --- a/Documentation/networking/filter.txt > +++ b/Documentation/networking/filter.txt > @@ -606,7 +606,7 @@ before a conversion to the new layout is being done b= ehind 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, riscv (RV64G) perform JIT compilation from eBPF > +sparc64, arm32, riscv64, riscv32 perform JIT compilation from eBPF > instruction set. > > Some core changes of the new internal format: From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63762C3F2C6 for ; Tue, 3 Mar 2020 07:27:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B98520CC7 for ; Tue, 3 Mar 2020 07:27:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aEVr7FVz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rvJ+YaWG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B98520CC7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:Content-Type:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EPMkUwZp6KV2zQtOQ/HDG4J9jIuHDQrBU740Rw3sZEw=; b=aEVr7FVzMacPlz QsR2kNW2Ep0vgpHpuZUqHIcwqCcKCEVl8RxViG5OI4hVEM5BeRIkoV6ZbeLLV45Nxy2aVYVXy/+bc HdcUJJYifDwziVX1Ow4sYJkXhVebsV+KWzpNLM6KLrR7/xkP5WYCFhRnPeEDk2IgvpL7i69V+M941 wGomOJYHUb+9lXl6x6/i54hACnvkbvp87cjBKyIsPsHn4suzDSHpDraDhU05bjqEzP1CMEvSxHGW0 UoFyhQr7fuNrk4bOx6Bz01B2aqB0KV2mk174YC01cYfHRcHXeP6D/OZYMhYsdzvGnMnkD09hoyac6 3KmUxI/GCfHuP0wDOqkA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j91xy-0002yK-2q; Tue, 03 Mar 2020 07:27:46 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j91xv-0002xe-N0 for linux-riscv@lists.infradead.org; Tue, 03 Mar 2020 07:27:45 +0000 Received: by mail-qk1-x743.google.com with SMTP id p62so2476365qkb.0 for ; Mon, 02 Mar 2020 23:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EPMkUwZp6KV2zQtOQ/HDG4J9jIuHDQrBU740Rw3sZEw=; b=rvJ+YaWGiQIUHJTTbjQXHsU+qz27tkISaqJdwTMGHwOpQ6XBcywdlcljo9qFTxSUUF T57+8xyeBd1i9PX1cxoEWcpWNwf3wEzuOqAggFO/kU28QptTCfI22G1SmtpxN+zIBE84 ts6a7JvevtVNF39MVqhgWJXxOZQ74GsfIzIlS6C2ZxWs1MxbhAoRuCPFFNCUwixaUd5W 3ywUkrmMrk1XC5WJ1q2JUNOElGJX1h8Tz0yYJcvX4/ofdz13/hTPOEPq4FT99t01wsUr AtQl1ET64hv4hGwZpom4H35P23kLU+YJsfG/lWK14+6nbVbvMl6fc/coHBqtW8QUKzcy R6HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EPMkUwZp6KV2zQtOQ/HDG4J9jIuHDQrBU740Rw3sZEw=; b=aeXW+gCXOT+AMtDFLPmp8aw8owfvmq54Ss7eFKd1oNFUn19GYvpsqAqvfZknZuVopt yp6Z1LoL0gla5h76vvf5HYIYJhcvXay7vzwZvDdSRTHLTDH9oADEC5R9qY3yX2fiDKAD EcVR+PI9sp3wvhnhnnM7fdtoawdP9ItI1u+YPnfmSp/NcZR8uXawDFV9n4vqpj7qZomp hgCmRpAxgq74EuySst+WoxyxE6X/2o1bgiwg9ymJbfC4h/fyd+PBu17WpaTMQXI/f70u MsWvlJRF36wknextkFSOFxiAavoT2XlF5zq7di/5l4Oy98oVDXitLbwXMflny88wxlat /aHw== X-Gm-Message-State: ANhLgQ0Ol9D0b7tEhP96TH15yvvaHB46RUnlToL5zdQi+Bp0m3b46AUP gumU0ZnuA+m0/T5t243UjMBlDw4DmcSRvBolZ+A= X-Google-Smtp-Source: ADFU+vtPLeYYw40rLd76IFgdK//etfwn2dnKzi5huN2O0NR+iLdTt9fmsfVhcO38RDt6XnlZ/2hvsaA3mKubpSUXX44= X-Received: by 2002:a05:620a:1210:: with SMTP id u16mr2857096qkj.493.1583220461898; Mon, 02 Mar 2020 23:27:41 -0800 (PST) MIME-Version: 1.0 References: <20200303005035.13814-1-luke.r.nels@gmail.com> <20200303005035.13814-4-luke.r.nels@gmail.com> In-Reply-To: <20200303005035.13814-4-luke.r.nels@gmail.com> From: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Date: Tue, 3 Mar 2020 08:27:30 +0100 Message-ID: Subject: Re: [PATCH bpf-next v4 3/4] bpf, doc: add BPF JIT for RV32G to BPF documentation To: Luke Nelson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200302_232743_781428_986100F6 X-CRM114-Status: GOOD ( 15.10 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Song Liu , linux-doc@vger.kernel.org, Yonghong Song , Paul Walmsley , Alexei Starovoitov , Mauro Carvalho Chehab , linux-riscv@lists.infradead.org, Rob Herring , Daniel Borkmann , Jonathan Corbet , Jakub Kicinski , Andrii Nakryiko , Xi Wang , Albert Ou , Luke Nelson , Jonathan Cameron , Andy Shevchenko , Greg Kroah-Hartman , LKML , Martin KaFai Lau , Stephen Hemminger , Palmer Dabbelt , Netdev , bpf , "David S. Miller" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, 3 Mar 2020 at 01:50, Luke Nelson wrote= : > Update filter.txt and admin-guide to mention the BPF JIT for RV32G. > > Co-developed-by: Xi Wang > Signed-off-by: Xi Wang > Signed-off-by: Luke Nelson Acked-by: Bj=C3=B6rn T=C3=B6pel > --- > Documentation/admin-guide/sysctl/net.rst | 3 ++- > Documentation/networking/filter.txt | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-guide/sysctl/net.rst b/Documentation/adm= in-guide/sysctl/net.rst > index 287b98708a40..e043c9213388 100644 > --- a/Documentation/admin-guide/sysctl/net.rst > +++ b/Documentation/admin-guide/sysctl/net.rst > @@ -67,7 +67,8 @@ two flavors of JITs, the newer eBPF JIT currently suppo= rted on: > - sparc64 > - mips64 > - s390x > - - riscv > + - riscv64 > + - riscv32 > > And the older cBPF JIT supported on the following archs: > > diff --git a/Documentation/networking/filter.txt b/Documentation/networki= ng/filter.txt > index c4a328f2d57a..2f0f8b17dade 100644 > --- a/Documentation/networking/filter.txt > +++ b/Documentation/networking/filter.txt > @@ -606,7 +606,7 @@ before a conversion to the new layout is being done b= ehind 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, riscv (RV64G) perform JIT compilation from eBPF > +sparc64, arm32, riscv64, riscv32 perform JIT compilation from eBPF > instruction set. > > Some core changes of the new internal format: