Re: [PATCH 9/9] iommu/amd: Add allocated domain to global list earlier

From: Christoph Hellwig
Date: Mon Apr 15 2019 - 02:23:24 EST


On Thu, Apr 11, 2019 at 07:47:38PM +0100, Tom Murphy via iommu wrote:
> dma_ops_domain_free() expects domain to be in a global list.
> Arguably, could be called before protection_domain_init().
>
> Signed-off-by: Dmitry Safonov <dima@xxxxxxxxxx>
> Signed-off-by: Tom Murphy <tmurphy@xxxxxxxxxx>

This seems like a fix to the existing code and should probably go
out first.