Re: [PATCH v6 2/9] PCI: Export pci_dev_save_and_disable() and pci_dev_restore()
From: Dan Williams (nvidia)
Date: Wed Jun 03 2026 - 18:36:42 EST
Srirangan Madhavan wrote:
> Export pci_dev_save_and_disable() and pci_dev_restore() so CXL reset
> orchestration can reuse the PCI core reset lifecycle for non-standard
> reset flows.
>
> These helpers invoke driver reset_prepare/reset_done callbacks, save and
> restore PCI config state, and disable the device while the caller holds
> the device lock.
No longer required with the plan for built-in CXL helpers.