Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp711736rwl; Wed, 12 Apr 2023 03:04:15 -0700 (PDT) X-Google-Smtp-Source: AKy350aCY9QlkOiCNPs0Fz4npXqDG9AUn2t47hkJS8JLS8CGxW8yIHvr67JBBOOWfLkwbC99hWj5 X-Received: by 2002:a17:907:c686:b0:947:d3f0:8328 with SMTP id ue6-20020a170907c68600b00947d3f08328mr1968914ejc.1.1681293855206; Wed, 12 Apr 2023 03:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681293855; cv=none; d=google.com; s=arc-20160816; b=Uubb983viSzxwtrKAyJ895a94FSDlZ5yQ7RyeUnTxpPfsVZo5F1ws903DbeZMW+S4Y zefApyGMKt54I+IWsUHa6l3fnGRG2qFzoOtCTcm3gW9Jlo/EwzG8NVFvM260d90B871r rDYd8+DGioPt4jULerTljrAAlXJNypP5azEkJVCoToBU7887HxFazpuYd/Xp41+riMdh vfdCF5vodgDVTyoJvTROzWvT6z1ZDebSB6U54a+Nv1/GrcpaSAuA3nJ6QwgIxkeqy1KV sGDwLQGHu7WLBTv4NlNsVgjrJ59WhIdFu+gKO2qXPVHQTKZLWol2Q71CpBTqSnlSZ4zJ 0P1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Z2pyq2wTRG3pyFP7gIIQd1kiZwKu1/7hbGKUE4evQS4=; b=YXw/wqjW/BJlS3Us4pKYTxcSlyxectvqO49PpNmlcD7O6tZmfbuy63suyd6rsPn5o2 V1moTIOgVFTmhHBtutivVfB+4Q5Rkxqy0Z193/7Gcn/to3BWIuIytwhOrm/N28g+Fe9d /2neM0UH/RsGKTrJ8BSkgfbzPNZRO2Mi/7/gwYpTafiogZUEG5sKUY5t/fMTtMp+p4DI PFFYI4yPvV5lUEnmiX+UmrDl2n8WCBaqEeb/V+7Swe6RFgXUUnE/l/tKOVytFDSW307r w1PjM/cdjokdOVNo2PbxwKBK6KGKVsaMY+eQSfDWyo3GTYhswt1mzs9trYQ69uIc5/b+ H85A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020a17090636da00b0094ace598058si968592ejc.399.2023.04.12.03.03.50; Wed, 12 Apr 2023 03:04:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230110AbjDLJuq (ORCPT + 99 others); Wed, 12 Apr 2023 05:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229841AbjDLJun (ORCPT ); Wed, 12 Apr 2023 05:50:43 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7DB727DA1; Wed, 12 Apr 2023 02:50:27 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8C28EC14; Wed, 12 Apr 2023 02:51:11 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.21.3]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 818193F587; Wed, 12 Apr 2023 02:50:24 -0700 (PDT) Date: Wed, 12 Apr 2023 10:50:21 +0100 From: Mark Rutland To: Will Deacon Cc: Steven Rostedt , Florent Revest , catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, mhiramat@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kpsingh@kernel.org, jolsa@kernel.org, xukuohai@huaweicloud.com, lihuafei1@huawei.com, Linus Torvalds Subject: Re: [PATCH v6 0/5] Add ftrace direct call for arm64 Message-ID: References: <20230405180250.2046566-1-revest@chromium.org> <20230411124749.7aeea715@gandalf.local.home> <20230411170807.GA23143@willie-the-truck> <20230411134456.728551f8@gandalf.local.home> <20230411175423.GD23143@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230411175423.GD23143@willie-the-truck> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 11, 2023 at 06:54:24PM +0100, Will Deacon wrote: > On Tue, Apr 11, 2023 at 01:44:56PM -0400, Steven Rostedt wrote: > > On Tue, 11 Apr 2023 18:08:08 +0100 > > Will Deacon wrote: > > > > > On Tue, Apr 11, 2023 at 12:47:49PM -0400, Steven Rostedt wrote: > > > > On Tue, 11 Apr 2023 16:56:45 +0100 > > > > Mark Rutland wrote: > > > > > > > > > IIUC Steve was hoping to take the FUNCTION_GRAPH_RETVAL series through the > > > > > trace tree, and if that's still the plan, maybe both should go that way? > > > > > > > > The conflict is minor, and I think I prefer to still have the ARM64 bits go > > > > through the arm64 tree, as it will get better testing, and I don't like to > > > > merge branches ;-) > > > > > > > > I've added Linus to the Cc so he knows that there will be conflicts, but as > > > > long as we mention it in our pull request, with a branch that includes the > > > > solution, it should be fine going through two different trees. > > > > > > If it's just the simple asm-offsets conflict that Mark mentioned, then that > > > sounds fine to me. However, patches 3-5 don't seem to have anything to do > > > > I guess 3 and 5 are not, but patch 4 adds arm64 code to the samples (as > > it requires arch specific asm to handle the direct trampolines). > > Sorry, yes, I was thinking of arch/arm64/ and then failed spectacularly > at communicating :) > > > > with arm64 at all and I'd prefer those to go via other trees (esp. as patch > > > 3 is an independent -stable candidate and the last one is a bpf selftest > > > change which conflicts in -next). > > > > > > So I'll queue the first two in arm64 on a branch (or-next/ftrace) based > > > on trace-direct-v6.3-rc3. > > > > Are 3-5 dependent on those changes? If not, I can pull them into my tree. > > Good question. Florent? Patch 3 (the fix to the ftrace test) does not depend upon patches 1 and 2. It probably would've been better to queue that as a preparatory fix before the other changes. Patch 4 (adding arm64 support to the samples) depends on patch 3. The arm64 parts depends upon patch 1 to be selectable, and without patch 1 the samples will behave the same as before. It could be queued independently of patch 1, but won't have any effect until merged with patch 1. Patch 5 (the bpf selftest list changes) depends on patch 1 alone. Perhaps we could queue 1 and 2 via the arm64 tree, 3 and 4 via the ftrace tree, and follow up with patch 5 via the bpf tree after -rc1? Thanks, Mark.