Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755732AbaAXAqq (ORCPT ); Thu, 23 Jan 2014 19:46:46 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:52100 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755507AbaAXAqp (ORCPT ); Thu, 23 Jan 2014 19:46:45 -0500 Message-ID: <52E1B7E8.30300@linaro.org> Date: Fri, 24 Jan 2014 08:46:32 +0800 From: Hanjun Guo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Mark Rutland CC: Arnd Bergmann , "Rafael J. Wysocki" , Catalin Marinas , Will Deacon , Russell King - ARM Linux , "linux-acpi@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "grant.likely@linaro.org" , Matthew Garrett , Olof Johansson , Linus Walleij , Bjorn Helgaas , Rob Herring , "patches@linaro.org" , "linux-kernel@vger.kernel.org" , "linaro-kernel@lists.linaro.org" , "linaro-acpi@lists.linaro.org" , Charles Garcia-Tobin , Amit Daniel Kachhap Subject: Re: [PATCH 18/20] clocksource / acpi: Add macro CLOCKSOURCE_ACPI_DECLARE References: <1389961514-13562-1-git-send-email-hanjun.guo@linaro.org> <1389961514-13562-19-git-send-email-hanjun.guo@linaro.org> <201401171521.35940.arnd@arndb.de> <52DCE790.6080809@linaro.org> <20140122114616.GB15591@e106331-lin.cambridge.arm.com> In-Reply-To: <20140122114616.GB15591@e106331-lin.cambridge.arm.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 2014年01月22日 19:46, Mark Rutland wrote: > On Mon, Jan 20, 2014 at 09:08:32AM +0000, Hanjun Guo wrote: >> On 2014-1-17 22:21, Arnd Bergmann wrote: >>> On Friday 17 January 2014, Hanjun Guo wrote: >>>> From: Amit Daniel Kachhap >>>> >>>> This macro does the same job as CLOCKSOURCE_OF_DECLARE. The device >>>> name from the ACPI timer table is matched with all the registered >>>> timer controllers and matching initialisation routine is invoked. >>> I wouldn't anticipate this infrastructure to be required. Shouldn't all >>> ARMv8 machines have an architected timer? >> I not sure of this, could anyone can give some guidance? if only arch >> timer is available for ARM64, this will make thing very simple. > All ARMv8 systems should have an architected timer. Thanks for the clarification :) > > However, they may also have other timers (e.g. global timers for use > when CPUs are in low power states and their local architected timers > aren't active). Only arch timer (generic timer) is defined as a table in ACPI 5.0 spec at now, so other timers will not described as table and will described as device object in DSDT table, so do you think we need this framework or not? Thanks Hanjun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/