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

Joerg Roedel joro at 8bytes.org
Tue Mar 31 06:18:34 PDT 2015


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 at arm.com>

Thanks a lot!


	Joerg




More information about the Linux-rockchip mailing list