]> 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>
Thu, 23 Aug 2012 18:08:59 +0000 (13:08 -0500)
commit4ae8c0454ac7d825b78c4860974be158d656f392
tree868467a500f56c5c66f65d85202d9f20bf4b7862
parent76fc411373431479acbbd9aac388b45678016571
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