Re: [PATCH v1 3/4] iommu: Unpublish the old attach handle before the group replace callback
From: Jason Gunthorpe
Date: Fri Oct 30 2026 - 11:24:51 EST
On Fri, Oct 30, 2026 at 04:22:11PM +0800, Yi Liu wrote:
> > I called using either the old or new translation OK, using neither
> > seems suboptimal. So returning IOMMU_PAGE_RESP_INVALID doesn't sound
> > ideal..
>
> I see. maybe we can have a interim state for the replace window. This
> state responds PageRequests with success for the device. The device
> shall retry DMA and re-trigger PageRequests again. Once the replacement
> is done, PageRequests should be forwarded to the correct domain and get
> resolved.
Yeah, maybe we can drop in a dummy domain that does that somehow..
But that seems like another series after this
Jason