Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753445AbbERKlF (ORCPT ); Mon, 18 May 2015 06:41:05 -0400 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:54095 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752870AbbERKky (ORCPT ); Mon, 18 May 2015 06:40:54 -0400 Date: Mon, 18 May 2015 11:40:43 +0100 From: Russell King - ARM Linux To: Rob Herring Cc: Sudeep Holla , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Catalin Marinas , Daniel Lezcano , Thomas Gleixner , Arnd Bergmann , Olof Johansson Subject: Re: [PATCH 1/2] ARM: simplify timer initialisation and remove arm_timer.h inclusion Message-ID: <20150518104043.GS2067@n2100.arm.linux.org.uk> References: <1430390662-18246-1-git-send-email-sudeep.holla@arm.com> <1430390662-18246-2-git-send-email-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 21 On Thu, Apr 30, 2015 at 09:09:47AM -0500, Rob Herring wrote: > On Thu, Apr 30, 2015 at 5:44 AM, Sudeep Holla wrote: > > The header asm/hardware/arm_timer.h is included in various machine > > specific files to access TIMER_CTRL and initialise to a known state. > > However that's not required as the clock{source,event} driver timer-sp > > initialises all the timer being used. > > I believe the idea is not to initialize the timers being used, but the > ones not being used and perhaps left running by the bootloader. Cases > where the interrupt is shared could cause a problem. Exactly. IMHO this code needs to stay. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- 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/