[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce6204a1-1e37-1cf6-d402-8340a42fd66e@sladewatkins.net>
Date: Wed, 1 Mar 2023 17:18:57 -0500
From: Slade Watkins <srw@...dewatkins.net>
To: Yazen Ghannam <yazen.ghannam@....com>
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
tony.luck@...el.com, x86@...nel.org
Subject: Re: [PATCH v2] x86/mce: Schedule work after restart from sysfs update
On 3/1/23 17:14, Yazen Ghannam wrote:
> A recent change introduced a flag to queue up errors found during
> boot-time polling. These errors will be processed during late init once
> the MCE subsystem is fully set up.
>
> A number of sysfs updates call mce_restart() which goes through a subset
> of the CPU init flow. This includes polling MCA banks and logging any
> errors found. Since the same function is used as boot-time polling,
> errors will be queued. However, the system is now past late init, so the
> errors will remain queued until another error is found and the workqueue
> is triggered.
>
> Call mce_schedule_work() at the end of mce_restart() so that queued
> errors are processed.
>
> Fixes: 3bff147b187d ("x86/mce: Defer processing of early errors")
> Cc: stable@...r.kernel.org
Yazen,
Despite Cc: stable@...r.kernel.org being here, the list wasn't Cc'd on this
email. Figured I'd let you know in case you create a v3 or resend at any point :).
Cheers,
-- Slade
Powered by blists - more mailing lists