diff options
author | Vaidyanathan Srinivasan <[email protected]> | 2014-08-03 14:54:05 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2014-08-05 15:40:41 +1000 |
commit | 6174bac8c7ff73a86ae9a967d1c9cadc478023ae (patch) | |
tree | a5ac87e70111d42797dc6aa68eb61e3a4cfa6177 /tools/perf/scripts/python/sctop.py | |
parent | b00fc6ec1f24f9d7af9b8988b6a198186eb3408c (diff) |
powerpc/cpufreq: Add pr_warn() on OPAL firmware failures
Cpufreq depends on platform firmware to implement PStates. In case of
platform firmware failure, cpufreq should not panic host kernel with
BUG_ON(). Less severe pr_warn() will suffice.
Add firmware_has_feature(FW_FEATURE_OPALv3) check to
skip probing for device-tree on non-powernv platforms.
Signed-off-by: Vaidyanathan Srinivasan <[email protected]>
Acked-by: Gautham R. Shenoy <[email protected]>
CC: <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions