powerpc/eeh: Reenable PCI devices after reset
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 30 Sep 2014 02:38:53 +0000 (12:38 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 30 Sep 2014 07:15:07 +0000 (17:15 +1000)
commit316233ff878451e198e3633fd9165c437007a309
tree0aad8e32ff12769a6a362ba93587e07f1055e4d4
parent0d5ee5205e62908172bf5e1a5fd171ba262fdb75
powerpc/eeh: Reenable PCI devices after reset

The PCI devices that have been passed through are enabled before
reset, we need restore to the enabled state after reset. Otherwise,
MMIO access might be issued to disabled devices after reset and
causes exceptional recursive EEH error.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh.c