From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756253Ab2HQJ3O (ORCPT ); Fri, 17 Aug 2012 05:29:14 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:11638 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753600Ab2HQJ3K (ORCPT ); Fri, 17 Aug 2012 05:29:10 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 98.234.237.12 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/+Hva+IG5KZOjp+8lPLgAW Date: Fri, 17 Aug 2012 02:29:06 -0700 From: Tony Lindgren To: Catalin Marinas Cc: linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Marc Zyngier , Will Deacon Subject: Re: [PATCH v2 28/31] arm64: Generic timers support Message-ID: <20120817092904.GS11011@atomide.com> References: <1344966752-16102-1-git-send-email-catalin.marinas@arm.com> <1344966752-16102-29-git-send-email-catalin.marinas@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1344966752-16102-29-git-send-email-catalin.marinas@arm.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Catalin Marinas [120814 11:00]: > From: Marc Zyngier > > This patch adds support for the ARM generic timers with A64 instructions > for accessing the timer registers. It uses the physical counter as the > clock source and the virtual counter as sched_clock. > > The timer frequency can be specified via DT or read from the CNTFRQ_EL0 > register. The physical counter is also accessible from user space > allowing fast gettimeofday() implementation. Can we always assume we can boot the kernel with ARM generic timers and interrupts? If so, maybe that should be mentioned in the booting requirements doc as that means we can delay SoC specific initialization quite a bit and boot with generic kernel to the initramfs ;) Other than that: Acked-by: Tony Lindgren