Re: [PATCH] x86, MCE: Flesh out when to panic comment

From: Andy Lutomirski
Date: Mon May 26 2014 - 12:48:09 EST


On Mon, May 26, 2014 at 4:06 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> On Mon, May 26, 2014 at 12:51:10PM +0200, Jiri Kosina wrote:
>> I think the comment is still not explaining the big part of what the
>> discussion was about -- i.e. if it was in kernel context, we always
>> panic.
>
> I thought the pointer to mce_severity was enough? People should open an
> editor and look at the function and at its gory insanity. :-P

It may be worth at least pointing out that mce_severity looks at
whether we faulted from kernel context. I missed that the first time
around because mce_severity doesn't take a pt_regs pointer.

--Andy
--
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/