Re: [PATCH 01/17] iommu: Add new iommu op to create domains owned by userspace

From: Baolu Lu
Date: Fri Feb 10 2023 - 22:16:26 EST


On 2023/2/10 16:24, Tian, Kevin wrote:
From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
Sent: Thursday, February 9, 2023 12:32 PM

From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>

Introduce a new iommu_domain op to create domains owned by userspace,
e.g. through iommufd. These domains have a few different properties
compares to kernel owned domains:

- They may be MANAGED domains, but created with special parameters.
For instance aperture size changes/number of levels, different
IOPTE formats, or other things necessary to make a vIOMMU work


what is *MANAGED* domain?

today we only have the separation between DMA domain and
UNMANAGED domain.

soon with Jason's cleanup all domains are called UNMANAGED.

It should be UNMANAGED domain.

Best regards,
baolu