summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-09-30 12:38:59 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-30 09:40:16 -0700
commitd1db54726f0e39a9766fee36ef61fa16df45e593 (patch)
treedccc65305f9db5df2e77f3e9ce5932776c5e2892 /security
parent6db96e0000dc8f29572c7a7b96a0f59d64144e56 (diff)
powerpc/eeh: Clear frozen device state in time
commit 22fca17924094113fe79c1db5135290e1a84ad4b upstream. The problem was reported by Carol: In the scenario of passing mlx4 adapter to guest, EEH error could be recovered successfully. When returning the device back to host, the driver (mlx4_core.ko) couldn't be loaded successfully because of error number -5 (-EIO) returned from mlx4_get_ownership(), which hits offlined PCI device. The root cause is that we missed to put the affected devices into normal state on clearing PE isolated state right after PE reset. The patch fixes above issue by putting the affected devices to normal state when clearing PE isolated state in eeh_pe_state_clear(). Reported-by: Carol L. Soto <clsoto@us.ibm.com> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions