From: Oliver O'Halloran <oohall@gmail.com> Date: 2019-02-01 00:43:53
The IODA reset is used to flush out any OS controlled state from the PHB.
This reset can fail if a PHB fatal error has occurred in early boot,
probably due to a because of a bad device. We already do a fundemental
reset of the device in some cases, so this patch just adds a test to force
a full reset if firmware reports an error when performing the IODA reset.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
arch/powerpc/platforms/powernv/pci-ioda.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
The IODA reset is used to flush out any OS controlled state from the PHB.
This reset can fail if a PHB fatal error has occurred in early boot,
probably due to a because of a bad device. We already do a fundemental
reset of the device in some cases, so this patch just adds a test to force
a full reset if firmware reports an error when performing the IODA reset.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
I am pretty sure I already saw this :-/
ah, anyway
Reviewed-by: Alexey Kardashevskiy <redacted>
From: Oliver <oohall@gmail.com> Date: 2019-02-04 06:05:57
On Mon, Feb 4, 2019 at 3:45 PM Alexey Kardashevskiy [off-list ref] wrote:
On 01/02/2019 11:42, Oliver O'Halloran wrote:
quoted
The IODA reset is used to flush out any OS controlled state from the PHB.
This reset can fail if a PHB fatal error has occurred in early boot,
probably due to a because of a bad device. We already do a fundemental
reset of the device in some cases, so this patch just adds a test to force
a full reset if firmware reports an error when performing the IODA reset.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
I am pretty sure I already saw this :-/
Uh yeah, looks like I posted it a while ago and forgot I did.
From: Michael Ellerman <hidden> Date: 2019-02-08 14:18:45
On Fri, 2019-02-01 at 00:42:01 UTC, Oliver O'Halloran wrote:
The IODA reset is used to flush out any OS controlled state from the PHB.
This reset can fail if a PHB fatal error has occurred in early boot,
probably due to a because of a bad device. We already do a fundemental
reset of the device in some cases, so this patch just adds a test to force
a full reset if firmware reports an error when performing the IODA reset.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <redacted>