From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] HVM/ASID: enable flush-by-ASID for HVM Date: Thu, 19 May 2011 00:05:23 +0100 Message-ID: References: <4DD403E6.4050608@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DD403E6.4050608@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei Huang , "'xen-devel@lists.xensource.com'" , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org On 18/05/2011 18:37, "Wei Huang" wrote: > 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. I wouldn't want to spend my time on it before knowing: What's the performance win? -- Keir > 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(-) > >