]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/85xx: implement hardware timebase sync
authorZhao Chenhui <chenhui.zhao@freescale.com>
Fri, 20 Jul 2012 12:42:35 +0000 (20:42 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 12 Sep 2012 19:57:08 +0000 (14:57 -0500)
commitbf34526374a334ddfafaed73b0d8bf7eb4dea833
tree409a950552f72205381e9ecad3bb8cd02d5f4b93
parentae5cab476342bc7311945cf89d5cbd8d57f4a5a9
powerpc/85xx: implement hardware timebase sync

Do hardware timebase sync. Firstly, stop all timebases, and transfer the
timebase value of the boot core to the other core. Finally, start all
timebases.

Only apply to dual-core chips, such as MPC8572, P2020, etc.

Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_guts.h
arch/powerpc/platforms/85xx/smp.c