]> err.no Git - linux-2.6/commit
[PATCH] ppc64: Fix g5 hw timebase sync
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 May 2005 06:54:14 +0000 (16:54 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 May 2005 18:51:24 +0000 (11:51 -0700)
commitf10d20c1f192aa90fc935207f22da32462e793ee
tree0aac03c010745c6cb499a34a96de259480f05a64
parente16fa6b9d2ad9467cf5bdf517e6b6f45e5867ad6
[PATCH] ppc64: Fix g5 hw timebase sync

The hardware sync of the timebase on SMP G5s uses a black magic
incantation to the i2c clock chip that was inspired from what Darwin
does.

However, this was an earlier version of Darwin that was ...  buggy !
heh.  This causes the latest models to break though when starting SMP,
so it's worth fixing.

Here's a new version of the incantation based on careful transcription
of the said incantations as found in the latest version of apple's
temple.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/pmac_smp.c