[PATCH v1 08/16] iommufd/viommu: Introduce IOMMUFD_OBJ_VCMDQ and its related struct

Nicolin Chen nicolinc at nvidia.com
Mon Apr 21 08:38:26 PDT 2025


On Mon, Apr 21, 2025 at 08:03:01AM +0000, Tian, Kevin wrote:
> > From: Nicolin Chen <nicolinc at nvidia.com>
> > Sent: Friday, April 11, 2025 2:38 PM
> > 
> > Add a new IOMMUFD_OBJ_VCMDQ with an iommufd_vcmdq structure,
> > representing
> > a command queue type of physical HW passed to or shared with a user
> > space
> > VM. 
> 
> what is the implication of "or shared with"? Do you intend to support
> an usage in which a CMDQ is coordinated by both guest and host (which
> sounds insane)?

No. It should have been removed. Was for "vQUEUE" previously for
a potential wider use case. Will fix this.

Thanks
Nicolin



More information about the linux-arm-kernel mailing list