Re: [PATCH v7 04/11] PCI: Export pci_dev_save_and_disable() and pci_dev_restore()

From: Dan Williams (nvidia)

Date: Tue Jun 23 2026 - 22:17:29 EST


Srirangan Madhavan wrote:
> Export the standard PCI reset save/disable and restore helpers so CXL reset
> can split that lifecycle around CXL-specific sequencing while preserving
> driver reset_prepare/reset_done callbacks and PCI config-state handling.

Part of the motivation for creating drivers/cxl/core/reset.c as a
builtin was to avoid needing to export PCI core functions. So no need
for these exports given no modular consumers.