From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-oi0-f51.google.com ([209.85.218.51]:33447 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757758AbcJZJCV (ORCPT ); Wed, 26 Oct 2016 05:02:21 -0400 Received: by mail-oi0-f51.google.com with SMTP id y2so138681363oie.0 for ; Wed, 26 Oct 2016 02:01:40 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20161021112120.GC16630@leverpostej> References: <1475086637-1914-1-git-send-email-fu.wei@linaro.org> <1475086637-1914-6-git-send-email-fu.wei@linaro.org> <20161020165747.GD27598@leverpostej> <20161021111352.GA16630@leverpostej> <20161021112120.GC16630@leverpostej> From: Fu Wei Date: Wed, 26 Oct 2016 16:54:48 +0800 Message-ID: Subject: Re: [PATCH v14 5/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code. To: Mark Rutland Cc: Linaro ACPI Mailman List , Catalin Marinas , Will Deacon , Linux Kernel Mailing List , Julien Grall , Wei Huang , Lorenzo Pieralisi , Al Stone , Tomasz Nowicki , Timur Tabi , Daniel Lezcano , ACPI Devel Maling List , Guenter Roeck , Len Brown , "Abdulhamid, Harb" , linux-watchdog@vger.kernel.org, Arnd Bergmann , Marc Zyngier , Jon Masters , Sudeep Holla , Christopher Covington , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, G Gregory , "Rafael J. Wysocki" , rruigrok@codeaurora.org, Leo Duran , Hanjun Guo , Suravee Suthikulpanit , Wim Van Sebroeck , Christoffer Dall Content-Type: text/plain; charset=UTF-8 Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org Hi Mark, On 21 October 2016 at 19:21, Mark Rutland wrote: > On Fri, Oct 21, 2016 at 12:14:01PM +0100, Mark Rutland wrote: >> On Thu, Oct 20, 2016 at 05:58:17PM +0100, Mark Rutland wrote: >> > On Thu, Sep 29, 2016 at 02:17:13AM +0800, fu.wei@linaro.org wrote: >> > > + arch_timer_ppi[PHYS_NONSECURE_PPI] = acpi_gtdt_map_ppi(PHYS_NONSECURE_PPI); >> > > + arch_timer_ppi[VIRT_PPI] = acpi_gtdt_map_ppi(VIRT_PPI); >> > > + arch_timer_ppi[HYP_PPI] = acpi_gtdt_map_ppi(HYP_PPI); >> > > + /* Always-on capability */ >> > > + arch_timer_c3stop = acpi_gtdt_c3stop(); >> > >> > ... I think we should check the flag on the relevant interrupt, though >> > that's worth clarifying. >> >> I see I misread the spec; this is part of the common flags. >> >> Please ignore this point; sorry for the noise. > > Actually, I misread the spec this time around; the flag *can* differ per > interrupt for the sysreg/cp15 timer, but not for the MMIO timers where > the flag is in a common field. > > So please *do* consider the above. yes , you are right , will do Thanks :-) > > Thanks, > Mark. -- Best regards, Fu Wei Software Engineer Red Hat