Re: "Convert the AMD iommu driver to the dma-iommu api" is buggy

From: Joerg Roedel
Date: Wed Oct 16 2019 - 11:31:17 EST


Hi Qian,

thanks for the report!

On Wed, Oct 16, 2019 at 10:59:42AM -0400, Qian Cai wrote:
> On Wed, 2019-10-16 at 10:55 -0400, Qian Cai wrote:
> > Today's linux-next generates a lot of warnings on multiple servers during boot
> > due to the series "iommu/amd: Convert the AMD iommu driver to the dma-iommu api"
> > [1]. Reverted the whole things fixed them.
> >
> > [1] https://lore.kernel.org/lkml/20190908165642.22253-1-murphyt7@xxxxxx/
> >
>
> BTW, the previous x86 warning was from only reverted one patch "iommu: Add gfp
> parameter to iommu_ops::map" where proved to be insufficient. Now, pasting the
> correct warning.

I am looking into it and may send you fixes to test.

Thanks,

Joerg