WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Remove physmap page upon granttab xfer

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Remove physmap page upon granttab xfer
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 28 May 2008 11:39:16 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 May 2008 03:39:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080528102821.GH29174%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjArxOOUgI2LiyiEd2wkAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Remove physmap page upon granttab xfer
User-agent: Microsoft-Entourage/11.4.0.080122
On 28/5/08 11:28, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx> wrote:

> Although I know that grant table page transfer is obsoleted,
> what is the expected exact semantics of GNTTABOP_transfer with
> the p2m/m2p table?
> 
> I suppose the right fix would be
> - revert this patch and
> - put the iommu opration of pv domain into MMU_MACHPHYS_UPDATE.

After the grant transfer operation completes the page no longer belongs to
the backend domain. Thus, for absolute safety and isolation, the page must
be removed from the backend domain's IOMMU mappings before completion of the
grant transfer operation. Actually we should be flushing host CPU TLBs too.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel