Re: [PATCH v8 10/12] PCI: liveupdate: Freeze preservation status during shutdown
From: Samiullah Khawaja
Date: Mon Aug 24 2026 - 16:08:28 EST
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@xxxxxxxxxx>
Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx>
---
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@xxxxxxxxxx>