driver core: Fix some device links issues and add "consumer autoprobe" flag
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 16 repliesIn review
- v16 patches 12 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | driver core: Fix DL_FLAG_AUTOREMOVE_SUPPLIER device link flag handlingdrivers/ | +12 | 0 replies | |
| 2/9 | driver core: Avoid careless re-use of existing device linksdrivers/ | +20 | 2 replies | |
| 3/9 | driver core: Do not resume suppliers under device_links_write_lock()drivers/ | +14 | 0 replies | |
| 4/9 | driver core: Fix handling of runtime PM flags in device_link_add()drivers/ drivers/ include/ | +42 | 2 replies | |
| 5/9 | driver core: Fix adding device links to probing suppliersDocumentation/ drivers/ | +73 | 0 replies | |
| 6/9 | driver core: Do not call rpm_put_suppliers() in pm_runtime_drop_link()drivers/ drivers/ | +3 | 0 replies | |
| 7/9 | IOMMU: Make dwo drivers use stateless device linksdrivers/ drivers/ | +3 | 0 replies | |
| 8/9 | driver core: Make driver core own stateful device linksDocumentation/ drivers/ | +79 | 0 replies | |
| 9/9 | driver core: Add device link flag DL_FLAG_AUTOPROBE_CONSUMERDocumentation/ drivers/ drivers/ +1 more | +28 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marek Szyprowski | Joerg Roedel | Ulf Hansson |
|---|---|---|---|
| Series | R-b | ||
| 1/9 | |||
| 2/9 | |||
| 3/9 | |||
| 4/9 | |||
| 5/9 | |||
| 6/9 | |||
| 7/9 | A-b | A-b | |
| 8/9 | |||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/9] driver core: Fix some device links issues and add "consumer autoprobe" flag
Hi Greg at al,
This is a combination of the two device links series I have posted recently (https://lore.kernel.org/lkml/[email protected]/
and https://lore.kernel.org/lkml/[email protected]/) rebased on top of your driver-core-next branch.
Recently I have been looking at the device links code because of the recent discussion on possibly using them in the DRM subsystem (see for example https://marc.info/?l=linux-pm&m=154832771905309&w=2) and I have found a few issues in that code which should be addressed by this patch series. Please refer to the patch changelogs for details.
None of the problems addressed here should be manifesting themselves in mainline kernel today, but if there are more device links users in the future, they most likely will be encountered sooner or later. Also they need to be fixed for the DRM use case to be supported IMO.
On top of this the series makes device links support the "composite device" use case in the DRM subsystem mentioned above (essentially, the last patch in the series is for that purpose).
Cheers,
Rafael