All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] arm_arch_timer: VDSO preparation, code consolidation
@ 2014-09-18 14:59 ` Nathan Lynch
  0 siblings, 0 replies; 44+ messages in thread
From: Nathan Lynch @ 2014-09-18 14:59 UTC (permalink / raw)
  To: Daniel Lezcano
  Cc: Catalin Marinas, Christopher Covington, Doug Anderson,
	Lorenzo Pieralisi, Marc Zyngier, Mark Rutland, Russell King,
	Sonny Rao, Stephen Boyd, Thomas Gleixner, Will Deacon,
	linux-arm-kernel, linux-kernel

This series contains the necessary changes to allow architected timer
access from user-space on 32-bit ARM.  This allows the VDSO to support
high resolution timestamps for clock_gettime and gettimeofday.  This
also merges substantially similar code from arm and arm64 into the
core arm_arch_timer driver.

The functional changes are:
- When available, CNTVCT is made readable by user space on arm, as it
  is on arm64.
- The clocksource name becomes "arch_mem_counter" if CP15 access to
  the counter is not available.

These changes have been carried as part of the ARM VDSO patch set over
the last several months, but I am splitting them out here as I assume
they should go through the clocksource maintainers.

Changes since v1:
- Fix minor checkpatch complaints.
- Rework patches 2-4.  v1 copied arm64's arch_timer_evtstrm_enable
  and arch_counter_set_user_access to the driver with slightly
  different names in one patch, then removed the unused functions in
  subsequent patches for each of arm and arm64.  This seemed kind of
  awkward to me, so I've reorganized those changes into two patches
  that should be easier to review.  Patch #1 is unchanged.

Nathan Lynch (3):
  clocksource: arm_arch_timer: change clocksource name if CP15
    unavailable
  clocksource: arm_arch_timer: enable counter access for 32-bit ARM
  clocksource: arm_arch_timer: consolidate arch_timer_evtstrm_enable

 arch/arm/include/asm/arch_timer.h    | 25 --------------------
 arch/arm64/include/asm/arch_timer.h  | 31 -------------------------
 drivers/clocksource/arm_arch_timer.c | 44 ++++++++++++++++++++++++++++++++++--
 3 files changed, 42 insertions(+), 58 deletions(-)

-- 
1.9.3


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2014-09-26 14:55 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-18 14:59 [PATCH v2 0/3] arm_arch_timer: VDSO preparation, code consolidation Nathan Lynch
2014-09-18 14:59 ` Nathan Lynch
2014-09-18 14:59 ` [PATCH v2 1/3] clocksource: arm_arch_timer: change clocksource name if CP15 unavailable Nathan Lynch
2014-09-18 14:59   ` Nathan Lynch
2014-09-26  7:04   ` Daniel Lezcano
2014-09-26  7:04     ` Daniel Lezcano
2014-09-26  9:26     ` Will Deacon
2014-09-26  9:26       ` Will Deacon
2014-09-26 11:34       ` Daniel Lezcano
2014-09-26 11:34         ` Daniel Lezcano
2014-09-26 14:55     ` Nathan Lynch
2014-09-26 14:55       ` Nathan Lynch
2014-09-18 14:59 ` [PATCH v2 2/3] clocksource: arm_arch_timer: enable counter access for 32-bit ARM Nathan Lynch
2014-09-18 14:59   ` Nathan Lynch
2014-09-18 14:59 ` [PATCH v2 3/3] clocksource: arm_arch_timer: consolidate arch_timer_evtstrm_enable Nathan Lynch
2014-09-18 14:59   ` Nathan Lynch
2014-09-22 15:39 ` [PATCH v2 0/3] arm_arch_timer: VDSO preparation, code consolidation Will Deacon
2014-09-22 15:39   ` Will Deacon
2014-09-22 16:15   ` Nathan Lynch
2014-09-22 16:15     ` Nathan Lynch
2014-09-22 18:56     ` Daniel Lezcano
2014-09-22 18:56       ` Daniel Lezcano
2014-09-22 22:30   ` Russell King - ARM Linux
2014-09-22 22:30     ` Russell King - ARM Linux
2014-09-23  0:28     ` Nathan Lynch
2014-09-23  0:28       ` Nathan Lynch
2014-09-24 14:12       ` Christopher Covington
2014-09-24 14:12         ` Christopher Covington
2014-09-24 14:32         ` Nathan Lynch
2014-09-24 14:32           ` Nathan Lynch
2014-09-24 14:50           ` Russell King - ARM Linux
2014-09-24 14:50             ` Russell King - ARM Linux
2014-09-24 16:58             ` Nathan Lynch
2014-09-24 16:58               ` Nathan Lynch
2014-09-24 18:58               ` Russell King - ARM Linux
2014-09-24 18:58                 ` Russell King - ARM Linux
2014-09-24 14:45     ` Catalin Marinas
2014-09-24 14:45       ` Catalin Marinas
2014-09-24 14:52       ` Russell King - ARM Linux
2014-09-24 14:52         ` Russell King - ARM Linux
2014-09-24 15:04         ` Catalin Marinas
2014-09-24 15:04           ` Catalin Marinas
2014-09-24 15:08           ` Russell King - ARM Linux
2014-09-24 15:08             ` Russell King - ARM Linux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.