Re: [PATCH 00/16 v2] iommu: Move domain allocation into drivers

From: Joerg Roedel
Date: Tue Mar 31 2015 - 09:18:44 EST


Hi Will,

On Mon, Mar 30, 2015 at 06:43:15PM +0100, Will Deacon wrote:
> Whilst I'm still a bit worried about the ability of the IOMMU driver to do
> very much in the ->domain_alloc callback (since we don't know which IOMMU
> instance the domain is for), it doesn't leave us any worse off than we
> currently are.

The IOMMU driver should just allocate the data-structures for a domain
in the domain_alloc call-back. It should not be necessary to care about
any relations of the domain with specific iommu instances.

> So, for the arm-smmu patch and the core IOMMU changes:
>
> Acked-by: Will Deacon <will.deacon@xxxxxxx>

Thanks a lot!


Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/