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-changelog

[Xen-changelog] [xen-unstable] [IA64] Bug fix new_tlbflush_clock_period(

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Bug fix new_tlbflush_clock_period()
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Feb 2007 09:40:42 -0800
Delivery-date: Fri, 09 Feb 2007 10:21:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1170613734 25200
# Node ID a1017acc857858dc2226bc7420ae9337943ca41e
# Parent  0df9dc2f1d034ece72e9d726527702ba219a2881
[IA64] Bug fix new_tlbflush_clock_period()

__vhpt_flush() might be called from new_tlbflush_clock_period()
even if the vcpu doesn't have the per-vcpu-vhpt.
It erases 64KB memory content that starts from machine address 0.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/flushtlb.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 0df9dc2f1d03 -r a1017acc8578 xen/arch/ia64/xen/flushtlb.c
--- a/xen/arch/ia64/xen/flushtlb.c      Thu Feb 01 13:54:26 2007 -0700
+++ b/xen/arch/ia64/xen/flushtlb.c      Sun Feb 04 11:28:54 2007 -0700
@@ -88,6 +88,8 @@ new_tlbflush_clock_period(void)
     smp_mb();
     for_each_domain(d) {
         for_each_vcpu(d, v) {
+            if (!test_bit(_VCPUF_initialised, &v->vcpu_flags) || VMX_DOMAIN(v))
+                continue;
             if (HAS_PERVCPU_VHPT(v->domain))
                 vcpu_vhpt_flush(v);
         }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Bug fix new_tlbflush_clock_period(), Xen patchbot-unstable <=