Regression with e428e250fde6 on BeagleBoard Rev C2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I found another timer related regression on BeagleBoard Rev C2 which was
present before 6cfcd5563b4f ("clocksource/drivers/timer-ti-dm: Fix
suspend and resume for am3 and am4") and which remains after fix
3ff340e24c9d ("bus: ti-sysc: Fix gpt12 system timer issue with reserved
status") including today's head d4d016caa4b8 ("alpha: move __udiv_qrnnd
library function to arch/alpha/lib/").

Issue occurs when omap3_isp is not loaded and symptoms are the same than
my previous finding [1]. I.e. timer interrupts appear missing and need
to hit keys on serial console in order to let boot (when omap3_isp not
built) or "sleep 1" in shell to continue.

I bisected that regression to commit
e428e250fde6 ("ARM: dts: Configure system timers for omap3")

According to commit and dmesg it seems to switch from 32k timer to 13
MHz timer. Commit does not explain why it marks 32k timer as unusable on
the BeagleBoard. Or was that a copy-paste error from another dts?

Before

[    0.000000] OMAP clockevent source: timer12 at 32768 Hz
[    0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps
every 65535999984741ns

After e428e250fde6

[    0.000000] TI gptimer clockevent: 13000000 Hz at
/ocp@68000000/target-module@49032000
[    0.000000] TI gptimer clocksource: always-on
/ocp@68000000/target-module@48304000
[    0.000091] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps
every 65535999984741ns
[    0.000183] clocksource: dmtimer: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 58327039986419 ns

I fail to understand how omap3isp affects this since it actually disable
clocks after probe. Does it keep some power domain active which then
keeps the timer active etc?

1. https://marc.info/?l=linux-omap&m=162221018410523&w=2



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux