From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751117AbdAXNjR (ORCPT ); Tue, 24 Jan 2017 08:39:17 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:34343 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbdAXNjQ (ORCPT ); Tue, 24 Jan 2017 08:39:16 -0500 Subject: Re: [PATCH] tcb_clksrc: Use 32 bit tcb as sched_clock To: Daniel Lezcano , David Engraf References: <20170111135059.21318-1-david.engraf@sysgo.com> <20170123135942.GC2166@mai> CC: , , From: Nicolas Ferre Organization: atmel Message-ID: Date: Tue, 24 Jan 2017 14:39:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170123135942.GC2166@mai> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.145.133.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 23/01/2017 à 14:59, Daniel Lezcano a écrit : > On Wed, Jan 11, 2017 at 02:50:59PM +0100, David Engraf wrote: >> On newer boards the TC can be read as single 32 bit value without locking. >> Thus the clock can be used as reference for sched_clock which is much more >> accurate than the jiffies implementation. >> >> Tested on a Atmel SAMA5D2 board. >> >> Signed-off-by: David Engraf >> --- > > Nicolas, > > if you agree I will take this change. Absolutely. I've just added the Ack. Thanks for the head-up. Bye, -- Nicolas Ferre