diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2019-02-01 11:42:01 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-07 00:29:20 +1100 |
commit | b174b4fb919d118d9ac546b99a69574dfa431f7f (patch) | |
tree | dfbbf5d13e08188741b536adafef4245e578839c /kernel/dma/swiotlb.c | |
parent | ebb0e13ead2ddc186a80b1b0235deeefc5a1a667 (diff) | |
download | linux-b174b4fb919d118d9ac546b99a69574dfa431f7f.tar.bz2 |
powerpc/powernv: Escalate reset when IODA reset fails
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 <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/dma/swiotlb.c')
0 files changed, 0 insertions, 0 deletions