Re: [PATCH 3/6] x86-mce: Clear CMCI enable on all claimed CMCI banks before reboot.

From: Tony Luck
Date: Thu Jul 10 2014 - 14:27:08 EST


On Thu, Jul 10, 2014 at 10:56 AM, Havard Skinnemoen
<hskinnemoen@xxxxxxxxxx> wrote:
> Even on kexec-enabled kernels, we might be doing a regular BIOS boot.
> Is there any way to detect that we're doing a kexec boot and only
> clearing the MSRs in that case?

I'm not sure if we should worry about that ... not having the code bloat
for the functions is kexec is not configured is a good goal. Worrying
about a few extra microseconds in the shutdown path if kexec is configured
but we are actually doing a normal shutdown/reboot doesn't seem as
big of a worry.

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