RE: [PATCH] x86/mce: Restore rate limit on MCE logged message

From: Luck, Tony

Date: Mon Nov 09 2026 - 12:59:26 EST


> Usually, correctable errors are consumed by the CEC and you don't see
> anything. So you must be doing something else.

mce_log() is called from the interrupt. CEC is called later because it registered
with mce_register_decode_chain() to be told about errors that were added to the
queue by mce_gen_pool_add().

So the message goes out to the console before CEC has a chance to squash
reporting of corrected errors.

Change looks good to me:

Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>

-Tony