Skip to content

Fix device links functional breakage in 4.19.99

Saravana Kannan linux-arm-kernel linux-doc linux-mediatek linux-pm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6driver core: Remove the link if there is no driver with AUTO flagdrivers/base/core.c+2 -20 replies
2/6driver core: Fix adding device links to probing suppliersDocumentation/driver-api/device_link.rst drivers/base/core.c+73 -110 replies
3/6driver core: Make driver core own stateful device linksDocumentation/driver-api/device_link.rst drivers/base/core.c+79 -320 replies
4/6driver core: Add device link flag DL_FLAG_AUTOPROBE_CONSUMERDocumentation/driver-api/device_link.rst drivers/base/core.c drivers/base/dd.c +1 more+28 -20 replies
5/6driver core: Remove device link creation limitationDocumentation/driver-api/device_link.rst drivers/base/core.c drivers/base/power/runtime.c +1 more+106 -820 replies
6/6driver core: Fix creation of device links with PM-runtime flagsdrivers/base/core.c+4 -20 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJon HunterDmitry OsipenkoMarek SzyprowskiSaravana Kannan
1/6
2/6
3/6
4/6
5/6T-b R-b Review-by
6/6T-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH v1 0/6] Fix device links functional breakage in 4.19.99

As mentioned in an earlier email thread [1], 4.19.99 broke the ability to create stateful and stateless device links between the same set of devices when it pulled in a valid bug fix [2]. While the fix was valid, it removes a functionality that was present before the bug fix.

This patch series attempts to fix that by pulling in more patches from upstream. I've just done compilation testing so far. But wanted to send out a v1 to see if this patch list was acceptable before I fixed up the commit text format to match what's needed for stable mailing list.

Some of the patches are new functionality, but for a first pass, it was easier to pull these in than try and fix the conflicts. If these patches are okay to pull into stable, then all I need to do is fix the commit text.

Thanks,
Saravana

[1] - https://lore.kernel.org/stable/CAGETcx-0dKRWo=tTVcfJQhQUsMtX_LtL6yvDkb3CMbvzREsvOQ@mail.gmail.com/#t
[2] - 6fdc440366f1a99f344b629ac92f350aefd77911

Rafael J. Wysocki (5):
driver core: Fix adding device links to probing suppliers driver core: Make driver core own stateful device links driver core: Add device link flag DL_FLAG_AUTOPROBE_CONSUMER driver core: Remove device link creation limitation driver core: Fix creation of device links with PM-runtime flags

Yong Wu (1):
driver core: Remove the link if there is no driver with AUTO flag

 Documentation/driver-api/device_link.rst |  63 +++--
 drivers/base/core.c                      | 293 +++++++++++++++++------
 drivers/base/dd.c                        |   2 +-
 drivers/base/power/runtime.c             |   4 +-
 include/linux/device.h                   |   7 +-
 5 files changed, 265 insertions(+), 104 deletions(-)
Signature · 1 line
2.25.1.481.gfbce0eb801-goog