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] Add hardware CR8 acceleration for TPRaccessing

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>, "Petersson, Mats" <Mats.Petersson@xxxxxxx>, "Betak, Travis" <travis.betak@xxxxxxx>
Subject: RE: [Xen-devel] [Patch] Add hardware CR8 acceleration for TPRaccessing
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Tue, 24 Oct 2006 18:09:15 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Oct 2006 03:09:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: Acb2poaTahW5y1OoRpGOMqtXL3GS/wAp2u8wAAD9/gAAAGjjAAAAMoTg
Thread-topic: [Xen-devel] [Patch] Add hardware CR8 acceleration for TPRaccessing
Thanks for your advice. 
I will re-organize the patch.

Thanks
 -- Dexuan

-----Original Message-----
From: Li, Xin B 
Sent: 2006年10月24日 18:08
To: Petersson, Mats; Cui, Dexuan; Betak, Travis
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] [Patch] Add hardware CR8 acceleration for TPRaccessing

 >> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
>> Cui, Dexuan
>> Sent: 24 October 2006 10:35
>> To: Betak, Travis
>> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Subject: RE: [Xen-devel] [Patch] Add hardware CR8 
>> acceleration for TPR accessing
>> 
>> Hi, Travis,
>> Is there anything in SVM similar to TPP-threshold in VMX?
>> If no, I really need to find a better place for the 
>> vlapic_update_tpr_threshold().
>
>I don't think that's the question/statement: any code in hvm 
>directory should be guaranteed to be callable by both Intel 
>and AMD code. The code you've just added makes direct use of 
>the vmwrite instruction, which there isn't a corresponding 
>instruction for in AMD processors. 

Sure, it's a guideline.


>
>[Whether it makes sense to call it for an AMD processor is a 
>completely different question - it's the principle that the 
>code in the hvm directory should be "architecture independent"]. 
>
>You may need to implement another function-pointer in the hvm 
>structure to be able to do this... 

I think the point here is, how much we can share the common code, if we can get 
more common idea on this topic between VMX and SVM, the code could be cleaner 
:-)

-Xin

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

<Prev in Thread] Current Thread [Next in Thread>