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 <[email protected]>
Reviewed-by: Pasha Tatashin <[email protected]>
Signed-off-by: David Matlack <[email protected]>
---
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 <[email protected]>

Reply via email to