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

From: Tom Murphy
Date: Mon Apr 15 2019 - 14:06:51 EST


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

I'll send this patch out on it's own now.

On Mon, Apr 15, 2019 at 7:23 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> 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.