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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user