Re: [PATCH v4 02/11] PCI: liveupdate: Track outgoing preserved PCI devices

Bjorn Helgaas
2026-04-27T21:06:17Z

On Thu, Apr 23, 2026 at 09:23:06PM +0000, David Matlack wrote:
> Add APIs to allow drivers to notify the PCI core of which devices are
> being preserved across a Live Update for the next kernel, i.e.
> "outgoing" devices.

> +++ b/drivers/pci/liveupdate.c
> @@ -43,6 +43,26 @@
> *
> * * ``pci_liveupdate_register_flb(driver_file_handler)``
> * * ``pci_liveupdate_unregister_flb(driver_file_handler)``
> + *
> + * Device Tracking
> + * ===============
> + *
> + * Drivers must notify the PCI core when specific devices are preserved or
> + * unpreserved with the following APIs:
> + *
> + * * ``pci_liveupdate_preserve(pci_dev)``
> + * * ``pci_liveupdate_unpreserve(pci_dev)``
> + *
> + * This allows the PCI core to keep it's FLB data (struct pci_ser) up to date
> + * with the list of **outgoing** preserved devices for the next kernel.

s/it's/its/