powerpc/pmac/smp: Fix CPU hotplug crashes on some machines
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 Mar 2011 02:54:50 +0000 (13:54 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 1 Apr 2011 04:37:31 +0000 (15:37 +1100)
On some machines that use i2c to synchronize the timebases (such
as PowerMac7,2/7,3 G5 machines), hotplug CPU would crash when
putting back a new CPU online due to the underlying i2c bus being
closed.

This uses the newly added bringup_done() callback to move the close
along with other housekeeping calls, and adds a CPU notifier to
re-open the i2c bus around subsequent hotplug operations

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found