From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Mon, 18 May 2015 11:43:25 +0100 Subject: [PATCH 1/2] ARM: simplify timer initialisation and remove arm_timer.h inclusion In-Reply-To: <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> <20150518104043.GS2067@n2100.arm.linux.org.uk> Message-ID: <5559C24D.9010701@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Russell, On 18/05/15 11:40, Russell King - ARM Linux wrote: > 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. > Thanks for confirming. Regards, Sudeep