RE: [PATCH v5 13/29] iommufd/viommu: Introduce IOMMUFD_OBJ_HW_QUEUE and its related struct

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

 



> From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> Sent: Sunday, May 18, 2025 11:22 AM
> 
> +
> +enum iommufd_viommu_flags {
> +	/*
> +	 * The HW does not go through an address translation table but
> reads the
> +	 * physical address space directly: iommufd core should pin the
> physical
> +	 * pages backing the queue memory that's allocated for the HW
> QUEUE, and
> +	 * ensure those physical pages are contiguous in the physical space.
> +	 */
> +	IOMMUFD_VIOMMU_FLAG_HW_QUEUE_READS_PA = 1 << 0,
> +};

The queue itself doesn't read an address.

What about 'QUEUE_BASE_PA'?

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>





[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