From: Tim Deegan Subject: Re: RE: [PATCH] [RFC] VT-d: always clean up dpci timers. Date: Mon, 25 Jul 2011 16:04:35 +0100 Message-ID: <20110725150435.GE8970@whitby.uk.xensource.com> References: <20110725142120.GD8970@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" , "Kay, Allen M" List-Id: xen-devel@lists.xenproject.org At 15:47 +0100 on 25 Jul (1311608879), Keir Fraser wrote: > On 25/07/2011 15:21, "Tim Deegan" wrote: > > >> Could we make need_iommu(d) sticky? Being able to clear it doesn't seem an > >> important case (such a domain is probably being torn down anyway) and > >> clearly it can lead to fragility. The fact that presumably we'd end up doing > >> unnecessary IOMMU PT work for the remaining lifetime of the domain doesn't > >> seem a major downside to me. > > > > If you prefer it that way. TBH I think I prefer the other way though: > > things that gate on need_iommu() should be cleaned up by > > iommu->teardown(). > > Is your original patch still proposed as a valid alternative to this one? Yes; I prefer the original. Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)