[PATCH v9 01/13] PCI: liveupdate: Set up FLB handler for the PCI core

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Sep 18 13:15:27 PDT 2026


> Set up a File-Lifecycle-Bound (FLB) handler so that the PCI core can
> preserve its own state across a Live Update kexec.
> 
> Preserving a PCI device across kexec requires preserving two independent
> sets of state:
> 
>  - Driver state, e.g. everything vfio-pci needs so that userspace can
>    keep using the device in the new kernel. The driver preserves this
>    itself and the PCI core is not involved.
> 
>  - PCI core state, e.g. which devices are preserved, so that the new
>    kernel knows not to disturb them while they are still running and
>    doing DMA. That is what this commit adds, serialized into struct
>    pci_ser.
> 
> [ ... ]
> not be enabled and these routines would never run.
> 
> Reviewed-by: Pranjal Shrivastava <praan at google.com>
> Reviewed-by: Samiullah Khawaja <skhawaja at google.com>
> Signed-off-by: David Matlack <dmatlack at google.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260918200640.887030-1-dmatlack@google.com?part=1




More information about the kexec mailing list