From mboxrd@z Thu Jan 1 00:00:00 1970 From: mark.rutland@arm.com (Mark Rutland) Date: Fri, 11 Jan 2013 17:54:53 +0000 Subject: [PATCHv2 08/11] arm: arch_timer: add arch_counter_set_user_access In-Reply-To: <20130111165053.GB1794@arm.com> References: <1357747640-18594-1-git-send-email-mark.rutland@arm.com> <1357747640-18594-9-git-send-email-mark.rutland@arm.com> <50F01646.4010203@ti.com> <20130111165053.GB1794@arm.com> Message-ID: <20130111175452.GI19765@e106331-lin.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jan 11, 2013 at 04:50:53PM +0000, Catalin Marinas wrote: > On Fri, Jan 11, 2013 at 01:40:22PM +0000, Santosh Shilimkar wrote: > > On Wednesday 09 January 2013 09:37 PM, Mark Rutland wrote: > > > Several bits in CNTKCTL reset to 0, including PL0VTEN. For platforms > > > using the generic timer which wish to have a fast gettimeofday vDSO > > > implementation, these bits must be set to 1 by the kernel. On other > > > platforms, the bootloader might enable userspace access when we don't > > > want it. > > > > > > This patch adds arch_counter_set_user_access, which sets the PL0 access > > > permissions to that required by the platform. For arm, this currently > > minor nit. > > s/arm/ARM > > I think Mark meant arch/arm. Or we could call it AArch32 where we don't > use this feature. Indeed, I meant arch/arm. I'll try to be more consistent with that in future. Mark.