Thread (77 messages) 77 messages, 5 authors, 2025-06-26

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

From: "Tian, Kevin" <kevin.tian@intel.com>
Date: 2025-06-25 03:43:11
Also in: linux-doc, linux-iommu, linux-kselftest, linux-patches, linux-tegra, lkml

From: Nicolin Chen <redacted>
Sent: Monday, June 16, 2025 2:47 PM
quoted
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. 😊
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help