]> Gentwo Git Trees - linux/.git/commitdiff
Merge branch 'pci/err'
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 3 Dec 2025 20:18:31 +0000 (14:18 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 3 Dec 2025 20:18:31 +0000 (14:18 -0600)
- For drivers using PCI legacy suspend, save config state at suspend so
  that state (not any earlier state from enumeration, probe, or error
  recovery) will be restored when resuming (Lukas Wunner)

- For devices with no driver or a driver that lacks PM, save config state
  at hibernate so that state (not any earlier state from enumeration,
  probe, or error recovery) will be restored when resuming (Lukas Wunner)

- Save device config space on device addition, before driver binding, so
  error recovery works more reliably (Lukas Wunner)

- Drop pci_save_state() from several drivers that no longer need it since
  the PCI core always does it and pci_restore_state() no longer invalidates
  the saved state (Lukas Wunner)

- Document use of pci_save_state() by drivers to capture the state they
  want restored during error recovery (Lukas Wunner)

* pci/err:
  Documentation: PCI: Amend error recovery doc with pci_save_state() rules
  treewide: Drop pci_save_state() after pci_restore_state()
  PCI/ERR: Ensure error recoverability at all times
  PCI/PM: Stop needlessly clearing state_saved on enumeration and thaw
  PCI/PM: Reinstate clearing state_saved in legacy and !PM codepaths

1  2 
drivers/pci/pci.c
drivers/pci/probe.c

Simple merge
Simple merge