From: Pranjal Shrivastava <praan@google.com>
To: Samiullah Khawaja <skhawaja@google.com>
Cc: Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>,
Lu Baolu <baolu.lu@linux.intel.com>,
Jason Gunthorpe <jgg@ziepe.ca>,
David Woodhouse <dwmw2@infradead.org>,
Robin Murphy <robin.murphy@arm.com>,
Kevin Tian <kevin.tian@intel.com>,
Alex Williamson <alex@shazbot.org>, Shuah Khan <shuah@kernel.org>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
kvm@vger.kernel.org, Pratyush Yadav <pratyush@kernel.org>,
Pasha Tatashin <pasha.tatashin@soleen.com>,
David Matlack <dmatlack@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Vipin Sharma <vipinsh@google.com>,
Ankit Soni <Ankit.Soni@amd.com>,
Nicolin Chen <nicolinc@nvidia.com>, John Starks <dev@jstarks.net>
Subject: Re: [PATCH v8 02/18] iommu: Implement IOMMU Live update FLB callbacks
Date: Mon, 30 Nov 2026 18:40:01 +0000 [thread overview]
Message-ID: <aw3DAewDOvnhTHmB@google.com> (raw)
In-Reply-To: <20261123044949.3610702-3-skhawaja@google.com>
On Mon, Nov 23, 2026 at 04:49:33AM +0000, Samiullah Khawaja wrote:
> Add liveupdate FLB for IOMMU state preservation. Use KHO preserve memory
> alloc/free helper functions to allocate memory for the IOMMU Live update
> FLB object and the serialization structs for device, domain and iommu.
>
> During retrieve, walk through the preserved obj array headers and
> restore each folio. Also recreate the FLB obj.
>
Minor nit: This still describes the pre-v6 array scheme. Now, retrieve
doesn't restore each folio, block folios are restored at teardown via
kho_restore_free(). The FLB obj itself is kzalloc'd. Let's refresh it?
> Signed-off-by: Samiullah Khawaja <skhawaja@google.com>
> ---
> MAINTAINERS | 9 ++
> drivers/iommu/Kconfig | 12 ++
> drivers/iommu/Makefile | 1 +
> drivers/iommu/liveupdate.c | 241 +++++++++++++++++++++++++++++++
> include/linux/iommu-liveupdate.h | 28 ++++
> include/linux/kho/abi/iommu.h | 190 ++++++++++++++++++++++++
> 6 files changed, 481 insertions(+)
> create mode 100644 drivers/iommu/liveupdate.c
> create mode 100644 include/linux/iommu-liveupdate.h
> create mode 100644 include/linux/kho/abi/iommu.h
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index c00d3612c9ac..96ac907af0d6 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -14139,6 +14139,15 @@ F: include/linux/iova.h
> F: include/linux/of_iommu.h
> F: rust/kernel/iommu/
>
> +IOMMU LIVEUPDATE
> +M: Samiullah Khawaja <skhawaja@google.com>
> +R: Pranjal Shrivastava <praan@google.com>
> +L: iommu@lists.linux.dev
> +S: Maintained
> +F: drivers/iommu/liveupdate.c
> +F: include/linux/iommu-liveupdate.h
> +F: include/linux/kho/abi/iommu.h
> +
> IOMMUFD
> M: Jason Gunthorpe <jgg@nvidia.com>
> M: Kevin Tian <kevin.tian@intel.com>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index 85a8d7fdfa30..13d4759c3f4c 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -421,6 +421,18 @@ config IOMMU_DEBUG_PAGEALLOC
> line to activate the runtime checks.
>
> If unsure, say N.
> +
> +config IOMMU_LIVEUPDATE
> + bool "IOMMU live update state preservation support"
> + depends on LIVEUPDATE && IOMMUFD && 64BIT
> + help
> + Enable support for preserving IOMMU state across a kexec live update.
> +
> + This allows devices managed by iommufd to maintain their DMA mappings
> + during kexec base kernel update.
> +
> + If unsure, say N.
> +
> endif # IOMMU_SUPPORT
>
> source "drivers/iommu/generic_pt/Kconfig"
> diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile
> index 29a26d2a3af1..248adfabd1bc 100644
> --- a/drivers/iommu/Makefile
> +++ b/drivers/iommu/Makefile
> @@ -17,6 +17,7 @@ obj-$(CONFIG_IOMMU_IO_PGTABLE_LPAE) += io-pgtable-arm.o
> obj-$(CONFIG_IOMMU_IO_PGTABLE_LPAE_KUNIT_TEST) += io-pgtable-arm-selftests.o
> obj-$(CONFIG_IOMMU_IO_PGTABLE_DART) += io-pgtable-dart.o
> obj-$(CONFIG_IOMMU_IOVA) += iova.o
> +obj-$(CONFIG_IOMMU_LIVEUPDATE) += liveupdate.o
> obj-$(CONFIG_OF_IOMMU) += of_iommu.o
> obj-$(CONFIG_MSM_IOMMU) += msm_iommu.o
> obj-$(CONFIG_IPMMU_VMSA) += ipmmu-vmsa.o
> diff --git a/drivers/iommu/liveupdate.c b/drivers/iommu/liveupdate.c
> new file mode 100644
> index 000000000000..a1f40e242d93
> --- /dev/null
> +++ b/drivers/iommu/liveupdate.c
> @@ -0,0 +1,241 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +
> +/*
> + * Copyright (C) 2026, Google LLC
> + * Author: Samiullah Khawaja <skhawaja@google.com>
> + */
> +
> +/**
> + * DOC: IOMMU Live Update
> + *
> + * The IOMMU subsystem participates in the Live Update process to preserve its
> + * IOMMU domains and IOMMU specific state of preserved devices.
> + *
> + * File-Lifecycle-Bound (FLB) Data
> + * ===============================
> + *
> + * Preserved state of IOMMU HW needs to be restored during boot when the IOMMU is
> + * initialized and registered. The preserved IOMMU domains also need to be
> + * restored and associated with the preserved devices early during boot. For
> + * this reason, IOMMU subsystem uses LUO File-Lifecycle-Bound Data to store some
> + * state globally.
> + *
> + * During preservation of IOMMUFD into LUO, some of the state is stored in the
> + * IOMMU FLB so it can be restored during boot. Once the FDs are retrieved from LUO
> + * the restored state can be reassociated with the relevant IOMMUFDs.
> + *
> + * The FLB also contains the state of IOMMU HW that might be shared between
> + * multiple devices, domains and iommufds. This is restored early during boot
> + * and no re-association of this state is needed later.
> + *
> + * As the state is preserved using KHO, the FLB handler callbacks are called by
> + * LUO only when the KHO is enabled. So there is no need to check whether KHO is
> + * enabled in the callback implementation.
> + *
> + */
> +
> +#define pr_fmt(fmt) "iommu: liveupdate: " fmt
> +
> +#include <linux/errno.h>
> +#include <linux/iommu-liveupdate.h>
> +#include <linux/iommu.h>
> +#include <linux/kexec_handover.h>
> +#include <linux/kho_block.h>
> +#include <linux/liveupdate.h>
> +
> +/**
> + * struct iommu_ser_set - Set of serialized objects of one type
> + * @bs: KHO block set holding the serialized objects
> + * @it: Iterator used to reserve new objects at the end of @bs
> + * @count: Number of reserved objects, including the deleted ones
> + * @head_pa: Field of struct iommu_flb_ser that records the head of @bs
> + */
> +struct iommu_ser_set {
> + struct kho_block_set bs;
> + struct kho_block_set_it it;
> + u64 count;
> + u64 *head_pa;
> +};
> +
> +struct iommu_flb_obj {
> + /* Protects the serialized state and the object sets */
> + struct mutex lock;
> + struct iommu_flb_ser *ser;
> +
> + struct iommu_ser_set iommu_set;
> + struct iommu_ser_set domain_set;
> + struct iommu_ser_set device_set;
> +};
> +
> +/*
> + * Restore a set of serialized objects from the previous kernel. The objects
> + * are read using the size recorded by the previous kernel in their header.
> + *
> + * Failure to restore preserved IOMMU state is considered fatal. This is
> + * because the IOMMU translations for preserved IOMMUs were kept enabled in the
> + * previous kernel and the preserved devices have their IOMMU domains still
> + * present. Not being able to restore means that the memory mapped into
> + * preserved domains might be already corrupted by the preserved devices.
> + */
> +static void iommu_ser_set_restore(struct iommu_ser_set *set, u64 head_pa)
> +{
> + size_t entry_size = sizeof(struct iommu_hdr_ser);
> +
> + if (head_pa) {
> + struct kho_block_header_ser *block = phys_to_virt(head_pa);
> + struct iommu_hdr_ser *hdr = (void *)(block + 1);
> +
> + entry_size = hdr->size;
> + }
> +
> + if (entry_size < sizeof(struct iommu_hdr_ser) ||
> + entry_size > KHO_BLOCK_SIZE - sizeof(struct kho_block_header_ser))
> + goto err_fatal;
> +
With the callers passing sizeof(struct iommu_domain_ser) etc. Or, if
every layout change is supposed to bump IOMMU_LUO_FLB_VERSION (see the
comment on the ABI doc below), simply require that entry_size matches
sizeof() of the struct.
> + kho_block_set_init(&set->bs, entry_size);
> + if (kho_block_set_restore(&set->bs, head_pa))
> + goto err_fatal;
> +
> + return;
> +
> +err_fatal:
> + panic("Failed to restore IOMMU Live Update FLB\n");
> +}
> +
> +static void iommu_liveupdate_flb_free(struct iommu_flb_obj *obj)
> +{
> + kho_block_set_destroy(&obj->domain_set.bs);
> + kho_block_set_destroy(&obj->device_set.bs);
> + kho_block_set_destroy(&obj->iommu_set.bs);
> +
> + kho_unpreserve_free(obj->ser);
> + mutex_destroy(&obj->lock);
> + kfree(obj);
> +}
> +
[...]
> +static void iommu_liveupdate_flb_finish(struct liveupdate_flb_op_args *argp)
> +{
> + struct iommu_flb_obj *obj = argp->obj;
> +
> + kho_block_set_destroy(&obj->domain_set.bs);
> + kho_block_set_destroy(&obj->device_set.bs);
> + kho_block_set_destroy(&obj->iommu_set.bs);
> +
> + folio_put(virt_to_folio(obj->ser));
> + mutex_destroy(&obj->lock);
> + kfree(obj);
> +}
Nit: these two differ only in how ser is released. Could they share a
common helper?
> +
> +static int iommu_liveupdate_flb_retrieve(struct liveupdate_flb_op_args *argp)
> +{
> + struct iommu_flb_obj *obj;
> + struct iommu_flb_ser *ser;
> +
> + obj = kzalloc_obj(*obj, GFP_KERNEL);
> + if (!obj) {
> + /*
> + * If retrieve fails, the finish path won't be called as
> + * can_finish() will fail, preventing the restore.
> + */
> + return -ENOMEM;
> + }
> +
> + /* Data must be present and valid from the previous kernel */
> + if (!kho_restore_folio(argp->data))
> + panic("Failed to restore IOMMU Live Update FLB\n");
> +
> + ser = phys_to_virt(argp->data);
> +
> + /*
> + * FLB version mismatch is considered fatal for security reasons for
> + * now. Check it before restoring the arrays, as their layout depends
> + * on the version.
> + */
> + if (ser->version != IOMMU_LUO_FLB_VERSION)
> + panic("Incoming IOMMU FLB version (v%llu) is incompatible with this kernel (v%d)\n",
> + ser->version, IOMMU_LUO_FLB_VERSION);
> +
> + mutex_init(&obj->lock);
> + obj->ser = ser;
> +
> + iommu_ser_set_restore(&obj->domain_set, ser->domain_block_phys);
> + iommu_ser_set_restore(&obj->device_set, ser->device_block_phys);
> + iommu_ser_set_restore(&obj->iommu_set, ser->iommu_block_phys);
> + argp->obj = obj;
> + return 0;
> +}
> +
> +static struct liveupdate_flb_ops iommu_flb_ops = {
> + .preserve = iommu_liveupdate_flb_preserve,
> + .unpreserve = iommu_liveupdate_flb_unpreserve,
> + .retrieve = iommu_liveupdate_flb_retrieve,
> + .finish = iommu_liveupdate_flb_finish,
> +};
> +
> +static struct liveupdate_flb iommu_flb = {
> + .compatible = IOMMU_LUO_FLB_COMPATIBLE,
> + .ops = &iommu_flb_ops,
> +};
> +
> +/**
> + * iommu_liveupdate_register_flb() - Register IOMMU Live Update FLB
> + * @handler: Live Update file handler to associate FLB with
> + *
> + * Register a Live Update FLB for IOMMU state preservation with the file
> + * handler.
> + *
> + * Return: 0 on success, or negative error code.
> + */
> +int iommu_liveupdate_register_flb(struct liveupdate_file_handler *handler)
> +{
> + return liveupdate_register_flb(handler, &iommu_flb);
> +}
> +EXPORT_SYMBOL_GPL(iommu_liveupdate_register_flb);
> +
> +/**
> + * iommu_liveupdate_unregister_flb() - Unregister IOMMU Live Update FLB
> + * @handler: Live Update file handler to associate FLB with
> + */
> +void iommu_liveupdate_unregister_flb(struct liveupdate_file_handler *handler)
> +{
> + liveupdate_unregister_flb(handler, &iommu_flb);
> +}
> +EXPORT_SYMBOL_GPL(iommu_liveupdate_unregister_flb);
> diff --git a/include/linux/iommu-liveupdate.h b/include/linux/iommu-liveupdate.h
> new file mode 100644
> index 000000000000..4755ab3cd67a
> --- /dev/null
> +++ b/include/linux/iommu-liveupdate.h
> @@ -0,0 +1,28 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +
> +/*
> + * Copyright (C) 2026, Google LLC
> + * Author: Samiullah Khawaja <skhawaja@google.com>
> + */
> +
> +#ifndef _LINUX_IOMMU_LIVEUPDATE_H
> +#define _LINUX_IOMMU_LIVEUPDATE_H
> +
> +#include <linux/iommu.h>
> +#include <linux/liveupdate.h>
> +#include <linux/kho/abi/iommu.h>
> +
> +#ifdef CONFIG_IOMMU_LIVEUPDATE
> +int iommu_liveupdate_register_flb(struct liveupdate_file_handler *handler);
> +void iommu_liveupdate_unregister_flb(struct liveupdate_file_handler *handler);
> +#else
> +static inline int iommu_liveupdate_register_flb(struct liveupdate_file_handler *handler)
> +{
> + return 0;
> +}
> +
> +static inline void iommu_liveupdate_unregister_flb(struct liveupdate_file_handler *handler)
> +{
> +}
> +#endif
> +#endif /* _LINUX_IOMMU_LIVEUPDATE_H */
> diff --git a/include/linux/kho/abi/iommu.h b/include/linux/kho/abi/iommu.h
> new file mode 100644
> index 000000000000..a36b498941b0
> --- /dev/null
> +++ b/include/linux/kho/abi/iommu.h
> @@ -0,0 +1,190 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +
> +/*
> + * Copyright (C) 2026, Google LLC
> + * Author: Samiullah Khawaja <skhawaja@google.com>
> + */
> +
> +#ifndef _LINUX_KHO_ABI_IOMMU_H
> +#define _LINUX_KHO_ABI_IOMMU_H
> +
> +#include <linux/mutex_types.h>
Nit: This seems to be unused now? Can we remove this?
> +#include <linux/bits.h>
> +#include <linux/compiler.h>
> +#include <linux/kho/abi/block.h>
> +#include <linux/types.h>
> +
> +/**
> + * DOC: IOMMU File-Lifecycle Bound (FLB) Live Update ABI
> + *
> + * This header defines the ABI for preserving IOMMU state across kexec using
> + * Live Update File-Lifecycle Bound (FLB) data.
> + *
> + * This interface is a contract. Any modification to any of the serialization
> + * structs defined here constitutes a breaking change. Such changes require
> + * incrementing the version number in IOMMU_LUO_FLB_VERSION.
> + *
> + * Memory Layout of Serialization Structures:
> + * ==========================================
> + *
> + * Each serialized type (IOMMU, Domain, Device) is stored in a set of KHO
> + * serialization blocks (see include/linux/kho/abi/block.h). Each block starts
> + * with a struct kho_block_header_ser, followed by the serialized objects of
> + * the respective type. Blocks are linked through the next field of the header.
> + *
These two paragraphs seem to contradict each other. If every change to
the structs bumps IOMMU_LUO_FLB_VERSION, and retrieve panics on a
version mismatch, then two kernels that successfully hand over state
always have identical layouts. The object size can then never change,
and hdr.size (and hdr.features) carry no information.
If instead size/features are meant to allow compatible changes (e.g.
appending a field) without a version bump, the restore side needs to
handle that: require entry_size >= sizeof() of the struct being read
(see iommu_ser_set_restore() above) and reject unknown feature bits
(see below).
Let's clarify the policy and update the doc accordingly?
> + * Top Level (struct iommu_flb_ser):
> + * +---------------------------+
> + * | - iommu_block_phys |
> + * | - domain_block_phys |
> + * | - device_block_phys |
> + * +---------------------------+
> + *
> + * For example see below the representation of the domain blocks.
> + *
> + * +---------------------------+ +---------------------------+
> + * | kho_block_header_ser |-->| kho_block_header_ser |--> NULL
> + * | - next | | - next |
> + * | - count | | - count |
> + * | | | |
> + * | [ iommu_domain_ser ] | | [ iommu_domain_ser ] |
> + * | [ iommu_domain_ser ] | | [ iommu_domain_ser ] |
> + * | ... | | ... |
> + * +---------------------------+ +---------------------------+
> + *
> + * Each object in a block starts with a common header (iommu_hdr_ser). The
> + * size in the header is the size of each object in the block, so the next
> + * kernel can read the objects even if their size has changed.
> + * For example, the layout of struct iommu_domain_ser is:
> + *
> + * +-----------------------------+
> + * | iommu_domain_ser |
> + * | +-------------------------+ |
> + * | | hdr (iommu_hdr_ser) | |
> + * | | - ref_count | |
> + * | | - deleted / incoming | |
> + * | +-------------------------+ |
> + * | - top_table_phys | |
> + * | - top_level | |
> + * | - restored_domain | |
> + * +-----------------------------+
> + *
This diagram seems to be out of date now, for e.g. hdr_ser now has
ref_count, flags, size, features AND iommu_domain_ser also has
max_vasz_lg2 and sign_extend which are missing from the diagram.
> + * This pattern applies identically to iommu_device_ser and iommu_hw_ser.
> + */
> +
> +#define IOMMU_LUO_FLB_COMPATIBLE "iommu-liveupdate"
> +#define IOMMU_LUO_FLB_VERSION 1
> +
> +/**
> + * enum iommu_type_ser - Type of the IOMMU being preserved
> + * @IOMMU_SER_TYPE_INVALID: Invalid type of IOMMU
> + *
> + * IOMMU type is stored in the IOMMU HW state to differentiate between various
> + * IOMMU HWs.
> + */
> +enum iommu_type_ser {
> + IOMMU_SER_TYPE_INVALID,
> +};
> +
> +#define IOMMU_SER_FLAG_DELETED BIT(0)
> +#define IOMMU_SER_FLAG_INCOMING BIT(1)
> +
> +/**
> + * struct iommu_hdr_ser - Common header for all serialized IOMMU objects
> + * @ref_count: Reference count for the object
> + * @flags: Bitmask of IOMMU_SER_FLAG_* flags indicating object state
> + * @size: Size of the serialized object
> + * @features: Bitmask of object specific features used by the preserved state
> + */
> +struct iommu_hdr_ser {
> + u32 ref_count;
> + u32 flags;
> + u32 size;
> + u32 features;
> +} __packed;
> +
I'm wondering if we should reject unknown feature bits on restore?
IIUC, features (along with size and reserved) was added in v6 to manage
compatibility, but it's always written as 0 and never checked on
restore (same for the driver specific features fields later in the
series). If a feature bit can be added later without bumping
IOMMU_LUO_FLB_VERSION, a kernel that doesn't know about it (e.g. after
a rollback to this kernel) would silently restore the state without
it, unless it rejects unknown bits from the start.
Also, this looks like a per-object version of the generic KHO feature
header being worked on in [1] (struct kho_ser_hdr, which rejects
unknown required features), and also records the entry size in the
KHO block header. Would it make sense to move to that once it lands,
rather than carrying a separate size/features scheme in the IOMMU ABI?
Alternatively, we could cross that bridge when we get to it..
> +/**
> + * struct iommu_domain_ser - Serialized state of an IOMMU domain
> + * @hdr: Common object header
> + * @top_table_phys: Physical address of the top-level page table
> + * @top_level: Level of the top-level page table
> + * @max_vasz_lg2: Maximum number of bits the VA can contain
> + * @sign_extend: FEAT_SIGN_EXTEND is enabled for this domain
> + * @padding: Padding
> + * @restored_domain: Pointer to the restored domain (valid only after restore)
> + */
> +struct iommu_domain_ser {
> + struct iommu_hdr_ser hdr;
> + u64 top_table_phys;
> + u64 top_level;
> + u32 max_vasz_lg2;
> + u8 sign_extend;
> + u8 padding[3];
> + struct iommu_domain *restored_domain;
> +} __packed;
> +
> +/**
> + * struct iommu_attachment_ser - Serialized attachment between device and domain.
> + * @attachment_id: ID of the attachment between device and domain.
> + * @domain_phys: Physical address of the domain
> + * @pasid: PASID of the attachment
> + * @padding: Padding
> + */
> +struct iommu_attachment_ser {
> + u64 attachment_id;
> + u64 domain_phys;
> + u32 pasid;
> + u32 padding;
> +} __packed;
> +
> +/**
> + * struct iommu_device_ser - Serialized state of a device
> + * @hdr: Common object header
> + * @devid: Device ID
> + * @pci_domain_nr: PCI domain number
> + * @dma_owner_token: Token to identify the DMA owner of this device
> + * @iommu_phys: Physical address of the serialized IOMMU the device is behind
> + * @attachment: Attachment of the device to its domain
> + * @reserved: Reserved for future common fields.
> + */
> +struct iommu_device_ser {
> + struct iommu_hdr_ser hdr;
> + u32 devid;
> + u32 pci_domain_nr;
> + u64 dma_owner_token;
> + u64 iommu_phys;
> + struct iommu_attachment_ser attachment;
> + u64 reserved[2];
> +} __packed;
> +
> +/**
> + * struct iommu_hw_ser - Serialized state of an IOMMU instance
> + * @hdr: Common object header
> + * @token: Unique token to identify the IOMMU instance
> + * @type: IOMMU type serialized state belongs to
> + * @reserved: Reserved for future common fields.
> + */
> +struct iommu_hw_ser {
> + struct iommu_hdr_ser hdr;
> + u64 token;
> + u64 type;
> + u64 reserved[2];
> +} __packed;
> +
> +/**
> + * struct iommu_flb_ser - Top-level serialization structure
> + * @version: Version of the serialized data, IOMMU_LUO_FLB_VERSION
> + * @iommu_block_phys: Physical address of the first KHO block of IOMMU HWs, or
> + * 0 if none
> + * @domain_block_phys: Physical address of the first KHO block of domains, or
> + * 0 if none
> + * @device_block_phys: Physical address of the first KHO block of devices, or 0
> + * if none
> + */
> +struct iommu_flb_ser {
> + u64 version;
> + u64 iommu_block_phys;
> + u64 domain_block_phys;
> + u64 device_block_phys;
> +} __packed;
> +
> +#endif /* _LINUX_KHO_ABI_IOMMU_H */
> --
Apart from those nits:
Reviewed-by: Pranjal Shrivastava <praan@google.com>
Thanks,
Praan
[1] https://lore.kernel.org/all/20261110050202.529473-1-tarunsahu@google.com/
next prev parent reply other threads:[~2026-11-30 18:40 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 4:49 [PATCH v8 00/18] iommu: Add live update state preservation Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 01/18] liveupdate: Export symbols needed by modules Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 02/18] iommu: Implement IOMMU Live update FLB callbacks Samiullah Khawaja
2026-11-30 10:28 ` Ankit Soni
2026-11-30 18:40 ` Pranjal Shrivastava [this message]
2026-11-30 18:47 ` Pranjal Shrivastava
2026-11-23 4:49 ` [PATCH v8 03/18] iommu/pages: Add APIs to preserve/unpreserve/restore iommu pages Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 04/18] iommupt: Implement preserve/unpreserve/restore callbacks Samiullah Khawaja
2026-11-30 17:06 ` Dongli Zhang
2026-11-23 4:49 ` [PATCH v8 05/18] iommu: Implement IOMMU domain preservation Samiullah Khawaja
2026-11-24 5:23 ` Ankit Soni
2026-11-24 17:40 ` Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 06/18] iommu: Implement device and IOMMU HW preservation Samiullah Khawaja
2026-11-24 4:29 ` Ankit Soni
2026-11-24 17:40 ` Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 07/18] iommu/vt-d: Implement device and iommu preserve/unpreserve ops Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 08/18] iommu/vt-d: Clear unpreserved context entries during shutdown Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 09/18] iommu: Add APIs to get iommu and device restored state Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 10/18] iommu/vt-d: Combine disable_dmar_iommu() and free_dmar_iommu() Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 11/18] iommu/vt-d: Restore IOMMU state and reclaimed domain ids Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 12/18] iommu/vt-d: Preserve PASID table of preserved device Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 13/18] iommu: Restore and reattach preserved domains to devices Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 14/18] iommu/vt-d: Handle reattach of the restored domain Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 15/18] iommufd: Implement ioctl to mark HWPT for preservation Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 16/18] iommufd: Persist iommu hardware pagetables for live update Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 17/18] iommufd: Add APIs to preserve/unpreserve a vfio cdev Samiullah Khawaja
2026-11-23 4:49 ` [PATCH v8 18/18] iommufd/selftest: Add test to verify iommufd preservation Samiullah Khawaja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aw3DAewDOvnhTHmB@google.com \
--to=praan@google.com \
--cc=Ankit.Soni@amd.com \
--cc=akpm@linux-foundation.org \
--cc=alex@shazbot.org \
--cc=baolu.lu@linux.intel.com \
--cc=dev@jstarks.net \
--cc=dmatlack@google.com \
--cc=dwmw2@infradead.org \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=kevin.tian@intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolinc@nvidia.com \
--cc=pasha.tatashin@soleen.com \
--cc=pratyush@kernel.org \
--cc=robin.murphy@arm.com \
--cc=shuah@kernel.org \
--cc=skhawaja@google.com \
--cc=vipinsh@google.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®