From: Tim Deegan Subject: Re: [PATCH v2 1/5] IOMMU: make page table population preemptible Date: Fri, 13 Dec 2013 15:16:23 +0100 Message-ID: <20131213141623.GC57692@deinos.phlegethon.org> References: <52A744B7020000780010BEF1@nat28.tlf.novell.com> <52A74539020000780010BF1F@nat28.tlf.novell.com> <52A8B1A5.9040302@citrix.com> <52AB20DB020000780010D060@nat28.tlf.novell.com> 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 1VrTXZ-0004ej-Bm for xen-devel@lists.xenproject.org; Fri, 13 Dec 2013 14:16:29 +0000 Content-Disposition: inline In-Reply-To: <52AB20DB020000780010D060@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: George Dunlap , xen-devel , Keir Fraser , xiantao.zhang@intel.com, Andrew Cooper List-Id: xen-devel@lists.xenproject.org At 13:59 +0000 on 13 Dec (1386939579), Jan Beulich wrote: > Since this can take an arbitrary amount of time, the rooting domctl as > well as all involved code must become aware of this requiring a > continuation. > > The subject domain's rel_mem_list is being (ab)used for this, in a way > similar to and compatible with broken page offlining. > > Further, operations get slightly re-ordered in assign_device(): IOMMU > page tables now get set up _before_ the first device gets assigned, at > once closing a small timing window in which the guest may already see > the device but wouldn't be able to access it. > > Signed-off-by: Jan Beulich Acked-by: Tim Deegan