diff options
author | Chirantan Ekbote <chirantan@chromium.org> | 2014-06-11 17:18:48 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-06-16 17:23:29 +0200 |
commit | 1d80415db64b54141ef02ae58bd2f273d0ac3c38 (patch) | |
tree | 1f0447c05960c840b5d42807b783dd6bdf181161 /drivers/clocksource/sh_tmu.c | |
parent | ARM: dts: fix reg sizes of GIC for exynos4 (diff) | |
download | linux-1d80415db64b54141ef02ae58bd2f273d0ac3c38.tar.xz linux-1d80415db64b54141ef02ae58bd2f273d0ac3c38.zip |
clocksource: exynos_mct: Don't reset the counter during boot and resume
Unfortunately on some exynos systems, resetting the mct counter also
resets the architected timer counter. This can cause problems if the
architected timer driver has already been initialized because the kernel
will think that the counter has wrapped around, causing a big jump in
printk timestamps and delaying any scheduled clock events until the
counter reaches the value it had before it was reset.
The kernel code makes no assumptions about the initial value of the mct
counter so there is no reason from a software perspective to clear the
counter before starting it. This also fixes the problems described in
the previous paragraph.
Cc: Olof Johansson <olof@lixom.net>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/clocksource/sh_tmu.c')
0 files changed, 0 insertions, 0 deletions