Re: [PATCH v7 08/18] iommu: Add APIs to get iommu and device preserved state
From: Baolu Lu
Date: Mon Nov 16 2026 - 20:46:49 EST
On 11/10/2026 12:08 PM, Samiullah Khawaja wrote:
The preserved state of the device and IOMMU needs to be fetched during
shutdown and boot in the next kernel. Add APIs that can be used to fetch
the preserved state of a device and IOMMU. The APIs will only be used
during shutdown and after liveupdate so no locking needed.
Signed-off-by: Samiullah Khawaja<skhawaja@xxxxxxxxxx>
Reviewed-by: Pranjal Shrivastava<praan@xxxxxxxxxx>
---
drivers/iommu/liveupdate.c | 88 ++++++++++++++++++++++++++++++++
include/linux/iommu-liveupdate.h | 70 +++++++++++++++++++++++++
2 files changed, 158 insertions(+)
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>