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

From: sashiko-bot

Date: Fri Sep 18 2026 - 16:15:52 EST


> 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@xxxxxxxxxx>
> Reviewed-by: Samiullah Khawaja <skhawaja@xxxxxxxxxx>
> Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx>

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

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