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] XEN_HYPER_ITC_D and XEN_HYPER_ITC_I in vhpt_miss

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>, "Dietmar Hahn" <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] XEN_HYPER_ITC_D and XEN_HYPER_ITC_I in vhpt_miss
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Tue, 23 May 2006 16:26:02 +0200
Delivery-date: Tue, 23 May 2006 07:21:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5B61402@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <516F50407E01324991DD6D07B0531AD5B61402@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Mardi 23 Mai 2006 16:04, Magenheimer, Dan (HP Labs Fort Collins) a écrit :
> > Le Mardi 23 Mai 2006 13:53, Dietmar Hahn a écrit :
> > > Hi,
> > >
> > > while I was trying to understand the trap handler in
> > > linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S
> > > I saw the lines 205 ff:
> > >
> > > #ifdef CONFIG_XEN
> > >   mov r24=r8
> > >   mov r8=r18
> > >   ;;
> > > (p10)     XEN_HYPER_ITC_D
> > >   ;;
> > > (p11)     XEN_HYPER_ITC_I
> > >   ;;
> > >   mov r8=r24
> > >   ;;
> > > #else
> > > (p10)     itc.i r18                               //
> >
> > insert the instruction TLB entry
> >
> > > (p11)     itc.d r18                               //
> >
> > insert the data TLB entry
> >
> > > #endif
> > >
> > > May it be that XEN_HYPER_ITC_D and XEN_HYPER_ITC_I are in
> >
> > the reverse
> >
> > > order?
> >
> > Good catch.
> >
> > Feel free to send a patch.
>
> Does this code ever get executed?  The VHPT is pinned by
> a TR, correct?
For sure it is strange we never hit this bug ;-)

Tristan.

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