Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6683017ybi; Wed, 5 Jun 2019 04:58:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzN/YUAKIvNhV3ZWA47LgEamwP3tipQqqcRUnziwo9J+k3LgbhPtv/0C14XLOWPRzurVBS3 X-Received: by 2002:a63:7e43:: with SMTP id o3mr3854666pgn.450.1559735932883; Wed, 05 Jun 2019 04:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559735932; cv=none; d=google.com; s=arc-20160816; b=EhFM6IbMV9GHFAoo+mW8kl0w3vxGolWE9zx4nREvo1YI2U4b6o7KWHSBDbvAywt0ef i/PTeR2FeZxvzx+rvyAC4/zaZjpUk4JInaForDVhlosBc6m1sI/7YhAjroeE7zSdG2cd Md0hxw4vAm7swWJMYAbptrNge2FeCsKdVeB+Woh5MPBgDlhZ8koiM4NUcCE7k7vlz/Mc tw9m8uCyNj7VYqUkakSU0du9j4TpF34bsToqFJGliG15qtRkuWAvsDG0HyBgrVr6ohuN uabMayGq0JxC4Zypp+RBIv9mc6BGXqJPtZMsd5fgHCigxq7GFl0t49mltBe6kI/+2ZxM 2Q9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=kgGSgZpXw23kE15W9k5FYXXFsteNvl6FmepYp1y3Oog=; b=M6S94QFmMw1fRCuqhJ2JzzhQV9y61I2f7UTIjSuIFtt6YQS/ItTC33bkzC1VPftd/o loToTCtUeaXrS3pZN/8BdI2UptyWkCIGZszMRn5M76W7VRpJKgtSDyhgeLNpJfuf5QaP X9lOxFfVMczBxgxqotTaeWo1T4KwLjlQAGpPaJ1pWxnkQZl+mFpDkD4Vs4swl23Flg4j x3fTD/sKEib7G7/VUqkQb3U06mO2uHUNvzTFOO7H5TGOg8IQimoTSR1q0U0TJeddz8u8 thRO5RDZ+fLO8tQsa5rUMRFBAsI8cixw/ws/yApD14bg+80ElKqZJE8x9YTUqpWYX/5E hr6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si17572165plp.4.2019.06.05.04.58.35; Wed, 05 Jun 2019 04:58:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727689AbfFEL4t (ORCPT + 99 others); Wed, 5 Jun 2019 07:56:49 -0400 Received: from foss.arm.com ([217.140.101.70]:58572 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727183AbfFEL4t (ORCPT ); Wed, 5 Jun 2019 07:56:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D9A5480D; Wed, 5 Jun 2019 04:56:48 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5DEAB3F5AF; Wed, 5 Jun 2019 04:56:47 -0700 (PDT) Date: Wed, 5 Jun 2019 12:56:44 +0100 From: Will Deacon To: Anders Roxell Cc: mark.rutland@arm.com, marc.zyngier@arm.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com Subject: Re: [PATCH 2/3] arm64: arch_timer: mark functions as __always_inline Message-ID: <20190605115644.GF15030@fuggles.cambridge.arm.com> References: <20190603091402.25115-1-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190603091402.25115-1-anders.roxell@linaro.org> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 03, 2019 at 11:14:02AM +0200, Anders Roxell wrote: > If CONFIG_FUNCTION_GRAPH_TRACER is enabled function > arch_counter_get_cntvct() is marked as notrace. However, function > __arch_counter_get_cntvct is marked as inline. If > CONFIG_OPTIMIZE_INLINING is set that will make the two functions > tracable which they shouldn't. > > Rework so that functions __arch_counter_get_* are marked with > __always_inline so they will be inlined even if CONFIG_OPTIMIZE_INLINING > is turned on. > > Fixes: 0ea415390cd3 ("clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters") > Signed-off-by: Anders Roxell > --- > arch/arm64/include/asm/arch_timer.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) I can pick this up if Marc is happy with it. Will