Re: [PATCH 1/2] iommu/vt-d: Don't queue_iova() if there is no flush queue

From: Joerg Roedel
Date: Tue Jul 23 2019 - 04:17:44 EST


On Tue, Jul 16, 2019 at 10:38:05PM +0100, Dmitry Safonov wrote:

> @@ -235,6 +236,11 @@ static inline void init_iova_domain(struct iova_domain *iovad,
> {
> }
>
> +bool has_iova_flush_queue(struct iova_domain *iovad)
> +{
> + return false;
> +}
> +

This needs to be 'static inline', I queued a patch on-top of my fixes
branch.

Regards,

Joerg