[PATCH v2 02/19] iommufd/viommu: Add IOMMUFD_OBJ_VIOMMU and IOMMU_VIOMMU_ALLOC ioctl

Nicolin Chen nicolinc at nvidia.com
Thu Sep 5 11:04:06 PDT 2024


On Thu, Sep 05, 2024 at 02:41:00PM -0300, Jason Gunthorpe wrote:

> > > > + * @out_viommu_id: Output virtual IOMMU ID for the allocated object
> > > > + *
> > > > + * Allocate a virtual IOMMU object that holds a (shared) nesting parent HWPT
> > > 
> > > Allocate a virtual IOMMU object that represents the underlying
> > > physical IOMMU's virtualization support. The vIOMMU object is a
> > > security isolated slice of the physical IOMMU HW that is unique to a
> > > specific VM. Operations global to the IOMMU are connected to the
> > > vIOMMU, such as:
> > >   - Security namespace for guest owned ID, eg guest controlled cache tags
> > >   - Virtualization of various platforms IDs like RIDs and others
> > >   - direct assigned invalidation queues
> > >   - direct assigned interrupts
> > >   - non-affiliated event reporting
> > >   - Delivery of paravirtualized invalidation
> > 
> > Ack.
> 
> Also write something about the HWPT..

Assuming it's about sharing parent HWPT, ack.

Nicolin



More information about the linux-arm-kernel mailing list