Revert "driver core: fw_devlink: Add support for batching fwnode parsing"
authorSaravana Kannan <saravanak@google.com>
Sat, 21 Nov 2020 02:02:21 +0000 (18:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2020 18:10:20 +0000 (19:10 +0100)
commitc84b90909e475a2eb4934b4d92fdd10e73e75805
tree9c387574e9fa179dc6c0cfb557aa4dd8b48a0c96
parent087ad763c15477fba4324d7312866946b7f5ed30
Revert "driver core: fw_devlink: Add support for batching fwnode parsing"

This reverts commit 716a7a25969003d82ab738179c3f1068a120ed11.

The fw_devlink_pause/resume() APIs added by the commit being reverted
were a first cut attempt at optimizing boot time. But these APIs don't
fully solve the problem and are very fragile (can only be used for the
top level devices being added). This series replaces them with a much
better optimization that works for all device additions and also has the
benefit of reducing the complexity of the firmware (DT, EFI) specific
code and abstracting out common code to driver core.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20201121020232.908850-7-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
drivers/base/core.c
drivers/base/dd.c
include/linux/fwnode.h