RE: [PATCH v5 04/11] iommu/vt-d: Add helper to setup pasid nested translation

From: Tian, Kevin
Date: Mon Oct 16 2023 - 04:30:52 EST


> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> Sent: Friday, October 13, 2023 8:40 PM
>
> >> + *
> >> + * This is used for nested translation based vIOMMU. e.g. guest IOVA and
> >> + * guest shared virtual address. In this case, the first-level page tables
> >> + * are used for GVA/GIOVA-GPA translation in the guest, the second-level
> >> + * page tables are used for GPA-HPA translation.
> >
> > No need to mention guest or vIOMMU. Just stick to the fact of
> > nested configuration.
>
> how about below?
>
> * This is used for nested translation. The input domain should be
> * nested type and nested on a parent with 'is_nested_parent' flag
> * set.

* This is used for nested translation. The input domain should be
* the nested type with the parent having 'is_nested_parent' flag set.