Skip to content

Memory mapped architected timers

Stephen Boyd linux-arm-kernel linux-arm-msm linux-devicetree lkml 4 versions – Applied

Status from this message: Applied to my tree as 3.12 material

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 5 repliesApplied
  2. v34 patches 0 repliesSuperseded
  3. v24 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5clocksource: arch_timer: Make register accessors less error-pronearch/arm/include/asm/arch_timer.h arch/arm64/include/asm/arch_timer.h drivers/clocksource/arm_arch_timer.c +1 more+22 -270 replies
2/5Documentation: Add memory mapped ARM architected timer bindingDocumentation/devicetree/bindings/arm/arch_timer.txt+56 -30 replies
3/5clocksource: arch_timer: Pass clock event to set_mode callbackdrivers/clocksource/arm_arch_timer.c+1 -10 replies
4/5clocksource: arch_timer: Push the read/write wrappers deeperarch/arm/include/asm/arch_timer.h arch/arm64/include/asm/arch_timer.h drivers/clocksource/arm_arch_timer.c+35 -190 replies
5/5clocksource: arch_timer: Add support for memory mapped timersdrivers/clocksource/arm_arch_timer.c include/clocksource/arm_arch_timer.h+350 -560 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark Rutland
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] Memory mapped architected timers

This patchset adds support for memory mapped architected timers. We don't have any other global broadcast timer in our system, so we use the mmio timer during low power modes. The first patch changes the register accessor to an enum per Thomas' request. The second patch is the binding. The next two patches lay some groundwork so that the last patch is simpler. The final patch adds support for mmio timers.

Patches are based on v3.11-rc1.

Updates since v3:
* Rebased onto v3.11-rc1
* New patch to use compiler warnings instead of BUILD_BUG_ON()

Updates since v2:
* Rebased onto v3.10-rc1

Updates since v1:
* Assigned counter reading function and commented why for arm64
* Updated DT binding to replace frame-id with frame-number and use status property

Stephen Boyd (5):
clocksource: arch_timer: Make register accessors less error-prone
Documentation: Add memory mapped ARM architected timer binding
clocksource: arch_timer: Pass clock event to set_mode callback
clocksource: arch_timer: Push the read/write wrappers deeper
clocksource: arch_timer: Add support for memory mapped timers

 .../devicetree/bindings/arm/arch_timer.txt         |  59 ++-
 arch/arm/include/asm/arch_timer.h                  |  14 +-
 arch/arm64/include/asm/arch_timer.h                |  23 +-
 drivers/clocksource/arm_arch_timer.c               | 446 +++++++++++++++++----
 include/clocksource/arm_arch_timer.h               |  10 +-
 5 files changed, 455 insertions(+), 97 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation