Re: [PATCH 02/10] MCE: save most severe error information

From: Tony Luck
Date: Fri Jun 10 2011 - 14:08:47 EST


2011/6/10 Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx>:
> Could you clarify why we have to use mces_seen after mce_end(), please?

In part 10 I add:
+ if (worst == MCE_AR_SEVERITY) {
+ mce_action_required(&m, msg, regs);
+ kill_it = 0;
+ }

Which happens after mce_end() ... and wants to access the struct mce that
we filled out for this processor.

But it is possible that we don't need it - your comments to later parts
of this patch series point out that better severity table entries could
cover the checks for ADDRV and MISCV being set, and make the
error immediately fatal, rather than leaving it until this late stage to
do so.

I think we only actually need to save the address from the mce structure.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/