We should print a stack backtrace when we get EEH errors, it makes
debugging the cause of the fail easier.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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.
*