From: Joerg Roedel Date: Thu, 26 Mar 2015 12:43:04 +0000 (+0100) Subject: iommu: Introduce domain_alloc and domain_free iommu_ops X-Git-Tag: omap-for-v4.1/fixes-rc1~83^2^6~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938c470976192590b4adc921b2e10fa31237eddc;p=pandora-kernel.git iommu: Introduce domain_alloc and domain_free iommu_ops These new call-backs defer the allocation and destruction of 'struct iommu_domain' to the iommu driver. This allows drivers to embed this struct into their private domain structures and to get rid of the domain_init and domain_destroy call-backs when all drivers have been converted. Tested-by: Thierry Reding Tested-by: Heiko Stuebner Reviewed-by: Alex Williamson Acked-by: Will Deacon Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed