]> git.baikalelectronics.ru Git - kernel.git/commit
clockevents: prevent mode mismatch on cpu online
authorThomas Gleixner <tglx@linutronix.de>
Mon, 22 Sep 2008 17:04:02 +0000 (19:04 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Sep 2008 09:38:53 +0000 (11:38 +0200)
commit8bbf4af6c3e3991ed578c500fe3b589fab0ad524
tree066245d42877d8535853e3199b33cdf1110eb8e4
parent16ff4af7b930f020ed62250227ec470579e6d2f9
clockevents: prevent mode mismatch on cpu online

Impact: timer hang on CPU online observed on AMD C1E systems

When a CPU is brought online then the broadcast machinery can
be in the one shot state already. Check this and setup the timer
device of the new CPU in one shot mode so the broadcast code
can pick up the next_event value correctly.

Another AMD C1E oddity, as we switch to broadcast immediately and
not after the full bring up via the ACPI cpu idle code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-broadcast.c
kernel/time/tick-common.c
kernel/time/tick-internal.h