Re: [PATCH 3/5] driver core: async device shutdown infrastructure
From: Randy Dunlap
Date: Wed Mar 11 2026 - 15:41:54 EST
Hi,
On 3/11/26 10:12 AM, David Jeffery wrote:
> Patterned after async suspend, allow devices to mark themselves as wanting
> to perform async shutdown. Devices using async shutdown wait only for their
> dependencies to shutdown before executing their shutdown routine.
>
> Sync shutdown devices are shut down one at a time and will only wait for an
> async shutdown device if the async device is a dependency.
>
> Signed-off-by: David Jeffery <djeffery@xxxxxxxxxx>
> Signed-off-by: Stuart Hayes <stuart.w.hayes@xxxxxxxxx>
> Tested-by: Laurence Oberman <loberman@xxxxxxxxxx>
> ---
> drivers/base/base.h | 2 +
> drivers/base/core.c | 104 ++++++++++++++++++++++++++++++++++++++++-
> include/linux/device.h | 13 ++++++
> 3 files changed, 118 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/base/base.h b/drivers/base/base.h
> index 79d031d2d845..ea2a039e7907 100644
> --- a/drivers/base/base.h
> +++ b/drivers/base/base.h
I know this isn't directly about this patch, but would you mind adding
descriptions that are currently missing for a couple of struct member fields?
Warning: drivers/base/base.h:59 struct member 'drivers_autoprobe' not described in 'subsys_private'
Warning: drivers/base/base.h:135 struct member 'deferred_probe_reason' not described in 'device_private'
thanks.
--
~Randy