Re: [PATCH v7 02/12] PCI: liveupdate: Track outgoing preserved PCI devices
From: Bjorn Helgaas
Date: Thu Jul 23 2026 - 18:30:31 EST
On Fri, Jul 10, 2026 at 09:26:05PM +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.
>
> Drivers must notify the PCI core when devices are preserved so that the
> PCI core can update its FLB data (struct pci_ser) and track the list of
> outgoing devices. pci_liveupdate_preserve() notifies the PCI core that a
> device must be preserved across Live Update. pci_liveupdate_unpreserve()
> reverses this (cancels the preservation of the device).
>
> This tracking ensures the PCI core is fully aware of which devices may
> need special handling during shutdown and kexec, and so that it can be
> handed off to the next kernel.
I guess the antecedent of "it" is a device? Maybe s/it/they/?
Reviewed-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> +static void pci_liveupdate_unpreserve_device(struct pci_flb_outgoing *outgoing, struct pci_dev *dev)
Wrap parameter list to fit in 80 columns.