aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell Currey <[email protected]>2016-11-16 12:12:26 +1100
committerMichael Ellerman <[email protected]>2016-11-22 11:57:07 +1100
commitd4791db527bf397c84c9956c3ece9692ed5322ac (patch)
treebd1eda3a9bd325ae5f09dea37e98a501103f6830 /tools/perf/scripts/python
parente9eb0278dad9c7a2631d5432180a130710110c09 (diff)
powerpc/powernv: Don't warn on PE init if unfreeze is unsupported
Whenever a PE is initialised in powernv, opal_pci_eeh_freeze_clear() is called. This is to remove any existing freeze, and has no negative side effects if the PE is already in an unfrozen state. On PHB backends that don't support this operation and return OPAL_UNSUPPORTED, this creates a scary and misleading warning message. Skip the warning message on init if OPAL_UNSUPPORTED is returned. As far as I'm aware, this currently only affects NPUs. Fixes: 313483d ("powerpc/powernv: Unfreeze PE on allocation") Signed-off-by: Russell Currey <[email protected]> Acked-by: Gavin Shan <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions