https://github.com/torvalds/linux
Revision 4d594dd3028ba8cdfcbd854bde3811a1ee4e36d7 authored by Yuvaraj Kumar C D on 18 September 2013, 10:11:53 UTC, committed by Olof Johansson on 13 October 2013, 16:33:54 UTC
Without the "clock-frequency" property in arch timer node, could able
to see the below crash dump.

[<c0014e28>] (unwind_backtrace+0x0/0xf4) from [<c0011808>] (show_stack+0x10/0x14)
[<c0011808>] (show_stack+0x10/0x14) from [<c036ac1c>] (dump_stack+0x7c/0xb0)
[<c036ac1c>] (dump_stack+0x7c/0xb0) from [<c01ab760>] (Ldiv0_64+0x8/0x18)
[<c01ab760>] (Ldiv0_64+0x8/0x18) from [<c0062f60>] (clockevents_config.part.2+0x1c/0x74)
[<c0062f60>] (clockevents_config.part.2+0x1c/0x74) from [<c0062fd8>] (clockevents_config_and_register+0x20/0x2c)
[<c0062fd8>] (clockevents_config_and_register+0x20/0x2c) from [<c02b8e8c>] (arch_timer_setup+0xa8/0x134)
[<c02b8e8c>] (arch_timer_setup+0xa8/0x134) from [<c04b47b4>] (arch_timer_init+0x1f4/0x24c)
[<c04b47b4>] (arch_timer_init+0x1f4/0x24c) from [<c04b40d8>] (clocksource_of_init+0x34/0x58)
[<c04b40d8>] (clocksource_of_init+0x34/0x58) from [<c049ed8c>] (time_init+0x20/0x2c)
[<c049ed8c>] (time_init+0x20/0x2c) from [<c049b95c>] (start_kernel+0x1e0/0x39c)

THis is because the Exynos u-boot, for example on the Chromebooks, doesn't set
up the CNTFRQ register as expected by arch_timer. Instead, we have to specify
the frequency in the device tree like this.

Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
[olof: Changed subject, added comment, elaborated on commit message]
Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 98ead6e
History
Tip revision: 4d594dd3028ba8cdfcbd854bde3811a1ee4e36d7 authored by Yuvaraj Kumar C D on 18 September 2013, 10:11:53 UTC
ARM: exynos: dts: Update 5250 arch timer node with clock frequency
Tip revision: 4d594dd
File Mode Size
6fire
caiaq
hiface
misc
usx2y
Kconfig -rw-r--r-- 4.1 KB
Makefile -rw-r--r-- 529 bytes
card.c -rw-r--r-- 20.4 KB
card.h -rw-r--r-- 6.1 KB
clock.c -rw-r--r-- 11.6 KB
clock.h -rw-r--r-- 339 bytes
debug.h -rw-r--r-- 262 bytes
endpoint.c -rw-r--r-- 29.3 KB
endpoint.h -rw-r--r-- 1.2 KB
format.c -rw-r--r-- 14.3 KB
format.h -rw-r--r-- 292 bytes
helper.c -rw-r--r-- 3.1 KB
helper.h -rw-r--r-- 1.1 KB
midi.c -rw-r--r-- 65.4 KB
midi.h -rw-r--r-- 1.5 KB
mixer.c -rw-r--r-- 65.2 KB
mixer.h -rw-r--r-- 2.0 KB
mixer_maps.c -rw-r--r-- 12.6 KB
mixer_quirks.c -rw-r--r-- 40.7 KB
mixer_quirks.h -rw-r--r-- 367 bytes
pcm.c -rw-r--r-- 44.5 KB
pcm.h -rw-r--r-- 379 bytes
power.h -rw-r--r-- 375 bytes
proc.c -rw-r--r-- 6.0 KB
proc.h -rw-r--r-- 211 bytes
quirks-table.h -rw-r--r-- 74.6 KB
quirks.c -rw-r--r-- 34.0 KB
quirks.h -rw-r--r-- 1.1 KB
stream.c -rw-r--r-- 20.0 KB
stream.h -rw-r--r-- 286 bytes
usbaudio.h -rw-r--r-- 3.0 KB

back to top