Re: [PATCH v2 5/7] x86/mce: Change default mce logger to check mce->kflags

From: Borislav Petkov
Date: Tue Apr 07 2020 - 07:10:54 EST


On Fri, Feb 14, 2020 at 02:27:18PM -0800, Tony Luck wrote:
> @@ -261,6 +249,8 @@ static void __print_mce(struct mce *m)
> }
>
> pr_cont("\n");
> + if (m->kflags)
> + pr_emerg(HW_ERR "kflags = 0x%llx\n", m->kflags);

I've zapped that hunk. I'd like to avoid exposing those kflags to
luserspace in any shape or form for now.

--
Regards/Gruss,
Boris.

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