Re: [PATCH v1 3/3] PM: sleep: Add locking to dpm_async_resume_children()
From: Rafael J. Wysocki
Date: Tue Jun 03 2025 - 12:32:15 EST
On Tue, Jun 3, 2025 at 6:27 PM Limonciello, Mario
<Mario.Limonciello@xxxxxxx> wrote:
>
> On 6/3/25 11:21 AM, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> >
> > Commit 0cbef962ce1f ("PM: sleep: Resume children after resuming the
> > parent") introduced a subtle concurrency issue that may lead to a kernel
> > crash if system suspend is aborted and may also slow down asynchronous
> > device resume otherwise.
> >
> > Namely, the initial list walks in dpm_noirq_resume_devices(),
> > dpm_resume_early(), and dpm_resume() call dpm_clear_async_state() for
> > every device and attepmt to asynchronously resume it if it has no
>
> s/attepmt/attempts/
It is plural, but yes, s/attepmt/attempt/
Will fix when applying, thanks!