From patchwork Tue Feb 28 11:33:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13154800 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB0AEC64ED6 for ; Tue, 28 Feb 2023 11:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231350AbjB1Ld3 (ORCPT ); Tue, 28 Feb 2023 06:33:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231487AbjB1Ld1 (ORCPT ); Tue, 28 Feb 2023 06:33:27 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EC0418B; Tue, 28 Feb 2023 03:33:26 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8C3545C00D1; Tue, 28 Feb 2023 06:33:25 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 28 Feb 2023 06:33:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1677584005; x=1677670405; bh=OUst0onvS1 az3p2Wru+5zWDfOfS0/TABrIMuRCVdU1U=; b=sXXMnOxyGyBNSJbkza2riaDzmk IeGFSIsNDwaB2nmMXFvjFmfXFq2/vMvWTH4eOx7aq7ABaJ5h+F942Q45JDQkwKHy BkyJ5Xq88M/KvigWecm7PreXYK89N/eeHiEkJlQJja/jz5hwThIPmB/iHzt5HBa9 2uHRt8Pyf/KYreUt7cfosELB+oEwHUHnolAZeoia4ymSxkN1PvjQDGq0BgQViBBA Ch2bIaDyUCK71C24hbHZUxiV03CVmJfXvLnJ4gzEOkGMfLVDAuLHp7umtdiXqUkQ PXSzQdBur5z1QRVugWkQiUL5kL6M/hj1Lb6Jme7mVh2cos8g8UG04B2hxCbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1677584005; x=1677670405; bh=OUst0onvS1az3 p2Wru+5zWDfOfS0/TABrIMuRCVdU1U=; b=s15Ujjrid1NPlWZUk6NcTTNQcTiZr rs7UuceCL6kFioVi3VO51dKWnBlaNJ1mgSfjw82hrdcJpllVOZ2R1iIgYPCOwEYu eZBTROlskD64DfL6Lw74W7NG4iDzzUo90U91SPIe4FoT9LB+wlka+zEt4zyIE1jv j8LwvbBaX3/OgpQnkiqi6LiI1n0I4Wm9WMJaU21+QS2J0Y7gCX18wLYNixdJAzJi yY8XF7Sk/wZrYCjKoIUMgzwOGH3TGwBCKwOZlfbMGzMXcTH2K3iFSBgaomYium+V P9bRdfFZH2gI02QCmx89ZvMhemCA0q42Ikv/einLbkgInPG52SqSdfeNA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudelvddgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffogggtgfesthekre dtredtjeenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhg sehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpedtgfduvedvtdfgkeektd ffveeiueeludegheehtdegheduueeuueegtdehjeehheenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihgh horghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Feb 2023 06:33:24 -0500 (EST) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tsbogend@alpha.franken.de, johan.almbladh@anyfinetworks.com, paulburton@kernel.org, bpf@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 0/2] MIPS: Implement two workarounds for BPF JIT Date: Tue, 28 Feb 2023 11:33:03 +0000 Message-Id: <20230228113305.83751-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.37.1 (Apple Git-137.1) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Hi all, Just noticed eBPF JIT is not working on R4000 when messing around with QEMU. This patchset implements two workarounds that is blocking us from enabling eBPF JIT on R4000. Thanks. - Jiaxun Jiaxun Yang (2): MIPS: ebpf jit: Implement DADDI workarounds MIPS: ebpf jit: Implement R4000 workarounds arch/mips/Kconfig | 5 +---- arch/mips/net/bpf_jit_comp.c | 4 ++++ arch/mips/net/bpf_jit_comp64.c | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-)