RE: [PATCH v4 12/12] iommu/vt-d: Disallow nesting on domains with read-only mappings

From: Tian, Kevin
Date: Thu Aug 03 2023 - 00:01:12 EST


> From: Baolu Lu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Thursday, August 3, 2023 11:27 AM
>
> On 2023/8/2 15:59, Tian, Kevin wrote:
> >> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> >> Sent: Monday, July 24, 2023 7:14 PM
> >>
> >> + u8 read_only_mapped:1; /* domain has mappings with
> >> read-only
> >> + * permission.
> >> + */
> >> + u8 set_nested:1; /* has other domains nested on it */
> >
> > what about "is_parent"?
>
> "is_parent" is still a bit generic. How about "is_nested_parent"?
>

looks good.