[PATCH v6 2/6] ARM: allow user access to arch timer virtual counter
Nathan Lynch
Nathan_Lynch at mentor.com
Wed Apr 23 10:41:03 PDT 2014
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?
More information about the linux-arm-kernel
mailing list