]> 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)
commitf146f7aa1b3cbdc5a96d26e261ecc4732a9242cb
tree9c387574e9fa179dc6c0cfb557aa4dd8b48a0c96
parent27bb863781f570afc9c5eef5a7d4cb214a932ce4
Revert "driver core: fw_devlink: Add support for batching fwnode parsing"

This reverts commit c0f273109bbd96cedf375348ef1d792b2ff566e6.

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