https://github.com/torvalds/linux
Revision 8dfa741f146b39eb59ef2094e03f47079ca99eb0 authored by Ralf Baechle on 11 November 2007, 17:33:55 UTC, committed by Ralf Baechle on 15 November 2007, 23:21:50 UTC
We have no guarantee by the generic time code that the timer is stopped
when the ->next_event method is called.  Modifying the Timer Initial Count
register while the timer is enabled has UNPREDICTABLE effect according to
the BCM1250/BCM1125/BCM1125H User Manual.  So stop the timer before
reprogramming.

This is a paranoia fix; no ill effects have been observed previously.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 6224775
History
Tip revision: 8dfa741f146b39eb59ef2094e03f47079ca99eb0 authored by Ralf Baechle on 11 November 2007, 17:33:55 UTC
[MIPS] Sibyte: Stop timers before programming next even.
Tip revision: 8dfa741
File Mode Size
Kconfig -rw-r--r-- 2.0 KB
Kconfig.iosched -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 427 bytes
as-iosched.c -rw-r--r-- 37.8 KB
blktrace.c -rw-r--r-- 12.7 KB
bsg.c -rw-r--r-- 22.1 KB
cfq-iosched.c -rw-r--r-- 54.0 KB
compat_ioctl.c -rw-r--r-- 21.9 KB
deadline-iosched.c -rw-r--r-- 11.5 KB
elevator.c -rw-r--r-- 25.1 KB
genhd.c -rw-r--r-- 19.0 KB
ioctl.c -rw-r--r-- 7.0 KB
ll_rw_blk.c -rw-r--r-- 108.0 KB
noop-iosched.c -rw-r--r-- 2.6 KB
scsi_ioctl.c -rw-r--r-- 16.9 KB

back to top