PCI: Universal error recoverability of devices
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 8 repliesIn review
- v12 patches 16 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI/PM: Reinstate clearing state_saved in legacy and !pm codepathsdrivers/ | +4 | 6 replies | |
| 2/3 | PCI/PM: Stop needlessly clearing state_saved on enumeration and thawdrivers/ drivers/ | +0 | 1 reply | |
| 3/3 | PCI/ERR: Ensure error recoverability at all timesdrivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Riana Tauro | Rafael J. Wysocki (Intel) |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | T-b | 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/3] PCI: Universal error recoverability of devices
This series intends to replace commit 1dc302f7fccc ("PCI: Ensure error recoverability at all times") on the pci/err topic branch:
https://git.kernel.org/pci/pci/c/1dc302f7fccc
The commit is assigning "dev->state_saved = false" in pci_bus_add_device() and during review there were requests to explain the assignment more clearly in a code comment.
However the assignment is (only) necessitated by missing assignments in pci_legacy_suspend() and pci_pm_freeze(), so I propose to instead add *those* assignments (patch [1/3]) and thus avoid the need for the assignment in pci_bus_add_device(), together with its code comment.
Furthermore the commit is *removing* an assignment in pci_device_add(). I am separating that out to new patch [2/3].
So patch [3/3] is identical to the commit, but without the addition of an assignment in pci_bus_add_device() and without the removal of an assignment in pci_device_add().
I am looking into improving the documentation on pci_save_state() in a separate series.
Lukas Wunner (3):
PCI/PM: Reinstate clearing state_saved in legacy and !pm codepaths PCI/PM: Stop needlessly clearing state_saved on enumeration and thaw PCI/ERR: Ensure error recoverability at all times
drivers/pci/bus.c | 3 +++ drivers/pci/pci-driver.c | 6 ++++-- drivers/pci/pci.c | 3 --- drivers/pci/probe.c | 2 -- 4 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.0