linux-stable/arch/powerpc
Gavin Shan 22fca17924 powerpc/eeh: Clear frozen device state in time
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().

Cc: stable@vger.kernel.org
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>
2014-09-30 17:15:12 +10:00
..
boot powerpc/boot: Don't install zImage.* from make install 2014-09-25 23:14:34 +10:00
configs powerpc: Make CONFIG_FHANDLE=y for all 64 bit powerpc defconfigs 2014-09-09 19:02:46 +10:00
crypto
include powerpc/eeh: Introduce eeh_ops::err_inject 2014-09-30 17:15:10 +10:00
kernel powerpc/eeh: Clear frozen device state in time 2014-09-30 17:15:12 +10:00
kvm powerpc/kvm/cma: Fix panic introduces by signed shift operation 2014-09-03 10:34:07 +02:00
lib powerpc: Implement emulation of string loads and stores 2014-09-25 23:14:52 +10:00
math-emu
mm powerpc/mm: Unindent htab_dt_scan_page_sizes() 2014-09-25 23:14:56 +10:00
net net: filter: split 'struct sk_filter' into socket and bpf parts 2014-08-02 15:03:58 -07:00
oprofile powerpc: Ensure global functions include their prototype 2014-09-25 23:14:42 +10:00
perf powerpc: Make a bunch of things static 2014-09-25 23:14:41 +10:00
platforms powerpc/powernv: Clear PAPR error injection registers 2014-09-30 17:15:11 +10:00
sysdev powerpc/powernv: Don't call generic code on offline cpus 2014-09-25 23:14:50 +10:00
xmon powerpc: Hard disable interrupts in xmon 2014-08-13 15:13:48 +10:00
Kconfig powerpc: Enable DCACHE_WORD_ACCESS on ppc64le 2014-09-30 14:59:13 +10:00
Kconfig.debug Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
Makefile powerpc: Add POWER8 CPU selection 2014-09-25 23:14:49 +10:00
relocs_check.pl