On Fri, Nov 07, 2025 at 12:49:38PM -0400, Jason Gunthorpe wrote:
Make another sub implementation of pfn_reader for DMABUF. This version will fill the batch using the struct phys_vec recorded during the attachment.
Signed-off-by: Jason Gunthorpe jgg@nvidia.com
Reviewed-by: Nicolin Chen nicolinc@nvidia.com
@@ -1687,6 +1737,12 @@ static void __iopt_area_unfill_domain(struct iopt_area *area, lockdep_assert_held(&pages->mutex);
- if (iopt_is_dmabuf(pages)) {
iopt_area_unmap_domain_range(area, domain, start_index,last_index);return;- }
Should it be: if (iopt_is_dmabuf(pages) && !iopt_dmabuf_revoked(pages)) { ?
Nicolin