Commit 5fcfe5ea authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] ppc64: print backtrace in EEH code

We should print a stack backtrace when we get EEH errors, it makes
debugging the cause of the fail easier.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0e475b4b
......@@ -434,6 +434,10 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev)
spin_unlock_irqrestore(&slot_errbuf_lock, flags);
printk(KERN_ERR "EEH: MMIO failure (%d) on device:%s %s\n",
rets[0], pci_name(dev), pci_pretty_name(dev));
WARN_ON(1);
/*
* XXX We should create a separate sysctl for this.
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment