diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-06-24 16:44:19 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-29 14:50:51 +1000 |
commit | fbce44d0ed42e4653172376f4dfeaa5710f06a27 (patch) | |
tree | b0b4833f071c00038d4854d04798d538db263413 /include/net | |
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 <ppaiddipe@in.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions