diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2023-02-10 21:42:04 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-13 14:35:03 +0300 |
commit | fff9846be00c467b4a277492af5be8487b6540e9 (patch) | |
tree | aed196e5993e755b04e920c25a4ec2158a6e8d67 /tools/perf/scripts/python/task-analyzer.py | |
parent | b8dc71774a51182185ae197ed2f8bd085ce6c848 (diff) | |
download | linux-fff9846be00c467b4a277492af5be8487b6540e9.tar.xz |
powerpc/pseries/lparcfg: convert to papr_sysparm API
/proc/powerpc/lparcfg derives the LPAR name and SPLPAR characteristics
it reports using bare calls to the RTAS ibm,get-system-parameter
function. Convert these to the higher-level papr_sysparm API, which
handles the tedious details.
While the SPLPAR string parsing code could stand to be updated, that
should be done in a separate change. It is minimally modified here to
reduce the risk of changing behavior.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230125-b4-powerpc-rtas-queue-v3-16-26929c8cce78@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions