Re: [PATCH v2 10/11] iommu/iova: Move flush queue code to iommu-dma

From: John Garry
Date: Tue Dec 14 2021 - 12:19:21 EST


On 10/12/2021 17:54, Robin Murphy wrote:
+ iovad->fq_domain = fq_domain;
+ iovad->fq = queue;
+
+ timer_setup(&iovad->fq_timer, fq_flush_timeout, 0);
+ atomic_set(&iovad->fq_timer_on, 0);
+
+ return 0;
+}
+
+

nit: a single blank line is standard, I think

Cheers

static inline size_t cookie_msi_granule(struct iommu_dma_cookie *cookie)
{