From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 00/16 v2] iommu: Move domain allocation into drivers Date: Tue, 31 Mar 2015 15:18:34 +0200 Message-ID: <20150331131834.GE4441@8bytes.org> References: <1427373799-18662-1-git-send-email-joro@8bytes.org> <20150330174315.GD15655@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20150330174315.GD15655@arm.com> Sender: linux-samsung-soc-owner@vger.kernel.org To: Will Deacon Cc: "iommu@lists.linux-foundation.org" , Kukjin Kim , David Woodhouse , Heiko Stuebner , Hiroshi Doyu , Stephen Warren , Thierry Reding , Alexandre Courbot , Alex Williamson , Arnd Bergmann , Yingjoe Chen , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , "linux-rockchip@lists.infradead.org" , "linux-tegra@vger.kernel.org" , "jroedel@suse.de" List-Id: linux-tegra@vger.kernel.org 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 Thanks a lot! Joerg