[PATCH v6 10/25] iommufd/viommu: Add IOMMUFD_CMD_HW_QUEUE_ALLOC ioctl

Tian, Kevin kevin.tian at intel.com
Tue Jun 24 20:43:08 PDT 2025


> From: Nicolin Chen <nicolinc at nvidia.com>
> Sent: Monday, June 16, 2025 2:47 PM
> > Leave other logics to the patches that introduce
> > ops->hw_queue_init? I guess that would make this patch more readible.
> 
> The patch is doing in the way to support the hw_queue_init_phys
> case only. It is just adding some extra FIXMEs as the guideline
> for the future patch adding hw_queue_init op.
> 
> I personally don't feel these are confusing. Maybe you can help
> point out what specific wording feels odd here? Maybe "FIXME"s
> should be "TODO"s?
> 
> I could also drop all of these guideline if they are considered
> very unnecessary.
> 

Probably you can put some info in the function comment instead
of being scattered in the code? anyway when the 2nd method
is added in future we'll review and make sure it aligned with the
caveat here. 😊


More information about the linux-arm-kernel mailing list