Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2455968rdb; Fri, 8 Dec 2023 08:35:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHU7//28SN8X0Oz5qIRNOZ1avJufC5BDU9jT7E+ytAtTpoDxnU3HhH439eyUokXHgCbAZZh X-Received: by 2002:a17:90a:db8e:b0:286:707a:ba32 with SMTP id h14-20020a17090adb8e00b00286707aba32mr350130pjv.38.1702053356049; Fri, 08 Dec 2023 08:35:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702053356; cv=none; d=google.com; s=arc-20160816; b=tq5RZl5qbQgqpoNtK6oHUJYVpKnn89UEY9ECAjRQiW82BBCCqYcfksHiGBqSmQRIod RIuV+cwamAJmdxJMmcij2QMiVswMeEp0MB+rlUr0HvSUgo3NuyLm+P2J9+ljy5E6O167 qRHXlGMJkfODSo7ajYV+P1EIxL1pD9y7PUMzw86py4Ty6/YWEgYU7MK7s9kcBK07rL7V 1KMb5C+T9oc3A+Kwk+KNHCoDgmeQsb0e67q2JCn61TgrS+0MZiYXO82kGAUlZZP76oey PQPKh9mYUSkxDewNxXLu0U9cCh5E4Itp3NuSQwGCcJSLcKrjFeWsqEVGaTAW6BILa7Yv UEfA== 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=v9ivThFTh9OLBuUKPy+RsoOofIm3SHJFl9RojL1TpQU=; fh=hPWrg32dlFKNN5MdTsgIUJTVaEJ0Jhxi8OfbSIPXQ0A=; b=MjoFDwJvUV9zZW4B8eVNpVizbeZXYAgcZlz0RTN6bkHKzWvzKKqdK8vN29X+WTZjp+ jyB7jTE88ZXmfFvCGW4zE9GAYhWTng+O6BdqH8ZjilhpXaou8DIIF2WhCOwTf8Fwsqfy dw5NqIFzzTsnlR6dmxZTxDbFCbT8j4rRpSQnOhCuIYSz9qete7JBtRkfAbutHzXjBkDm vkEwAY5RUsmyYXgMC4SRPgGvpWEVeNiF+s1evgJ8w8n9xRYUDIxWZFrMBcSgk0+eLxy1 Kn6YNp4Qnbc+8E5bpgR/tNzBNu3hU6Hg2pphd5jKQpyj7xnnut4bLoj61aa8xhH/MUYs l/Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ME9PtPfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id mu16-20020a17090b389000b002858ed80acfsi3245366pjb.131.2023.12.08.08.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 08:35:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ME9PtPfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id AB65F84A365A; Fri, 8 Dec 2023 08:35:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574230AbjLHQfQ (ORCPT + 99 others); Fri, 8 Dec 2023 11:35:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574219AbjLHQfG (ORCPT ); Fri, 8 Dec 2023 11:35:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B599198E for ; Fri, 8 Dec 2023 08:35:13 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34BC3C433C7; Fri, 8 Dec 2023 16:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702053313; bh=v2mYSDmjqdbapRfO1Kx9bcMiig2SVy+s9w1cLpmU0IY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ME9PtPfym6Ef0DDZb+Yjsva6Tx8a2WFMT7p9z045HUvh9QMf6RYkYWO9RVuxKCFgU HJcwtvyeTDA4KEjFRvwrIbXOu7CmVeFAVv63UTCBUWBRfBvmLPohHZUqUw8UlH+OjM 7XtiUv082yDmJAx1zPZCY03aeXILFNzg8yK+5FTCffZ4PiV0xSKCaQekcRzWHGLWdx tgDLBLsAWL7w1QN3PX4zxsuozv5RHP5xxw1+h7Ke6HDg5/vbmy6mu2P7Z7JC4Keetj GCv1sqJ1XsfaiO78KJ9MM0sDVB1FFKqvhgYXhoCOLIfq7BNf3nUgtbk23tcxonJOAV W9PhRJauc5uaQ== From: Naveen N Rao To: , Cc: Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Aneesh Kumar K.V" , Steven Rostedt , Mark Rutland , Florent Revest , Masami Hiramatsu Subject: [RFC PATCH 3/9] powerpc/ftrace: Remove nops after the call to ftrace_stub Date: Fri, 8 Dec 2023 22:00:42 +0530 Message-ID: <8ee5ec520e37d5523654bb2cd65a17512fb774e2.1702045299.git.naveen@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 08:35:53 -0800 (PST) ftrace_stub is within the same CU, so there is no need for a subsequent nop instruction. Signed-off-by: Naveen N Rao --- arch/powerpc/kernel/trace/ftrace_entry.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/trace/ftrace_entry.S b/arch/powerpc/kernel/trace/ftrace_entry.S index 17d1ed3d0b40..244a1c7bb1e8 100644 --- a/arch/powerpc/kernel/trace/ftrace_entry.S +++ b/arch/powerpc/kernel/trace/ftrace_entry.S @@ -162,7 +162,6 @@ _GLOBAL(ftrace_regs_caller) .globl ftrace_regs_call ftrace_regs_call: bl ftrace_stub - nop ftrace_regs_exit 1 _GLOBAL(ftrace_caller) @@ -171,7 +170,6 @@ _GLOBAL(ftrace_caller) .globl ftrace_call ftrace_call: bl ftrace_stub - nop ftrace_regs_exit 0 _GLOBAL(ftrace_stub) -- 2.43.0