]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 10 Aug 2012 12:47:24 +0000 (07:47 -0500)
commit9c503f3aa31f27f444ee815bbde6fe38f7a85170
treedc2725693847364b21b0b921134ee11b7be2ed19
parent501edd31b1fa6674e7bf81570eca3aedbfb4327c
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