Commit 9c5f8be4 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen

[PATCH] x86: Mention PCI instead of RAM in NMI parity error message

On modern systems RAM errors don't cause NMIs, but it's usually
caused by PCI SERR. Mention PCI instead of RAM in the printk.

Reported by r_hayashi@ctc-g.co.jp (Ryutaro Hayashi)

Cc:  r_hayashi@ctc-g.co.jp
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 7cd8b686
...@@ -708,8 +708,7 @@ mem_parity_error(unsigned char reason, struct pt_regs * regs) ...@@ -708,8 +708,7 @@ mem_parity_error(unsigned char reason, struct pt_regs * regs)
{ {
printk(KERN_EMERG "Uhhuh. NMI received for unknown reason %02x on " printk(KERN_EMERG "Uhhuh. NMI received for unknown reason %02x on "
"CPU %d.\n", reason, smp_processor_id()); "CPU %d.\n", reason, smp_processor_id());
printk(KERN_EMERG "You probably have a hardware problem with your RAM " printk(KERN_EMERG "You have some hardware problem, likely on the PCI bus.\n");
"chips\n");
if (panic_on_unrecovered_nmi) if (panic_on_unrecovered_nmi)
panic("NMI: Not continuing"); panic("NMI: Not continuing");
......
...@@ -793,8 +793,7 @@ mem_parity_error(unsigned char reason, struct pt_regs * regs) ...@@ -793,8 +793,7 @@ mem_parity_error(unsigned char reason, struct pt_regs * regs)
{ {
printk(KERN_EMERG "Uhhuh. NMI received for unknown reason %02x.\n", printk(KERN_EMERG "Uhhuh. NMI received for unknown reason %02x.\n",
reason); reason);
printk(KERN_EMERG "You probably have a hardware problem with your " printk(KERN_EMERG "You have some hardware problem, likely on the PCI bus.\n");
"RAM chips\n");
if (panic_on_unrecovered_nmi) if (panic_on_unrecovered_nmi)
panic("NMI: Not continuing"); panic("NMI: Not continuing");
......
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