Re: [PATCH v3 5/6] dpaa_eth: fix iova handling for contiguous frames
From: Christoph Hellwig
Date: Fri May 31 2019 - 12:36:14 EST
On Thu, May 30, 2019 at 05:19:50PM +0300, laurentiu.tudor@xxxxxxx wrote:
> +static phys_addr_t dpaa_iova_to_phys(const struct dpaa_priv *priv,
> + dma_addr_t addr)
> +{
> + return priv->domain ? iommu_iova_to_phys(priv->domain, addr) : addr;
> +}
Again, a driver using the iommu API must not call iommu_* APIs.
This chane is not acceptable.