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] [PATCH] fix wrong insertion of TLB entry in region

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] fix wrong insertion of TLB entry in region 0
From: tgingold@xxxxxxx
Date: Mon, 01 Oct 2007 13:30:23 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Oct 2007 03:31:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7k7im7dz13.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <7k7im7dz13.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting Kouya Shimura <kouya@xxxxxxxxxxxxxx>:

> On PV domain with metaphysical mode, emulation of itc.d in region 0
> doesn't work well and inserts an wrong TC entry.
> Because set_one_rr() doesn't set the machine region register.
> i.e. metaphyisical_rr0 is used instead of guest's rr[0].
>
> This bug causes Dom0/U crash when an application uses region 0.
> Actually I met the crash when I was building open GFW (java uses
> region 0).

I am a little bit puzzled.  Isn't saved_rr0 supposed to be the mangled version
of rr[0] ?  Either this patch should be a no-op or the bug is somewhere else
(or I am wrong).

Tristan.

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