Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1047236rwb; Fri, 18 Nov 2022 11:55:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf4MdaHC2NMofqZFf9ui6usIicoQzdMBACfqjZlnDWH7owLbXjjRwOK2EI3NfCmyT0d8TkJE X-Received: by 2002:aa7:9d0b:0:b0:572:6da6:de4f with SMTP id k11-20020aa79d0b000000b005726da6de4fmr9167426pfp.26.1668801318859; Fri, 18 Nov 2022 11:55:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668801318; cv=none; d=google.com; s=arc-20160816; b=gvAPB1yWz4w6vO4EqfR5zcVw+CF/DAmytwaJT61pO6mBu9AkZfXdFKy1YjvYJlrCBw P8y/1mpu00Q7Jp0w7soXzolepoL08bw7cLxMsfNRyUJjekLqFuYl4RXBMuPOiuQcGXGl sH/flrUfeYbVD4TDcpgs2wGjMwDzGCf1SrsKCkaOM15217nT5ctUXCVIZqxDarXWYKlm QKh6beT7XYoto8r63Vl6xNTK7wuaBC2DvkQs8BmTO286Ys6Xs5ECWKirHo8hgpemmIF0 K98MOG4wldrsNET6bsC+Z/Ro42yLhxYCoetWVgKnVvrWNZAFc5iWk4SMnqFNoDTgmsB1 NTGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HuKoE8Dxkzr6khRv4TzDanCNfliBRhwbj+/uS0t5z9k=; b=hb9fhuNAvoy/HKk340WEsQ7OYgBgt9DHTEB0l6c4xXyhwmjz0Uaq46SMIV8bqSN4dn PfMkTkaabASF/dPle8tsEh7VM/Dr6gKeJNdZTC0YQHkzLlbs/qWD078z8olGuE9aNP8I /yqF1NffKaBkVc4pWkK2U+5O8kwD6ib44Fnq9VlY3wdK6Aoe1waV0RNT1nK/ZVjndiYM PLcLJLFxPlf9Gr5riJYwk5//7ezkpk2TADNhLNnPE4wbGKcZKheT9BEaUeIKvLiRBqbm wy2+CGOcRASaV88t6iwI38REqznnkt+Lypxm/p5VWZf3YAIYycjT8Oosb3e0Q1fPj52S pb2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BhhEUbUQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a634d07000000b0046b127a1e8bsi4741316pgb.488.2022.11.18.11.55.06; Fri, 18 Nov 2022 11:55:18 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BhhEUbUQ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235355AbiKRTlt (ORCPT + 90 others); Fri, 18 Nov 2022 14:41:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235577AbiKRTl3 (ORCPT ); Fri, 18 Nov 2022 14:41:29 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03F11903A2 for ; Fri, 18 Nov 2022 11:41:16 -0800 (PST) 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 8D73462739 for ; Fri, 18 Nov 2022 19:41:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FBBCC433D6; Fri, 18 Nov 2022 19:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668800476; bh=5Wd/yRIqV5ScFszUFr9I0FslL2CMEGpPWqImfvNoXcQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BhhEUbUQq0ggnWPPWl218MoSyJivvPRa4A09SyXx7VmAb2lZSFJ7/s+cg3keAMghw HcunNVDNYzU8xfZ6kWY7mTsLY8g1ThwhtLlwGMcyQvHZdlm7wpKCTRRMJuMdTRoo4U 2kbMR9lHCvCrxaFVbPFPMvr6JHD614PQ8u9hdcNMqNgUUJg/057nLS9qDlVP6vr653 ZgE4kXnDwkC89OuPeWSNNajForUIRyuFGx235x5oX8zWrGwdpNei5soA/bVTDdZVsW xk/PoxYrC98oNP9Hlfx/VHiko20CLDfPhnOyPOjU49eMMDgLC1saHAhZd58El4EWsL Nwd6WsyZPxVlA== From: Will Deacon To: Mark Rutland , linux-kernel@vger.kernel.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, rostedt@goodmis.org, revest@chromium.org, mhiramat@kernel.org Subject: Re: [PATCH v2 0/4] arm64/ftrace: move to DYNAMIC_FTRACE_WITH_ARGS Date: Fri, 18 Nov 2022 19:40:47 +0000 Message-Id: <166877980236.3587415.12262525621041241675.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221103170520.931305-1-mark.rutland@arm.com> References: <20221103170520.931305-1-mark.rutland@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Thu, 3 Nov 2022 17:05:16 +0000, Mark Rutland wrote: > This series replaces arm64's support for FTRACE_WITH_REGS with support > for FTRACE_WITH_ARGS. This removes some overhead and complexity, and > removes some latent issues with inconsistent presentation of struct > pt_regs (which can only be reliably saved/restored at exception > boundaries). > > The existing FTRACE_WITH_REGS support was added for two major reasons: > > [...] Applied to arm64 (for-next/ftrace), thanks! [1/4] ftrace: pass fregs to arch_ftrace_set_direct_caller() https://git.kernel.org/arm64/c/9705bc709604 [2/4] ftrace: rename ftrace_instruction_pointer_set() -> ftrace_regs_set_instruction_pointer() https://git.kernel.org/arm64/c/0ef86097f127 [3/4] ftrace: abstract DYNAMIC_FTRACE_WITH_ARGS accesses https://git.kernel.org/arm64/c/94d095ffa0e1 [4/4] ftrace: arm64: move from REGS to ARGS https://git.kernel.org/arm64/c/26299b3f6ba2 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev