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-ia64-devel

RE: [Xen-ia64-devel] RE: [PATCH] Patch to make latesthgmulti-domainback

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] RE: [PATCH] Patch to make latesthgmulti-domainback to work
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Thu, 8 Sep 2005 21:01:22 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 Sep 2005 03:58:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWvySFLppJ+ILkHRKOQH/MX6thvfgEH6v3wABtDOHAAAcMDgAAeqRQAAAEH+PAAAsa6oAABwX8AAACYQYAAABkFEAAALEbA
Thread-topic: [Xen-ia64-devel] RE: [PATCH] Patch to make latesthgmulti-domainback to work
> >>The problem (PL2 vs PL0) still occurs even with
> >>that code turned off.
> >
> >When you disable FAST_PTC_GA, it then goes to vcpu_ptc_ga which still
> >only handle vcpu->arch.dtlb, without touching vcpu->arch.dtlb_pte. In
> >this case, once match_dtlb begins to return guest pte in my patch, it
> >may contain stale value since dtlb_pte is not handled in vcpu_ptc_ga.
> >
> 
> So what I really mean here is that you should purge dtlb_pte/itlb_pte
> (guest pte entry) in vcpu_ptc_ga and hyper_ptc_ga.

I'm not sure I understand.  arch.dtlb_pte is just some data associated
with arch.dtlb.  It gets set whenever arch.dtlb gets set and it
only gets used if arch.dtlb matches and is valid.  IIRC, its only
use is to save away the metaphysical address so vcpu_tpa (and IIRC,
indirectly, vcpu_fc?) is guaranteed to be able to find it. So what
do you mean by "purge dtlb_pte"?

Some more information... when the bug occurs, trp->page_flags and
vcpu->arch.dtlb_pte always seem to be identical except for the upper
PL bit.  That's what I would expect for domain0, but it does
indicate that dtlb_pte doesn't have some stale value.

Good night!
Dan

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

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