Re: [PATCH v3 10/23] iommufd/viommu: Introduce IOMMUFD_OBJ_VQUEUE and its related struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/2/2025 4:31 AM, Nicolin Chen wrote:
> Add a new IOMMUFD_OBJ_VQUEUE with an iommufd_vqueue structure representing
> a HW-accelerated queue type of physical IOMMU's passed to a user space VM.
> This vQUEUE object, is a subset of vIOMMU resources of a physical IOMMU's,
> such as:
>  - NVIDIA's Virtual Command Queue
>  - AMD vIOMMU's Command Buffer, Event Log Buffer, and PPR Log Buffer
> 
> Introduce a struct iommufd_vqueue and an allocator iommufd_vqueue_alloc().
> Also, add a pair of viommu ops for iommufd to forward user space ioctls to
> IOMMU drivers.
> 
> Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Reviewed-by: Pranjal Shrivastava <praan@xxxxxxxxxx>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>


Reviewed-by: Vasant Hegde <vasant.hegde@xxxxxxx>

-Vasant






[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux