Message ID | 20240430150937.39793-1-list+bpf@vahedi.org |
---|---|
Headers | show
Return-Path: <linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=p5KD0tUn; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=vahedi.org header.i=@vahedi.org header.a=rsa-sha256 header.s=key1 header.b=p3UO8u3g; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VTNsw0wpnz20fY for <incoming@patchwork.ozlabs.org>; Wed, 1 May 2024 01:10:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=02Pb5WbaEoIYPYZ6dyg9tJbv/7yF+jIdcae1Wzb6THc=; b=p5KD0tUnJEJqQN z3zVIb5xpwvNvaBJ8ijAJlNfj2bo5La3/ZxqvuQn00WR7tPCguQvjazdupSIvJ3l3HNDDQ8AbS+38 T+K81CkO90QANUSx5urTsmsHotHkQFm5vc5nTMRaJPj1sdutennXY4BmkbRGGBxi9HsFKo2sLcVDz qY1bkXmq96mnWqTLIKwLQ0+cqJTdmwh0Rm5XWfy4oU3K7B6lpxjz42zqBI3mF01xlrk3iM1b+QOQl wuY1KH/ki/PNFcc/4S5PVJrlPt6gBy9hPibae/ZL16CeVLCdC9fe2GQWxpFFzETX7Lq5GPddbIHg2 a9r2Xo5Xqm2Olma9FcdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1p7S-00000006zwO-1nP2; Tue, 30 Apr 2024 15:10:10 +0000 Received: from out-182.mta0.migadu.com ([91.218.175.182]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1p7N-00000006zrw-0SJa for linux-snps-arc@lists.infradead.org; Tue, 30 Apr 2024 15:10:08 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vahedi.org; s=key1; t=1714489801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GiRTAbrp/7+4Jg5orh/7rFIb6CcKTXebv97OiZs/p3s=; b=p3UO8u3gYLXhyYHTcw9QvS/hnE33lYnVJFJ6Yuue0VF2BbNowFCG99BLWizzJ2oOYXayMz EkyzLlWN+KMz5qtA45Vad6O9oa4FAPVY1FOeDVm0TCHKOUNAzhq/AimRdlRFLk0MAX8wZ/ v6Sw03cPQaA/9CyFRiy6z1Ro6UQfmpuX4QVtTug7t2pYd0gzbpY6t1LE8POHtCTp1zfVy8 Jk6FEwGb7XXKsYxkecHx4b61of7zbUx1z8plfaLUDk1M9/ij2EtW7GxXMJu/95l+Af93w6 Ij9WsNPWSEVCdagW/Ho7tpmrpgM+PZwzxujsoP860HN3jqfCw7itrTlGn7eF4w== From: Shahab Vahedi <list+bpf@vahedi.org> To: =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= <bjorn@kernel.org> Cc: Shahab Vahedi <list+bpf@vahedi.org>, Shahab Vahedi <shahab@synopsys.com>, Vineet Gupta <vgupta@kernel.org>, linux-snps-arc@lists.infradead.org Subject: [off-list] [PATCH 0/7 bpf-next v2] ARC: Add eBPF JIT support Date: Tue, 30 Apr 2024 17:09:30 +0200 Message-Id: <20240430150937.39793-1-list+bpf@vahedi.org> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_081006_368777_8D64161E X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: =?unknown-8bit?q?Spam_detection_software=2C_running_on_the_sy?= =?unknown-8bit?q?stem_=22bombadil=2Einfradead=2Eorg=22=2C?= =?unknown-8bit?q?_has_NOT_identified_this_incoming_email_as_spam=2E__The_ori?= =?unknown-8bit?q?ginal?= =?unknown-8bit?q?_message_has_been_attached_to_this_so_you_can_view_it_or_la?= =?unknown-8bit?q?bel?= =?unknown-8bit?q?_similar_future_email=2E__If_you_have_any_questions=2C_see?= =?unknown-8bit?q?_the_administrator_of_that_system_for_details=2E?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_preview=3A__From=3A_Shahab_Vahedi_=3Cshahab=40syno?= =?unknown-8bit?q?psys=2Ecom=3E_=5Boff-list=5D_Hi_Bj=C3=B6rn=2C?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_Content_analysis_details=3A___=28-0=2E2_points=2C_5=2E0_re?= =?unknown-8bit?q?quired=29?= =?unknown-8bit?q?_?= =?unknown-8bit?q?_pts_rule_name______________description?= =?unknown-8bit?q?_----_----------------------_------------------------------?= =?unknown-8bit?q?--------------------?= =?unknown-8bit?q?_0=2E0_SPF=5FHELO=5FNONE__________SPF=3A_HELO_does_not_publ?= =?unknown-8bit?q?ish_an_SPF_Record?= =?unknown-8bit?q?_-0=2E0_SPF=5FPASS_______________SPF=3A_sender_matches_SPF_?= =?unknown-8bit?q?record?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FAU__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from_author=27s?= =?unknown-8bit?q?_domain?= =?unknown-8bit?q?_0=2E1_DKIM=5FSIGNED____________Message_has_a_DKIM_or_DK_si?= =?unknown-8bit?q?gnature=2C_not_necessarily_valid?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID_____________Message_has_at_least_one_v?= =?unknown-8bit?q?alid_DKIM_or_DK_signature?= =?unknown-8bit?q?_-0=2E1_DKIM=5FVALID=5FEF__________Message_has_a_valid_DKIM?= =?unknown-8bit?q?_or_DK_signature_from?= =?unknown-8bit?q?_envelope-from_domain?= X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors <linux-snps-arc.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-snps-arc>, <mailto:linux-snps-arc-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-snps-arc/> List-Post: <mailto:linux-snps-arc@lists.infradead.org> List-Help: <mailto:linux-snps-arc-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-snps-arc>, <mailto:linux-snps-arc-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-snps-arc" <linux-snps-arc-bounces@lists.infradead.org> Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
ARC: Add eBPF JIT support
|
expand
|
From: Shahab Vahedi <shahab@synopsys.com> [off-list] Hi Björn, First and foremost, I apologise that it took me a long time to rework what we have discussed about the first version of "ARC: Add eBPF JIT support" patch. In order to make the second review easier for you, since you already have reviewed PATCH v1 [1], I share with you the additional changes in series format, in the hope that it will save you some time and refresh your memory better on the things discussed [3]. I have to iterate that these changes are identical to the submitted v2 patch [2]: v1 + this series = v2 If you have any feedback, please kindly reply to v2 patch in the mailing list [2]. Thank you and have a great time, Shahab [1] [PATCH bpf-next v1] ARC: Add eBPF JIT support https://lore.kernel.org/bpf/20240213131946.32068-1-list+bpf@vahedi.org/ [2] [PATCH bpf-next v2] ARC: Add eBPF JIT support https://lore.kernel.org/bpf/20240430145604.38592-1-list+bpf@vahedi.org/ [3] Discussion on what should be improved https://lore.kernel.org/bpf/6e4cf7cc-6a2e-4396-b0d5-01ff10d6923a@vahedi.org/ Shahab Vahedi (7): v2: Turn "emit" from global into a context var v2: Turn "zext_thyself" from global into a context var v2: Use memset() in jit_ctx_init() v2: MAINTAINERS: Add "BPF JIT for ARC" entry v2: Fix typos v2: Fix most of the "Checks" from "checkpatch.pl" v2: Check "bpf_jit_binary_lock_ro()" return value MAINTAINERS | 6 + arch/arc/net/bpf_jit.h | 147 +++++----- arch/arc/net/bpf_jit_arcv2.c | 528 ++++++++++++++++++----------------- arch/arc/net/bpf_jit_core.c | 214 +++++++------- 4 files changed, 454 insertions(+), 441 deletions(-)