From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbbCaNSj (ORCPT ); Tue, 31 Mar 2015 09:18:39 -0400 Received: from 8bytes.org ([81.169.241.247]:32829 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbbCaNSg (ORCPT ); Tue, 31 Mar 2015 09:18:36 -0400 Date: Tue, 31 Mar 2015 15:18:34 +0200 From: Joerg Roedel 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" Subject: Re: [PATCH 00/16 v2] iommu: Move domain allocation into drivers 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 Content-Disposition: inline In-Reply-To: <20150330174315.GD15655@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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