提交 2eae39f2 编写于 作者: S Sam Bobroff 提交者: Michael Ellerman

powerpc/eeh: Add message when PE processing at parent

To aid debugging, add a message to show when EEH processing for a PE
will be done at the device's parent, rather than directly at the
device.
Signed-off-by: NSam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 d6c4932f
...@@ -541,8 +541,12 @@ int eeh_dev_check_failure(struct eeh_dev *edev) ...@@ -541,8 +541,12 @@ int eeh_dev_check_failure(struct eeh_dev *edev)
/* Frozen parent PE ? */ /* Frozen parent PE ? */
ret = eeh_ops->get_state(parent_pe, NULL); ret = eeh_ops->get_state(parent_pe, NULL);
if (ret > 0 && !eeh_state_active(ret)) if (ret > 0 && !eeh_state_active(ret)) {
pe = parent_pe; pe = parent_pe;
pr_err("EEH: Failure of PHB#%x-PE#%x will be handled at parent PHB#%x-PE#%x.\n",
pe->phb->global_number, pe->addr,
pe->phb->global_number, parent_pe->addr);
}
/* Next parent level */ /* Next parent level */
parent_pe = parent_pe->parent; parent_pe = parent_pe->parent;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册