PM: runtime: Update device status before letting suppliers suspend (another take)
Get series with b4
b4 am 4641414.31r3eYUQgx@kreacherVersions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Revert "PM: runtime: Update device status before letting suppliers suspend"drivers/ | +25 | 0 replies | |
| 2/2 | PM: runtime: Defer suspending suppliersdrivers/ | +39 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ulf Hansson |
|---|---|
| 1/2 | R-b |
| 2/2 | Diagnosed-by R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] PM: runtime: Update device status before letting suppliers suspend (another take)
Quoted 7 lines · CET Rafael J. Wysocki
Hi All,
The previous attempt to address the issue tackled by this series, commit
44cc89f76464("PM: runtime: Update device status before letting suppliers suspend") was incorrect, because it introduced a rather nasty race condition into__rpm_callback(), so let's revert it (patch [1/2]).
Quoted 8 lines
Instead, let's avoid suspending the suppliers immediately after dropping the PM-runtime references to them and do that later, when the status of the consumer has changed to
RPM_SUSPENDED.Please see the patch changelogs for details.
Elaine, please test this series on the system where you saw the original problem.
The above still applies.
The v2 is sent because of some updates in the second patch, plus the tags from Ulf.
Thanks!