powerpc/pseries: Partition migration in the kernel
authorNathan Fontenot <nfont@austin.ibm.com>
Fri, 10 Sep 2010 09:42:36 +0000 (09:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 13 Oct 2010 05:19:03 +0000 (16:19 +1100)
commit410bccf978819394669dede571de878f4576fd3e
tree1037c9b036e79cbd1f5655ce078673ce62b7081f
parentd8862be1229534aac1768b8ac663e8fb2bb6ddf6
powerpc/pseries: Partition migration in the kernel

Enable partition migration in the kernel.  To do this a new sysfs file,
/sys/kernel/mobility/migration, is created.  In order to initiate a migration
the stream id (generated by the HMC managing the system) is written to this
file.

After a migration occurs, and what is the majority of this code, the device
tree needs to be updated for the new system the partition is running on. This
is done via the ibm,update-nodes and ibm,update-properties rtas calls which
return information regarding which nodes and properties of the device tree
are to be added/removed/updated.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/mobility.c [new file with mode: 0644]