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

[Xen-devel] [PATCH] HVM/ASID: enable flush-by-ASID for HVM

To: "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: [Xen-devel] [PATCH] HVM/ASID: enable flush-by-ASID for HVM
From: Wei Huang <wei.huang2@xxxxxxx>
Date: Wed, 18 May 2011 12:37:42 -0500
Cc:
Delivery-date: Wed, 18 May 2011 10:41:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
Hi Keir and Tim,

The attached file enables flush-by-ASID for HVM. The patch mainly touches asid.c file to minimize the impacts on other HVM components. We also keep ASID interface intact by adding core_id as part of ASID comparison. Please refer to the patch description for design details.

This version was tested on real hardware successfully. Please review it.

Thanks,
-Wei

arch/x86/hvm/asid.c | 55 ++++++++++++++++++++++++++++++++----------
 arch/x86/hvm/svm/asid.c       |   24 ++++++++++++++----
 arch/x86/hvm/svm/svm.c        |    6 ++--
 arch/x86/hvm/vmx/vmcs.c       |    1
 arch/x86/hvm/vmx/vmx.c        |    2 -
 include/asm-x86/hvm/asid.h    |   14 +++++++++-
 include/asm-x86/hvm/svm/svm.h |    1
 include/asm-x86/hvm/vcpu.h    |    1
 8 files changed, 81 insertions(+), 23 deletions(-)


Attachment: asid.txt
Description: asid.txt

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>