All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression with e428e250fde6 on BeagleBoard Rev C2
@ 2021-09-19 17:41 Jarkko Nikula
  2021-09-20 13:34 ` Tony Lindgren
  2021-09-20 18:19 ` H. Nikolaus Schaller
  0 siblings, 2 replies; 21+ messages in thread
From: Jarkko Nikula @ 2021-09-19 17:41 UTC (permalink / raw)
  To: linux-omap; +Cc: Tony Lindgren, Laurent Pinchart

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

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

end of thread, other threads:[~2021-10-24  6:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-19 17:41 Regression with e428e250fde6 on BeagleBoard Rev C2 Jarkko Nikula
2021-09-20 13:34 ` Tony Lindgren
2021-09-20 14:52   ` Andreas Kemnade
2021-09-21  7:00     ` Tony Lindgren
2021-09-21 16:25       ` Andreas Kemnade
2021-09-20 16:35   ` Jarkko Nikula
2021-09-21  7:00     ` Tony Lindgren
2021-09-21 17:49       ` Jarkko Nikula
2021-09-22 10:07         ` Tony Lindgren
2021-09-22 17:21           ` Jarkko Nikula
2021-09-23  5:41             ` Tony Lindgren
2021-09-23 18:03               ` Jarkko Nikula
2021-09-24  7:02                 ` Tony Lindgren
2021-09-25 14:55                   ` Jarkko Nikula
2021-09-30  7:04                     ` Tony Lindgren
2021-10-20 17:52       ` Jarkko Nikula
2021-10-21 13:58         ` Tony Lindgren
2021-10-21 18:10           ` Jarkko Nikula
2021-10-24  6:41             ` Tony Lindgren
2021-09-20 18:19 ` H. Nikolaus Schaller
2021-09-21  7:02   ` Tony Lindgren

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.