diff options
author | 2021-05-03 21:53:29 -0500 | |
---|---|---|
committer | 2021-06-25 14:47:20 +1000 | |
commit | bfb0c9fcf5870036e54081b28cae2af5f9ee7088 (patch) | |
tree | e5e1cb50e51077ab9d64dfa22cd12274a1ac6bf4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/rtas-rtc: remove unused constant (diff) | |
download | linux-dev-bfb0c9fcf5870036e54081b28cae2af5f9ee7088.tar.xz linux-dev-bfb0c9fcf5870036e54081b28cae2af5f9ee7088.zip |
powerpc/pseries/dlpar: use rtas_get_sensor()
Instead of making bare calls to get-sensor-state, use
rtas_get_sensor(), which correctly handles busy and extended delay
statuses.
Fixes: ab519a011caa ("powerpc/pseries: Kernel DLPAR Infrastructure")
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210504025329.1713878-1-nathanl@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions