From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v4 22/33] xen/passthrough: arm: release the DT devices assigned to a guest earlier Date: Tue, 31 Mar 2015 12:16:02 +0100 Message-ID: <1427800562.2115.77.camel@citrix.com> References: <1426793399-6283-1-git-send-email-julien.grall@linaro.org> <1426793399-6283-23-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Ycu9S-0008QW-0V for xen-devel@lists.xenproject.org; Tue, 31 Mar 2015 11:16:10 +0000 In-Reply-To: <1426793399-6283-23-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, Jan Beulich , tim@xen.org, Robert VanVossen , stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2015-03-19 at 19:29 +0000, Julien Grall wrote: > The toolstack may not have deassigned every device used by a guest. > Therefore we have to go through the device list and remove them before > asking the IOMMU drivers to release memory for this domain. > > This can be done by moving the call to the release function when we > relinquish the resources. The IOMMU part will be destroyed later when > the domain is freed. > > Signed-off-by: Julien Grall > Signed-off-by: Robert VanVossen > Acked-by: Jan Beulich Acked-by: Ian Campbell