From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan_Lynch@mentor.com (Nathan Lynch) Date: Wed, 23 Apr 2014 12:41:03 -0500 Subject: [PATCH v6 2/6] ARM: allow user access to arch timer virtual counter In-Reply-To: <20140423173244.GL5649@arm.com> References: <10ed3f4cfce13a80a9a3070934fc0e31619a1242.1398213562.git.nathan_lynch@mentor.com> <20140423173244.GL5649@arm.com> Message-ID: <5357FB2F.8060002@mentor.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/23/2014 12:32 PM, Will Deacon wrote: > On Wed, Apr 23, 2014 at 01:48:53AM +0100, Nathan Lynch wrote: >> As ARM64 does. This is a necessary prerequisite for implementing >> gettimeofday and clock_gettime in a vdso. > > Doesn't this change make arch_counter_set_user_access identical for arm and > arm64? In which case, we could move it into the driver itself. True; I had considered this but wasn't sure how it could be staged. Would a single patch updating arch/arm64, arch/arm, and drivers/clocksource/arm_arch_timer.c be okay?