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=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 D5200C3F2C6 for ; Tue, 3 Mar 2020 07:27:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A7C2C20CC7 for ; Tue, 3 Mar 2020 07:27:43 +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 S1727540AbgCCH1n (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: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@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: