Re: [PATCH] x86/mce: Do not log spurious corrected mce errors

From: Prarit Bhargava
Date: Fri Feb 14 2020 - 16:30:22 EST




On 2/14/20 12:36 PM, Luck, Tony wrote:
> On Fri, Feb 14, 2020 at 07:34:07AM -0500, Prarit Bhargava wrote:
>> #ifdef CONFIG_X86_MCE_AMD
>> extern bool amd_filter_mce(struct mce *m);
>> +extern bool intel_filter_mce(struct mce *m);
>> #else
>
> Something very weird is going on here. Why does
> CONFIG_X86_MCE_AMD have to be set to enable some
> *Intel* filter operation?

That's a mistake. I'll fix that in v2.

P.

>
> -Tony
>