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 0/5] VT-d support for PV guests

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx>, "Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/5] VT-d support for PV guests
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 21 May 2008 13:57:42 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 May 2008 22:58:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F024D92E4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <18481.58026.284129.700801@xxxxxxxxxxxxxxxxxx><C4583ED4.18C1B%keir.fraser@xxxxxxxxxxxxx><18482.43836.546105.964056@xxxxxxxxxxxxxxxxxx><DD74FBB8EE28D441903D56487861CD9D2EBE0017@xxxxxxxxxxxxxxxxxxxxxx><18482.56286.735593.611302@xxxxxxxxxxxxxxxxxx><DD74FBB8EE28D441903D56487861CD9D2EBE052B@xxxxxxxxxxxxxxxxxxxxxx><D470B4E54465E3469E2ABBC5AFAC390F024D92DD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx><DD74FBB8EE28D441903D56487861CD9D2EC9E093@xxxxxxxxxxxxxxxxxxxxxx><D470B4E54465E3469E2ABBC5AFAC390F024D92E3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx><DD74FBB8EE28D441903D56487861CD9D2EC9E0B3@xxxxxxxxxxxxxxxxxxxxxx> <D470B4E54465E3469E2ABBC5AFAC390F024D92E4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci6g3hUxhZrPrFkQBC7vi1rbgSYSAACfeIQABLbWwAACYrWsAAAWI8QAACihvAAAFxA4AAAxRIw
Thread-topic: [Xen-devel] [PATCH 0/5] VT-d support for PV guests
>From: Tian, Kevin
>Sent: 2008年5月21日 13:56
>
>>From: Ian Pratt [mailto:Ian.Pratt@xxxxxxxxxxxxx] 
>>Sent: 2008年5月21日 13:32
>>
>>The IOMMU TLB doesn't cache not_present entries, hence you 
>>don't need to
>>do a flush when transitioning an entry from not_present to 
>>present. Some
>>IOMMUs will also re-walk the pagetable if they find a TLB 
>entry that is
>>read-only and the operation is a write, but I can't recall whether VTd
>>is like this.
>
>You're right, though VT-d spec defines a capability bit to indicate
>whether VT-d may cache non-present entry or not. In reality it
>doesn't make sense to do that.
>
>For promotion from non-present to present, then no flush is required.
>But for promotion from read-only to read-write, I guess flush has to
>be forced. Not sure whether currently such grant entry exists to
>switch RO/RW permission on demand.

Forgot above, I'm just talking exact same thing as you already pointed
out. :-P

Thanks,
Kevin

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