Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp707914pxb; Tue, 5 Apr 2022 19:41:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX5ZkluknvPj7PlsxORczXPnXERiBNeB105FCWUeHMEeld3hR/hdEEdIWxRo3xBR5dpHgr X-Received: by 2002:aa7:dcc6:0:b0:41c:c3c7:27a4 with SMTP id w6-20020aa7dcc6000000b0041cc3c727a4mr6504500edu.289.1649212889619; Tue, 05 Apr 2022 19:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649212889; cv=none; d=google.com; s=arc-20160816; b=QToNO5m9sq8BpIAWZFXqaYXI/0J4Yn1lW9xM72GRGHPonMxghbcEPqkjTZrhUGtQJ1 EIkUZAQA6ImMrSZPWUNhZp+9SsBafIawyvcT9JzNIKkTk7RcEVLgOfpX07kMFEJ0O0qW qYIyURsJlsNyrP4C/e0ubBh69g/TALmYIhjRJQnjlNEpyBfCk8nifh0dsEeVb+hz0tLT 6x2SLjgbvsgIyVRyzOG7VKrOKV2LP7jCrwJpnp2iOs1MvWH8rp9GVLQXkiY3OS3c0AJ+ eRI7aRujgE5yh83gHYsagNDkio9HCmFgx+5r9SFJcryDEpx3uA8JG3ln5//NdQkcexm6 6CQQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JybruMHXtt9ll+6WpGKls+tGIFYb01XOPd15UPyQ2vg=; b=yDkmRICwHtpkxkcoeUSY3QQ/LOcGy1r9MmEazXDGjM7VDWH2ol4NJip3BZmYX9UkqR 7AI9Ge7C8likP9wEHs2v9ZNsNnt0zS7d/jl6vjf4lEoiSIWPKRQMurvuMrp/bpWTqs76 HByE2uDHw++kFZhX7Um+FWxKa4TJbqHpLm5pizKmnowFeP16uL2zsMW9AvLPU5FjQhV+ l1CS85s9dgVTcSlvXCH5dRZ8436wMFq7BKIMVQqKtVUjBAEqM6MqdXURhs1+CRi0dwWS NWGTvnjGHiyqIV4s5O680vEvkGFBGBr4enaXt8GOkZk7Pif4zgYxQGMwhRl7C4cxFayq ZVuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=m6zvFnUY; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a170906768400b006e4824481desi10536051ejm.440.2022.04.05.19.41.00; Tue, 05 Apr 2022 19:41:29 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=m6zvFnUY; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233599AbiDEIJU (ORCPT + 99 others); Tue, 5 Apr 2022 04:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232315AbiDEHyI (ORCPT ); Tue, 5 Apr 2022 03:54:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01C9B2E68F; Tue, 5 Apr 2022 00:50:08 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id A09A1B81BAD; Tue, 5 Apr 2022 07:50:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1B6BC340EE; Tue, 5 Apr 2022 07:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649145005; bh=cDOHcd6ONfY3Vz+ceAFwv+xN7bIZgszIs24tb7wI428=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m6zvFnUYmTsRXCJ7U1+BBrQjJ4R5U4lvCQ8rOkgkCuAAvwtbHzYg0U/cbdbCjFJXb qoNixGwy6FOk/36CLo8dMe90nmbDS/08OfFAe2r9u9TGpu0u2tpVi41qVQhPOqnLgu cSClUaWxwQ61e91jJhms3bbAlkz7HBnB2vM0hFS8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Claudiu Beznea , Daniel Lezcano , Sasha Levin Subject: [PATCH 5.17 0249/1126] clocksource/drivers/timer-microchip-pit64b: Use notrace Date: Tue, 5 Apr 2022 09:16:36 +0200 Message-Id: <20220405070414.918376141@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 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,TVD_SPACE_RATIO,T_SCC_BODY_TEXT_LINE 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 From: Claudiu Beznea [ Upstream commit ff10ee97cb203262e88d9c8bc87369cbd4004a0c ] Use notrace for mchp_pit64b_sched_read_clk() to avoid recursive call of prepare_ftrace_return() when issuing: echo function_graph > /sys/kernel/debug/tracing/current_tracer Fixes: 625022a5f160 ("clocksource/drivers/timer-microchip-pit64b: Add Microchip PIT64B support") Signed-off-by: Claudiu Beznea Link: https://lore.kernel.org/r/20220304133601.2404086-3-claudiu.beznea@microchip.com Signed-off-by: Daniel Lezcano Signed-off-by: Sasha Levin --- drivers/clocksource/timer-microchip-pit64b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-microchip-pit64b.c b/drivers/clocksource/timer-microchip-pit64b.c index cfa4ec7ef396..790d2c9b42a7 100644 --- a/drivers/clocksource/timer-microchip-pit64b.c +++ b/drivers/clocksource/timer-microchip-pit64b.c @@ -165,7 +165,7 @@ static u64 mchp_pit64b_clksrc_read(struct clocksource *cs) return mchp_pit64b_cnt_read(mchp_pit64b_cs_base); } -static u64 mchp_pit64b_sched_read_clk(void) +static u64 notrace mchp_pit64b_sched_read_clk(void) { return mchp_pit64b_cnt_read(mchp_pit64b_cs_base); } -- 2.34.1