Re: [PATCH v1 0/3] Fix dpm_list ordering issue due to fw_devlink optimization

From: Rafael J. Wysocki
Date: Tue Jul 07 2020 - 11:56:29 EST


On Wed, Jul 1, 2020 at 9:43 PM Saravana Kannan <saravanak@xxxxxxxxxx> wrote:
>
> When commit 93d2e4322aa7 ("of: platform: Batch fwnode parsing when
> adding all top level devices") enabled batch processing of fw_devlink to
> optimize the parsing time, it caused a suspend/resume regression due to
> the use of deferred probing early on at boot.
>
> This series fixes the regression by avoiding the use of deferred probing
> when optimizing fw_devlink parsing.
>
> Saravana Kannan (3):
> driver core: Don't do deferred probe in parallel with kernel_init
> thread
> driver core: Rename dev_links_info.defer_sync to defer_hook
> driver core: Avoid deferred probe due to fw_devlink_pause/resume()
>
> drivers/base/base.h | 1 -
> drivers/base/core.c | 44 ++++++++++++++++++++++++++++++------------
> drivers/base/dd.c | 5 -----
> include/linux/device.h | 5 +++--
> 4 files changed, 35 insertions(+), 20 deletions(-)
>
> --

Geert, any chance to test this series on top of 5.8-rc? It is
expected to fix the suspend/resume regression reported by you.

Cheers!