diff options
author | 2014-02-19 12:56:54 -0800 | |
---|---|---|
committer | 2014-03-07 15:54:50 +1100 | |
commit | 9da3489210fe1870491b0cc49c0304994baa7e96 (patch) | |
tree | ee2ae2d35f9ddc92ae3a025637827b4ac242f7d9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | powerpc/pseries: Update dynamic cache nodes for suspend/resume operation (diff) | |
download | linux-dev-9da3489210fe1870491b0cc49c0304994baa7e96.tar.xz linux-dev-9da3489210fe1870491b0cc49c0304994baa7e96.zip |
powerpc/pseries: Expose in kernel device tree update to drmgr
Traditionally it has been drmgr's responsibilty to update the device tree
through the /proc/ppc64/ofdt interface after a suspend/resume operation.
This patchset however has modified suspend/resume ops to preform an update
entirely in the kernel during the resume. Therefore, a mechanism is required
to expose that information to drmgr.
This patch adds a show function to the "hibernate" attribute that returns 1
if the kernel performs a device tree update after the resume and 0 otherwise.
This allows newer versions of drmgr to avoid doing a second unnecessary
device tree update.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions