From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753478AbbJGLfb (ORCPT ); Wed, 7 Oct 2015 07:35:31 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:38843 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752657AbbJGLf0 (ORCPT ); Wed, 7 Oct 2015 07:35:26 -0400 Subject: Re: [PATCH v1] clocksource: Sigma Designs Tango 27 MHz xtal To: Marc Gonzalez , Thomas Gleixner References: <5613E45C.5020208@sigmadesigns.com> <5614549F.2070002@linaro.org> <5614D66A.1060402@sigmadesigns.com> <5614EA23.5080503@linaro.org> <5614FE96.3090706@sigmadesigns.com> Cc: LKML , Mans Rullgard , Mason From: Daniel Lezcano Message-ID: <5615037B.3060209@linaro.org> Date: Wed, 7 Oct 2015 13:35:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5614FE96.3090706@sigmadesigns.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/07/2015 01:14 PM, Marc Gonzalez wrote: > On 07/10/2015 11:47, Daniel Lezcano wrote: >> On 10/07/2015 10:23 AM, Marc Gonzalez wrote: >>> Daniel Lezcano wrote: >>> >>>> static u64 *notrace* read_sched_clock(void) >>> >>> What about read_clocksource? and read_xtal_counter? >> >> See commit 89e6a13b88. > > If I understand correctly, since read_sched_clock calls read_xtal_counter, > both functions should be marked notrace. Yes. We have to prevent the recursion with the ftrace timestamp. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog