Re: [PATCH 7/9] x86/mce: Unify AMD DFR handler with MCA Polling

From: Borislav Petkov
Date: Tue Jun 04 2024 - 07:19:14 EST


On Thu, May 23, 2024 at 10:56:39AM -0500, Yazen Ghannam wrote:
> -/*
> - * We have three scenarios for checking for Deferred errors:
> - *
> - * 1) Non-SMCA systems check MCA_STATUS and log error if found.
> - * 2) SMCA systems check MCA_STATUS. If error is found then log it and also
> - * clear MCA_DESTAT.
> - * 3) SMCA systems check MCA_DESTAT, if error was not found in MCA_STATUS, and
> - * log it.
> - */

I don't like it when you're killing those written down rules. Are they
not true anymore?

Because smca_log_poll_error() still does exactly that.

--
Regards/Gruss,
Boris.

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