]> Gentwo Git Trees - linux/.git/commit
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)
commit5c5b8751e563ff8e9ef45816d703b5cf1feb80fa
tree5c9a3be397d9131959a42b0295db7e5126df04bb
parente0910b31ebda61b9914698892ab1b8a33feaf595
parent5e09895b4063e9f57c6fc416cf30cd0c6ca7ec74
Merge branch 'pci/err'

- 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
drivers/pci/pci.c
drivers/pci/probe.c