]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5214e3dfce52dd8b0fa81348163916230a320e43
tree9c387574e9fa179dc6c0cfb557aa4dd8b48a0c96
parent5b3bf341524c973629b0f6899fe55f0cf1c460cc
Revert "driver core: fw_devlink: Add support for batching fwnode parsing"

This reverts commit 897832b6983a21d5ddb38e9b921344537e9015c3.

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