]> git.baikalelectronics.ru Git - kernel.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)
commitfd023678bec2cfe5e2ac6f8b14429163afce8962
tree409a950552f72205381e9ecad3bb8cd02d5f4b93
parenta83d8228b2dd791c898cd1a3531b0b83fd62f200
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