Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539AbdCHN25 (ORCPT ); Wed, 8 Mar 2017 08:28:57 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:39277 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753289AbdCHN1W (ORCPT ); Wed, 8 Mar 2017 08:27:22 -0500 Date: Wed, 8 Mar 2017 14:17:30 +0100 From: Alexandre Belloni To: "Shah, Nehal-bakulchandra" Cc: a.zummo@towertech.it, rtc-linux@googlegroups.com, Jagadish.Hadimani@amd.com, linux-kernel@vger.kernel.org Subject: Re: Kernel without RTC Message-ID: <20170308131730.zrznsnk5oldfuoib@piout.net> References: <221f9318-749f-03b8-aac8-85e9f9bec318@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <221f9318-749f-03b8-aac8-85e9f9bec318@amd.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 22 Hi, On 07/03/2017 at 00:48:18 +0530, Shah, Nehal-bakulchandra wrote: > Hi, > > Currently we are having hardware which does not have RTC. It is single processor system. However it does have TSC timer. > > Now, how to use scheduler with only TSC as current kernel scheduler leverage the RTC for scheduling? I had seen one old patch > > http://marc.info/?l=linux-kernel&m=112013203625990&w=2 > > But i guess this patch was later on not taken, It will be great if you can some pointers to move forward? > The kernel doesn't use the RTC for its time source so it can already work without an RTC. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com