sPAPR: Revert don't enable EEH on emulated PCI devices
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Fri, 18 Sep 2015 07:30:43 +0000 (17:30 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 23 Sep 2015 00:51:11 +0000 (10:51 +1000)
commit47445c80fb57035331574ac1ac0bcee67fb84aeb
treea850ef9243a946722827392b56570f679c1d91c9
parent4d9392be6c1aada69ce86c0f6584128976985394
sPAPR: Revert don't enable EEH on emulated PCI devices

This reverts commit 7cb18007 ("sPAPR: Don't enable EEH on emulated
PCI devices") as rtas_ibm_set_eeh_option() isn't the right place
to check if there has the corresponding PCI device for the input
address, which can be PE address, not PCI device address.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c