Re: [PATCH v5 7/9] x86/hyperv: Implement Hyper-V virtual IOMMU

Mukesh R <[email protected]>
Newsgroups org.kernel.vger.linux-hyperv,dev.linux.lists.iommu,org.kernel.vger.linux-arch,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <[email protected]>
On 8/18/26 16:48, Jason Gunthorpe wrote:
> On Tue, Aug 18, 2026 at 04:39:32PM -0700, Mukesh R wrote:
> 
>> Thanks for the review. I know there is another set of patches for pvIOMMU
>> ongoing (both came from the same source) and you are probably repeating
>> things, and I appreciate your patience. I'll also try to look for your
>> comments in that patch series going forward.
> 
> Those patches look pretty good so you should try to copy their stuff
> :)
> 
> They ended up never calling detach, I hope you can do that too. Just

Unfortunately, my case is a bit different due to the "direct attach"
feature for guest VMs. When a device moves from say a paging domain to be
directly attached to a VM, today, it must first be detached. But since
that just moves to identity, I am discussing with hyp team if detach
is really required, and if we can get rid of it via just attaching to
identity/blocked first before doing the direct attach. Hopefully, it
can be done even if changes are needed in the hypervisor.

Thanks again,
-Mukesh

> always have a blocking or identity domain and just use it everywhere.
> 
> Since you can't predict what translation detach gives it should not
> be set on a device. release could be the only exception and only if
> you reall have to.
> 
> Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.