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

From: Borislav Petkov
Date: Thu Jul 10 2014 - 14:30:17 EST


On Thu, Jul 10, 2014 at 10:56:05AM -0700, Havard Skinnemoen 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?

What Tony said: if the processor resets, those MSRs are cleared, forget
BIOS.

I dunno though whether the processor gets reset during kexec though. It
needs code staring...

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/