diff options
| author | Vipin K Parashar <[email protected]> | 2017-03-10 17:27:32 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-03-31 15:22:56 +1100 |
| commit | 17bb69515c6dfbe282e8a9df08ffb719ff4dbc73 (patch) | |
| tree | dbdce278e818cd83380f6f76fae42982d233b256 /tools/perf/scripts | |
| parent | 4f9b514b765a3057341f3236c94877d9413babc7 (diff) | |
powerpc/powernv: Handle OPAL_WRONG_STATE in opal_get_sensor_data()
OPAL returns OPAL_WRONG_STATE upon failing to provide sensor data due to
core sleeping/offline. Add a check in opal_get_sensor_data() for sensor
read failure with OPAL_WRONG_STATE return code and return -EIO.
Signed-off-by: Vipin K Parashar <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions