On Mon, Feb 05, 2024 at 12:01:56PM +0000, James Gowans wrote: > Seeing as translations are pre-enabled, all devices will be set for > deferred attach. The deferred attached actually has to be done when > doing DMA mapping for devices to work. This shouldn't be part of your solution.. A DMA API using driver should never be attached to a device that is being persisted across a kexec. If it does then the device should be fully reset and re-attached to the normal DMA API iommu domain. You should be striving to have an iommu_domain to represent the special post-kexec translation regime. Jason