Re: [PATCH 3/5] iommu/virtio: Move to domain_alloc_paging()

Jason Gunthorpe
2025-02-12T23:30:57Z

On Wed, Feb 12, 2025 at 11:22:35AM -0800, Jacob Pan wrote:

> Do you foresee the implementation can leverage your generic iommu_pt
> work? i.e. for building guest IO page tables. It will add a new flavor
> (page table based in addition to map/unmap) to
> viommu_domain_alloc_paging() i think.

Yes I do, I think it should be no problem and it will bring the
missing x86 formats that are currently not available in iopgtbl
wrappers.

I'm working toward getting a cut back AMD only series ready to post,
the other series on the iommu-pages should be the last preperation
work.

Certainly I would be happy to help you get it implemented if that is
your interest.

Thanks,
Jason