Commit 49856dc9 authored by Aristeu Rozanski's avatar Aristeu Rozanski Committed by Mauro Carvalho Chehab

sb_edac: mark MCE messages as KERN_DEBUG

Since the driver is decoding the MCE, it's useless to have these
messages printed unless you're debugging a problem in the driver.
Signed-off-by: default avatarAristeu Rozanski <arozansk@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent cf40f80c
...@@ -1852,17 +1852,18 @@ static int sbridge_mce_check_error(struct notifier_block *nb, unsigned long val, ...@@ -1852,17 +1852,18 @@ static int sbridge_mce_check_error(struct notifier_block *nb, unsigned long val,
else else
type = "Event"; type = "Event";
printk("sbridge: HANDLING MCE MEMORY ERROR\n"); sbridge_mc_printk(mci, KERN_DEBUG, "HANDLING MCE MEMORY ERROR\n");
printk("CPU %d: Machine Check %s: %Lx Bank %d: %016Lx\n", sbridge_mc_printk(mci, KERN_DEBUG, "CPU %d: Machine Check %s: %Lx "
mce->extcpu, type, mce->mcgstatus, mce->bank, mce->status); "Bank %d: %016Lx\n", mce->extcpu, type,
printk("TSC %llx ", mce->tsc); mce->mcgstatus, mce->bank, mce->status);
printk("ADDR %llx ", mce->addr); sbridge_mc_printk(mci, KERN_DEBUG, "TSC %llx ", mce->tsc);
printk("MISC %llx ", mce->misc); sbridge_mc_printk(mci, KERN_DEBUG, "ADDR %llx ", mce->addr);
sbridge_mc_printk(mci, KERN_DEBUG, "MISC %llx ", mce->misc);
printk("PROCESSOR %u:%x TIME %llu SOCKET %u APIC %x\n",
mce->cpuvendor, mce->cpuid, mce->time, sbridge_mc_printk(mci, KERN_DEBUG, "PROCESSOR %u:%x TIME %llu SOCKET "
mce->socketid, mce->apicid); "%u APIC %x\n", mce->cpuvendor, mce->cpuid,
mce->time, mce->socketid, mce->apicid);
/* Only handle if it is the right mc controller */ /* Only handle if it is the right mc controller */
if (cpu_data(mce->cpu).phys_proc_id != pvt->sbridge_dev->mc) if (cpu_data(mce->cpu).phys_proc_id != pvt->sbridge_dev->mc)
......
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