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

Yu Zhang
2025-02-13T17:03:51Z

On Thu, Feb 13, 2025 at 09:46:01AM +0000, Jean-Philippe Brucker wrote:
> Hi Jacob,
>
> On Wed, Feb 12, 2025 at 09:47:23PM -0800, Jacob Pan wrote:
> > Our code and backend support are still in the early stages, that is why
> > I am attempting to convert virtio-iommu driver to iommu_pt. Not sure if
> > anyone has done the QEMU part to support VIRTIO_IOMMU_F_ATTACH_TABLE?
> > @Jean @Eric Do you know?
>
> As far as I know Tina worked on this most recently:
> https://github.com/TinaZhangZW/qemu/commits/virtio-iommu/vt-d-pgtable/
> https://lore.kernel.org/all/20231106071226.9656-1-tina.zhang@intel.com/

Thanks a lot for this information, Jean.
IIUC, these patches were trying to add VT-d IO page table support in
virtio-iommu, but it is not based on Jason's generic PT [1]. Just wondering,
does anyone have plan to do the incorporation?

[1] https://lore.kernel.org/all/0-v1-01fa10580981+1d-iommu_pt_jgg@nvidia.com/

B.R.
Yu