summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci.c
diff options
context:
space:
mode:
authorGavin Shan2014-10-01 09:07:50 +0200
committerMichael Ellerman2014-10-15 02:27:18 +0200
commit8a6b3710ccc33da1fd5c85144ad3db01c4457552 (patch)
tree6f83b1e44cce83ecad58d8901c7073976e0abfec /arch/powerpc/platforms/powernv/pci.c
parentpowerpc/eeh: Fix condition for isolated state (diff)
downloadkernel-qcow2-linux-8a6b3710ccc33da1fd5c85144ad3db01c4457552.tar.gz
kernel-qcow2-linux-8a6b3710ccc33da1fd5c85144ad3db01c4457552.tar.xz
kernel-qcow2-linux-8a6b3710ccc33da1fd5c85144ad3db01c4457552.zip
powerpc/eeh: Rename flag EEH_PE_RESET to EEH_PE_CFG_BLOCKED
The flag EEH_PE_RESET indicates blocking config space of the PE during reset time. We potentially need block PE's config space other than reset time. So it's reasonable to replace it with EEH_PE_CFG_BLOCKED to indicate its usage. There are no substantial code or logic changes in this patch. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.c')
-rw-r--r--arch/powerpc/platforms/powernv/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/pci.c b/arch/powerpc/platforms/powernv/pci.c
index e9f509bbc078..b1b7ac2d494f 100644
--- a/arch/powerpc/platforms/powernv/pci.c
+++ b/arch/powerpc/platforms/powernv/pci.c
@@ -513,7 +513,7 @@ static bool pnv_pci_cfg_check(struct pci_controller *hose,
edev = of_node_to_eeh_dev(dn);
if (edev) {
if (edev->pe &&
- (edev->pe->state & EEH_PE_RESET))
+ (edev->pe->state & EEH_PE_CFG_BLOCKED))
return false;
if (edev->mode & EEH_DEV_REMOVED)