[PATCH v8 10/12] PCI: liveupdate: Freeze preservation status during shutdown

Samiullah Khawaja skhawaja at google.com
Mon Aug 24 13:07:57 PDT 2026


On Tue, Jul 28, 2026 at 10:10:04PM +0000, David Matlack wrote:
>Freeze a device's outgoing preservation status (preserved or not
>preserved) during shutdown. This enables the PCI core and drivers to
>safely make decisions based on the device's preservation status during
>shutdown.
>
>Note that pci_liveupdate_freeze() is triggered by the PCI core rather
>than from drivers participating in Live Update so that all devices can
>have their status frozen (i.e. prevent non-preserved devices from
>getting preserved late).
>
>Reviewed-by: Pranjal Shrivastava <praan at google.com>
>Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>
>Signed-off-by: David Matlack <dmatlack at google.com>
>---
> drivers/pci/liveupdate.c       | 16 ++++++++++++++++
> drivers/pci/liveupdate.h       |  4 ++++
> drivers/pci/pci-driver.c       |  2 ++
> include/linux/pci_liveupdate.h |  3 +++
> 4 files changed, 25 insertions(+)
>

Reviewed-by: Samiullah Khawaja <skhawaja at google.com>



More information about the kexec mailing list