]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: Mark cr16 clocksource unstable on SMP systems
authorHelge Deller <deller@gmx.de>
Mon, 26 Dec 2016 11:46:01 +0000 (12:46 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 29 Dec 2016 20:51:30 +0000 (21:51 +0100)
commit41744213602a206f24adcb4a2b7551db3c700e72
tree16c48097c99950e9731dfdd4993f5f06d9adb960
parent7ce7d89f48834cefece7804d38fc5d85382edf77
parisc: Mark cr16 clocksource unstable on SMP systems

The cr16 interval timer of each CPU is not syncronized to other cr16
timers in other CPUs in a SMP system. So, delay the registration of the
cr16 clocksource until all CPUs have been detected and then - if we are
on a SMP machine - mark the cr16 clocksource as unstable and lower it's
rating before registering it at the clocksource framework.

This patch fixes the stalled CPU warnings which we have seen since
introduction of the cr16 clocksource.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v4.8+
arch/parisc/kernel/time.c