From: Stefan Agner Subject: Re: Delays, clocks, timers, hrtimers, etc Date: Fri, 06 Feb 2015 22:31:41 +0100 Message-ID: <266c7b1ff2d1a8ba0ae4866f4fb4eca5@agner.ch> References: <54C8E125.3070905@free.fr> <54D52F84.9050600@free.fr> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=agner.ch; s=dkim; t=1423258193; bh=mKVvuvu3/T/JOHV9RWHgzOqZfb/cWePHLbcEUeI0OWQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qdfRZ7I2pLIa0Th7bfjPEDXjW0TyuVa+6dTCDxwUPUdx6aaBSv7SEgQv9lcjdd34G awWF32Pu0ZuWbrlV4SFH3bphVB7ych8UJhPxuC0mfZ98vGUq/m3yurUtxxp74fqHsL j9vJ2K1pY8Pifzj8MaPPwWCuj6vZ629ZkIDUk+5M= In-Reply-To: <54D52F84.9050600@free.fr> Sender: cpufreq-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Mason Cc: Linux ARM , cpufreq , Linux PM , DT On 2015-02-06 22:17, Mason wrote: > Stefan Agner wrote: > >> Just recently I added support of ARM global timer as clocksource for >> Vybrid SoC. This SoC doesn't use cpufreq, hence it is safe to use the >> ARM global timer. The nice thing of device tree is, the patch to add >> support for that did not change a single line of code: >> >> http://thread.gmane.org/gmane.linux.kernel/1794460 > > Hello Stefan, > > Your changes are not yet accepted in mainline, are they? > (I don't see them in 3.18.5) The changes have been accepted and went upstream in the 3.19 merge window, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81c4831907fb00efdc97093b09e333009a57d005 > Do you also use the ARM local timers in your port? > Is there generic code to handle them? It seems that there has been support for local timers once, but has been removed. But I'm not aware of the details: https://lkml.org/lkml/2013/2/22/49 -- Stefan