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

2025-03-03 Thread Jason Gunthorpe
On Mon, Mar 03, 2025 at 03:21:43PM +, Jean-Philippe Brucker wrote: > On Thu, Feb 27, 2025 at 08:20:01PM -0400, Jason Gunthorpe wrote: > > virtio has the complication that it sometimes wants to return a paging > > domain for IDENTITY which makes this conversion a little different than > > other

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

2025-03-03 Thread Jean-Philippe Brucker
On Thu, Feb 27, 2025 at 08:20:01PM -0400, Jason Gunthorpe wrote: > virtio has the complication that it sometimes wants to return a paging > domain for IDENTITY which makes this conversion a little different than > other drivers. > > Add a viommu_domain_alloc_paging() that combines viommu_domain_al