aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2015-01-12 14:32:00 +0100
committerGreg Kroah-Hartman <[email protected]>2015-01-25 09:17:58 -0800
commit564132d9d62b3151dc6573da794378b5bf0cea17 (patch)
treebfecf5fc4a7f7a9ec0b698e2d8f54976d2fe5245 /tools/perf/scripts/python
parent83d514d76278e85cc74c472dd51687c8eb4faff0 (diff)
i8k: Rework error retries
Instead of returning a previous value if the SMM code returns an error when trying to read a temperature, retry once. If that fails again, return -ENODATA. Also return -ENODATA if an attempt is made to read the GPU temperature but the GPU is currently turned off. Drop the I8K_TEMPERATURE_BUG definition and handle the related bug unconditionally. Signed-off-by: Guenter Roeck <[email protected]> Tested-by: Pali Rohár <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions