diff options
author | Tyrel Datwyler <tyreld@linux.vnet.ibm.com> | 2015-03-04 18:25:38 -0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-24 11:23:11 +1100 |
commit | 288a298c05774dde0a8d5abac9b692503d4e41f2 (patch) | |
tree | 69b3d83a82f3e59367c6a68d6b1fc5dc2ce4d02a /drivers/reset/Makefile | |
parent | cc83458d3aa01d69ccb2976e1323c92a6caae540 (diff) |
powerpc/pseries: Introduce api_version to migration sysfs interface
The /sys/kernel/mobility/migration interface was added all the way back
in 2.6.37. However, the drmgr userspace tool was never augmented to use
this interface to perfrom migrations. Instead it has continued using a
faux rtas call coupled with performing the device tree update processing
in userspace and communicating it back to the kernel via the ugly
/proc/ppc64/ofdt interface.
Up until 3.12 the device tree update code in the kernel was badly broken
and bit rotting. This code was fixed in 3.12 and is now utilized by the
kernel suspend code as of 3.15. The kernel is now better suited to
handle the post-mobility fixup of the device tree and drmgr should be
transitioned to using the sysfs migration interface.
This patch introduces the api_version sysfs file to /sys/kernel/mobility
as a means for drmgr to query the current implementation level of the
kernel migration code. This initial versioning indicates it is capable
of perfroming all current PAPR requirements for migration including the
post-mobility firmware activation and device tree update.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/reset/Makefile')
0 files changed, 0 insertions, 0 deletions