[PATCH v1 0/3] driver core: Set fw_devlink=on take II

From: Saravana Kannan
Date: Tue Mar 02 2021 - 18:38:40 EST


This series fixes the last few remaining issues reported when fw_devlink=on
by default.

Patch 1 is just [6] pulled in without changes into this series. It reduces
some unnecessary probe reordering caused by a combination of fw_devlink and
existing device link code. This fixes some issue caused by fw_devlink=on
with respect to DMAs and IOMMUs [1].

Patch 2 fixes a warning [2] present in code unrelated to fw_devlink. It was
just exposed by fw_devlink.

Jon,

Patch 2 should address the issues you reported[2] even without [3]. Could
you test this series please?

Michael,

I think Patch 1 should fix [4] without [5]. Can you test the series please?

Geert/Marek,

As far as I know, there shouldn't have any more issues you reported that
are still left unfixed after this series. Please correct me if I'm wrong or
if you find new issues.

[1] - https://lore.kernel.org/lkml/CAMuHMdUVVr8jES51_8_yPoicr-nwad_2nKLYUKweY8mbxx9GJw@xxxxxxxxxxxxxx/
[2] - https://lore.kernel.org/lkml/56f7d032-ba5a-a8c7-23de-2969d98c527e@xxxxxxxxxx/
[3] - https://lore.kernel.org/lkml/5176f496-facb-d7b0-9f4e-a9e4b8974178@xxxxxxxxxx/
[4] - https://lore.kernel.org/lkml/4b9ae679b6f76d2f7e340e2ec229dd53@xxxxxxxx/
[5] - https://lore.kernel.org/lkml/20210120105246.23218-1-michael@xxxxxxxx/
[6] - https://lore.kernel.org/lkml/20210217235130.1744843-1-saravanak@xxxxxxxxxx/

Cc: Michael Walle <michael@xxxxxxxx>
Cc: Jon Hunter <jonathanh@xxxxxxxxxx>
Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>

Thanks,
Saravana

Saravana Kannan (3):
driver core: Avoid pointless deferred probe attempts
driver core: Update device link status properly for
device_bind_driver()
Revert "Revert "driver core: Set fw_devlink=on by default""

drivers/base/base.h | 1 +
drivers/base/core.c | 37 ++++++++++++++++++++++++++++++++++++-
drivers/base/dd.c | 10 +++++++++-
include/linux/device.h | 4 ++++
4 files changed, 50 insertions(+), 2 deletions(-)

--
2.30.1.766.gb4fecdf3b7-goog