Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp962526pxb; Wed, 27 Oct 2021 16:12:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/jU802L8LhzUO0L+/Rq5kC3OPzBQzBXtPURBny1iCxj/eiYbyEEjI0WaMkMVeMAD1iUvC X-Received: by 2002:a17:906:2505:: with SMTP id i5mr696787ejb.450.1635376341980; Wed, 27 Oct 2021 16:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635376341; cv=none; d=google.com; s=arc-20160816; b=lXScLZW5sgwexOUEikfzlBp1sNHLlr8LIfQ9gkDKbeL7rYjzbEa5DPVPVhExICsrpb VOG+eThf+vwseUzbkvKSUv9ugcbVbPZtetek/rKt/cfkeKIH3tcLUTR8SjeFZX1ORjQf 478lGzXQBnTMefMryTyVu5Fqyi6GhPU/c6Ai0MyCYGCcWHlErwNBzGbHAXZvlFyzcQD3 3nZMh0SJcFjN+Be4tquo2afL6N7OOT8sBDurfQOMwj9vd54SPsaDBQxON+FjzX6koAOD oCSMBCuyERvbvBnf5aS+I11Gqg31Z1rWNFVnFGO1+LThnnEiAlfDPOgZBUj+4vpL9gyq 6M/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=xhZrIu7/WY45PyJ0iwLfAYF8ahOEft5xbnQ4OKLD39A=; b=N2mOH90AO1dWFpjzT5TldFqMOLvXNSaIasT3XWPgMz1j/3IZheFDufz3uE/Wd3YUNB vG7LC1Q671U2m5AiMU64JTuj/zXwtI7+HgN/edPMEIh1NQ6OdsXZt+jhkyy3E0pJuphk 5qlwHRlV4FDzGtCy1Po34RDc8uP/z40o9jPL/p9QqcgWJ9c3JSstO76hK8mG2jP12caw FbN5LjhPwPiYBqvZhimR/+TROZv0CVwJIU9MElkVEfPYrqozyqGZl0guC0cvzm8tjy9w LWOoTjBIBifV+wWlbmTyF/Nzyi9MLp75GDCdkjvIhkxNYfjGKmOTRfqD8oh19cn+/D2P g1kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ewjnVUVS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si1422270ejj.144.2021.10.27.16.11.55; Wed, 27 Oct 2021 16:12:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ewjnVUVS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbhJ0XMe (ORCPT + 99 others); Wed, 27 Oct 2021 19:12:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:33362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230196AbhJ0XMe (ORCPT ); Wed, 27 Oct 2021 19:12:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id E4AE961040; Wed, 27 Oct 2021 23:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635376208; bh=TMOjPuBi30omm3OUP+u3FY5YEYx/Fers7Q3speDYL70=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ewjnVUVSADGqvovFoOISngvEzer+/1cRAF+JPrAc2UBw+XlZQ6k5ewnNE+OJEorrZ RXEPFxuWzxGKGmam8ryq8cDviPzqa52XbanzGmAocOXKT7wHF8WDu36mJQa7RhCTWR WaqS2L18p/ZkmiM7OuAWdtrNCAPoQeyudbIIUnH/Y7BlwtxMsFP7NkZUOOM3mPZ0bv pW4Ao8tElfgL4SAXIcKU4/PGgsD35EdxX0Iol5yLOQEKhr5TM6VifXE62DaVFUiSqj JI11+q1V3r9VKT7TQXMIrKmU7qbmG1+Ly2Sth9Ruq4CXfnh78Myyp5WXgxN8fLzmRl tPYednYtvvymA== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id D3F7F60A17; Wed, 27 Oct 2021 23:10:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next,v3] riscv, bpf: Add BPF exception tables From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163537620786.14362.5033693418821355895.git-patchwork-notify@kernel.org> Date: Wed, 27 Oct 2021 23:10:07 +0000 References: <20211027111822.3801679-1-tongtiangen@huawei.com> In-Reply-To: <20211027111822.3801679-1-tongtiangen@huawei.com> To: tongtiangen Cc: paul.walmsley@sifive.com, palmer@dabbelt.com, palmerdabbelt@google.com, aou@eecs.berkeley.edu, bjorn@kernel.org, luke.r.nels@gmail.com, xi.wang@gmail.com, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann : On Wed, 27 Oct 2021 11:18:22 +0000 you wrote: > When a tracing BPF program attempts to read memory without using the > bpf_probe_read() helper, the verifier marks the load instruction with > the BPF_PROBE_MEM flag. Since the riscv JIT does not currently recognize > this flag it falls back to the interpreter. > > Add support for BPF_PROBE_MEM, by appending an exception table to the > BPF program. If the load instruction causes a data abort, the fixup > infrastructure finds the exception table and fixes up the fault, by > clearing the destination register and jumping over the faulting > instruction. > > [...] Here is the summary with links: - [bpf-next,v3] riscv, bpf: Add BPF exception tables https://git.kernel.org/bpf/bpf-next/c/252c765bd764 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html