* timekeeping: Cycle offset (32) is larger than allowed by the 'jiffies' clock's max_cycles value (10): time overflow danger
@ 2016-10-12 21:22 Helge Deller
0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2016-10-12 21:22 UTC (permalink / raw)
To: john.stultz@linaro.org, linux-kernel@vger.kernel.org,
linux-parisc@vger.kernel.org
When enabling CONFIG_DEBUG_TIMEKEEPING, I see on kernel 4.8 git head
those warnings on the parisc architecture:
Linux version 4.8.0-64bit+ (deller@p100.box) (gcc version 4.9.2 20150212 (Red Hat Cross 4.9.2-5) (GCC) ) #516 SMP Wed Oct 12 22:52:58 CEST 2016
...
clocksource: cr16: mask: 0xffffffffffffffff max_cycles: 0xacf9151134, max_idle_ns: 440795214493 ns
WARNING: timekeeping: Cycle offset (32) is larger than allowed by the 'jiffies' clock's max_cycles value (10): time overflow danger
timekeeping: Your kernel is sick, but tries to cope by capping time updates
WARNING: timekeeping: Cycle offset (42) is larger than allowed by the 'jiffies' clock's max_cycles value (10): time overflow danger
timekeeping: Your kernel is sick, but tries to cope by capping time updates
...
At this stage the jiffies clocksource was not yet registered (at least not mentioned in the bootlog).
This warning happens over and over. Maybe it should be rate-limited too?
Comparing to 4.7 where CONFIG_DEBUG_TIMEKEEPING is not enabled I see:
root@c8000:~# dmesg | grep clock
[ 0.000000] clocksource: cr16: mask: 0xffffffffffffffff max_cycles: 0xcf914c9718, max_idle_ns: 440795231327 ns
[ 0.873644] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 7.968087] clocksource: Switched to clocksource cr16
Am I somehow missing to initialize the max_cycles field of the jiffies clocksource
on the parisc architecture ?
Helge
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-12 21:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 21:22 timekeeping: Cycle offset (32) is larger than allowed by the 'jiffies' clock's max_cycles value (10): time overflow danger Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).