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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F694C07E9D for ; Mon, 26 Sep 2022 14:41:42 +0000 (UTC) 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sGNRNi46d+feN56yTxjrt94pvFfKtFkBw9g7FqBnBeE=; b=G2PkHYuZJzK/bO CUQwvx+0iUhra+0BWYWTWbNmMcI6r0qFYkZCtX4bQiKsan5dr/L0k2h9h9ule7UixkQLmO8cuxtOD fpg38DKTAp8v1oufot3zOt7FxyXqjR7I3XdJGMBrJn5p0yomwx4kaO5rb949BvAOzmuOIP8RkyogR Kay9cThdbHe9wQa2/nVBFxDVtYeX3p3nsdpsN11Oku4O1DfTviHh0YmAPq75v2zVvJ9Ec5abUUsBI ZTHwstJUPotPOAsT3LFqJVw/eLMrFk20ePW4U2MbmKH4QjNGooWCKyuqlb5MQ3NYESW+T0t8NC2zR Qyt8zUgHtgkLGcMMc97A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocpHc-005PDj-TK; Mon, 26 Sep 2022 14:40:33 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocpHZ-005P9u-DL for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 14:40:31 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F316860DCC; Mon, 26 Sep 2022 14:40:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5215C433B5; Mon, 26 Sep 2022 14:40:23 +0000 (UTC) Date: Mon, 26 Sep 2022 15:40:20 +0100 From: Catalin Marinas To: Daniel Borkmann Cc: Xu Kuohai , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Mark Rutland , Florent Revest , Will Deacon , Jean-Philippe Brucker , Steven Rostedt , Ingo Molnar , Oleg Nesterov , Alexei Starovoitov , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Zi Shen Lim , Pasha Tatashin , Ard Biesheuvel , Marc Zyngier , Guo Ren , Masami Hiramatsu Subject: Re: [PATCH bpf-next v2 0/4] Add ftrace direct call for arm64 Message-ID: References: <20220913162732.163631-1-xukuohai@huaweicloud.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_074029_515811_929951CE X-CRM114-Status: GOOD ( 21.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 22, 2022 at 08:01:16PM +0200, Daniel Borkmann wrote: > On 9/13/22 6:27 PM, Xu Kuohai wrote: > > This series adds ftrace direct call for arm64, which is required to attach > > bpf trampoline to fentry. > > > > Although there is no agreement on how to support ftrace direct call on arm64, > > no patch has been posted except the one I posted in [1], so this series > > continues the work of [1] with the addition of long jump support. Now ftrace > > direct call works regardless of the distance between the callsite and custom > > trampoline. > > > > [1] https://lore.kernel.org/bpf/20220518131638.3401509-2-xukuohai@huawei.com/ > > > > v2: > > - Fix compile and runtime errors caused by ftrace_rec_arch_init > > > > v1: https://lore.kernel.org/bpf/20220913063146.74750-1-xukuohai@huaweicloud.com/ > > > > Xu Kuohai (4): > > ftrace: Allow users to disable ftrace direct call > > arm64: ftrace: Support long jump for ftrace direct call > > arm64: ftrace: Add ftrace direct call support > > ftrace: Fix dead loop caused by direct call in ftrace selftest > > Given there's just a tiny fraction touching BPF JIT and most are around core arm64, > it probably makes sense that this series goes via Catalin/Will through arm64 tree > instead of bpf-next if it looks good to them. Catalin/Will, thoughts (Ack + bpf-next > could work too, but I'd presume this just results in merge conflicts)? I think it makes sense for the series to go via the arm64 tree but I'd like Mark to have a look at the ftrace changes first. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel