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=-9.0 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_PASS,USER_AGENT_GIT 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 0B470C169C4 for ; Sun, 3 Feb 2019 11:53:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D19C621773 for ; Sun, 3 Feb 2019 11:53:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lifcbF5M" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbfBCLw7 (ORCPT ); Sun, 3 Feb 2019 06:52:59 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:46883 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727577AbfBCLw7 (ORCPT ); Sun, 3 Feb 2019 06:52:59 -0500 Received: by mail-ed1-f65.google.com with SMTP id o10so8959391edt.13 for ; Sun, 03 Feb 2019 03:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jGORwTYKZSs8e9AqRAHyYF0TKUYoUYDhjsmU7+h4s8E=; b=lifcbF5Mr4zWpfs4uyM0Rm5RA9/rZ5PjGYKZWzZtXqBYNiVNcQDDY51OzDvILYuOQ3 tadiat/YPpBitDkexe1exNyOtlroJHoVOxYg3Y4fiKvYAmipfZ6C2PX1bSFezkTw8H/1 mfGjTRzb+bzrjy2VRtwHBeZgMzdPcW1iY4f7YVwMVUzkMXKcX992GYWU4lU2ddBfTITg jkz9dNsecenk6+5QIS+Jf14MGLR64r822pupY9YTSxeXsJn0xqexQeo4TkYp4OFxPS1Q bOYge7kckx/kCYtqMXGwMJ7ns87uxKq9E/Wq+dOLOrV+BlOfxZtOOWC0P/R9281c+lI0 3Rbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jGORwTYKZSs8e9AqRAHyYF0TKUYoUYDhjsmU7+h4s8E=; b=Ox7jc5ob56BxmwKG3jjeyI265oCb6ZxhztzwXE46Gm3FJE8MoJyV6GzdR8JuScz/vm LfEo7zRI39Sd6S62M8nEvGnNRBzqYtgZHEKQe/9gPHl265t4Uxep+NUZZvhw6GaF8r+V MxygweU01meXw+JkwJWyEckfqdbr296AV7LfdzbGisYD5vgxa7mbf51FxAY7eM2/vTxh sIdr5inFX3wm0BXYyIILGbR4qaaRuXsQukJhWpBSnwyRdQfCWXDBgsSqIr6BVOkrWsuI /kuTC/jsLEkaro8EDtjckyzCPBNMV5GDdXDpeNctMz3Yw05ISUCVTvWPIB+BwFD/A+iv uDzw== X-Gm-Message-State: AJcUukcuyEKrRd0sfF767l1Mvv8cu/FYNgVquWrMet3+u1VqIccn33Q5 vzF7uNWF40apHH8/10B8QZU= X-Google-Smtp-Source: ALg8bN6+iNgeqePI4L+kgpKCKNi/d6Sh4zqoQk48JdIZijTuudWHaJhskNruz2zNe+nb+Y1CfOhyhw== X-Received: by 2002:a17:906:b3ce:: with SMTP id cg14mr38416329ejb.43.1549194777528; Sun, 03 Feb 2019 03:52:57 -0800 (PST) Received: from btopel-mobl.ger.intel.com ([2001:67c:1810:f055:c82b:bcf5:1add:2ef0]) by smtp.gmail.com with ESMTPSA id l10sm2120719ejq.55.2019.02.03.03.52.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Feb 2019 03:52:57 -0800 (PST) From: bjorn.topel@gmail.com To: linux-riscv@lists.infradead.org, daniel@iogearbox.net, ast@kernel.org, netdev@vger.kernel.org Cc: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , palmer@sifive.com, hch@infradead.org Subject: [PATCH bpf-next 3/3] bpf, doc: add RISC-V to filter.txt Date: Sun, 3 Feb 2019 12:51:31 +0100 Message-Id: <20190203115132.8766-4-bjorn.topel@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190203115132.8766-1-bjorn.topel@gmail.com> References: <20190203115132.8766-1-bjorn.topel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Björn Töpel Update Documentation/networking/filter.txt to mention RISC-V. Signed-off-by: Björn Töpel --- Documentation/networking/filter.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index 01603bc2eff1..b5e060edfc38 100644 --- a/Documentation/networking/filter.txt +++ b/Documentation/networking/filter.txt @@ -464,10 +464,11 @@ breakpoints: 0 1 JIT compiler ------------ -The Linux kernel has a built-in BPF JIT compiler for x86_64, SPARC, PowerPC, -ARM, ARM64, MIPS and s390 and can be enabled through CONFIG_BPF_JIT. The JIT -compiler is transparently invoked for each attached filter from user space -or for internal kernel users if it has been previously enabled by root: +The Linux kernel has a built-in BPF JIT compiler for x86_64, SPARC, +PowerPC, ARM, ARM64, MIPS, RISC-V and s390 and can be enabled through +CONFIG_BPF_JIT. The JIT compiler is transparently invoked for each +attached filter from user space or for internal kernel users if it has +been previously enabled by root: echo 1 > /proc/sys/net/core/bpf_jit_enable @@ -603,9 +604,10 @@ got from bpf_prog_create(), and 'ctx' the given context (e.g. skb pointer). All constraints and restrictions from bpf_check_classic() apply 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 perform -JIT compilation from eBPF instruction set. +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 +instruction set. Some core changes of the new internal format: -- 2.19.1