diff options
author | Gavin Shan <[email protected]> | 2016-06-24 16:44:19 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2016-09-29 14:50:51 +1000 |
commit | fbce44d0ed42e4653172376f4dfeaa5710f06a27 (patch) | |
tree | b0b4833f071c00038d4854d04798d538db263413 /tools/perf/scripts/python/sched-migration.py | |
parent | c762c69e106f2b41ef39981ba46bda0ae8119db5 (diff) |
powerpc/powernv: Call opal_pci_poll() if needed
When issuing PHB reset, OPAL API opal_pci_poll() is called to drive
the state machine in OPAL forward. However, we needn't always call
the function under some circumstances like reset deassert.
This avoids calling opal_pci_poll() when OPAL_SUCCESS is returned
from opal_pci_reset(). Except the overhead introduced by additional
one unnecessary OPAL call, I didn't run into real issue because of
this.
Reported-by: Pridhiviraj Paidipeddi <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions