Re: [PATCH -v2] x86/boot/compressed: Register dummy NMI handler in EFI boot loader, to avoid kdump crashes

From: Borislav Petkov
Date: Tue Jan 10 2023 - 07:47:23 EST


On Tue, Jan 10, 2023 at 01:34:35PM +0100, Ingo Molnar wrote:
> So your suggestion was to exit MC context 'before' the panic() call - but
> the patch calls it 'after' - was that intentional?

Bah, you're right - it should be:

mce_wrmsrl(MSR_IA32_MCG_STATUS, 0);
panic();

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette