From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756742AbcJZKyj (ORCPT ); Wed, 26 Oct 2016 06:54:39 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:35076 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756055AbcJZKyh (ORCPT ); Wed, 26 Oct 2016 06:54:37 -0400 MIME-Version: 1.0 In-Reply-To: <20161026105144.GF19965@leverpostej> References: <1475086637-1914-1-git-send-email-fu.wei@linaro.org> <1475086637-1914-2-git-send-email-fu.wei@linaro.org> <20161020144510.GJ10234@leverpostej> <20161026105144.GF19965@leverpostej> From: Fu Wei Date: Wed, 26 Oct 2016 18:54:35 +0800 Message-ID: Subject: Re: [PATCH v14 1/9] clocksource/drivers/arm_arch_timer: Move enums and defines to header file To: Mark Rutland Cc: "Rafael J. Wysocki" , Len Brown , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Lorenzo Pieralisi , Sudeep Holla , Hanjun Guo , linux-arm-kernel@lists.infradead.org, Linaro ACPI Mailman List , Linux Kernel Mailing List , ACPI Devel Maling List , rruigrok@codeaurora.org, "Abdulhamid, Harb" , Christopher Covington , Timur Tabi , G Gregory , Al Stone , Jon Masters , Wei Huang , Arnd Bergmann , Catalin Marinas , Will Deacon , Suravee Suthikulpanit , Leo Duran , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, Tomasz Nowicki , Christoffer Dall , Julien Grall Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark On 26 October 2016 at 18:51, Mark Rutland wrote: > On Wed, Oct 26, 2016 at 04:31:55PM +0800, Fu Wei wrote: >> On 20 October 2016 at 22:45, Mark Rutland wrote: >> > On Thu, Sep 29, 2016 at 02:17:09AM +0800, fu.wei@linaro.org wrote: >> >> #include >> >> #include >> >> >> >> +#define ARCH_CP15_TIMER BIT(0) >> >> +#define ARCH_MEM_TIMER BIT(1) >> > >> > If we're going to expose these in a header, it would be better to rename >> > them to something that makes their usage/meaning clear. These should >> > probably be ARCH_TIMER_TYPE_{CP15,MEM}. > >> > With those changes (regardless of the ARCH_TIMER_TYPE_* bits): >> > >> > Acked-by: Mark Rutland >> >> For ARCH_TIMER_TYPE_*, maybe I should add a patch at the end of this >> patchset to fix it, OK ? > > Sure. If you could put that *earlier* in the patchset it would be > preferable so as to minimize churn. OK, NP, will do > > Thanks, > Mark. -- Best regards, Fu Wei Software Engineer Red Hat