RE: [RFC PATCH 4/6] iommufd: Introduce data struct for AMD nested domain allocation

From: Tian, Kevin
Date: Fri Dec 15 2023 - 02:38:44 EST


> From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Sent: Wednesday, December 13, 2023 10:04 PM
>
> The viommu object should hold the GID. I'm not sure you need a GID
> right now (can you just issue invalidation on the physical side?), but
> if you do need GID to bridge until the viommu is ready it should
> probably be allocated by and stored in the nesting parent.
>

and how is GID different from existing Domain ID of nesting parent?