Skip to content

ARM: mmp: PXA168 timer fixes

Doug Brown linux-arm-kernel linux-devicetree soc 1 version Applied

Status from this message: This series was applied to soc/soc.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ARM: dts: pxa168: add timer reset and clockarch/arm/boot/dts/pxa168.dtsi+2 -00 repliesApplied
2/2ARM: mmp: fix timer_read delayarch/arm/mach-mmp/time.c+7 -40 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARM: mmp: PXA168 timer fixes

This series contains a couple of bug fixes for the PXA168 timer. The clock wasn't assigned in pxa168.dtsi which eventually resulted in a hang at every boot after the clock was disabled. Also, the timer read function wasn't waiting long enough to capture the new timer value, which resulted in erroneous high CPU usage percent being reported with CONFIG_NO_HZ_IDLE=y.

I don't have any other MMP systems to test with, but I suspect the timer read delay problem also affected them. For example, the OLPC XO-4 kernel disabled CONFIG_NO_HZ due to incorrect high CPU usage reporting:

http://dev.laptop.org/git/olpc-kernel/commit?h=arm-3.5&id=5bd2520f8f51fc44911ec7a86b84f41a1f3e384c

CCing [email protected] because I didn't receive any responses when I submitted these last time and was hoping these fixes could get merged.

Doug Brown (2):
ARM: dts: pxa168: add timer reset and clock
ARM: mmp: fix timer_read delay

 arch/arm/boot/dts/pxa168.dtsi |  2 ++
 arch/arm/mach-mmp/time.c      | 11 +++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1