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][RFC]discontig memory support

To: "Kouya SHIMURA" <kouya@xxxxxxxxxxxxxx>, "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH][RFC]discontig memory support
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 4 Apr 2006 10:34:00 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Apr 2006 19:34:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcZXi8FWzEQn2FpCQvOzNsrea9sz/wAA1aHA
Thread-topic: [Xen-ia64-devel] [PATCH][RFC]discontig memory support
>From:Kouya SHIMURA
>Sent: 2006年4月4日 10:02
> > At least it is referenced.
> > You should remove these references and rename it.
>
>I know. swapper_pg_dir is referenced from vhpt_miss and
>nested_dtlb_miss in ivt.S.
>
>But the reference is obviously wrong. The code expects the physical
>address of swapper_pg_dir but the value is virtual. If these
>instructions are executed, an Unimplemented Data Address fault is
>raised.

In current xen/ia64 world, vhpt_miss and nested_dtlb_miss never happen 
and thus those paths are never executed in normal cases. However it's 
possible to enter those paths at some problematic environment, which 
may trigger more weird/nested faults. For example, one bug that people 
ever faced was that vhpt table was not TR mapped at context switch. So 
for safety, it's better for you to rename with a new one. And yes, vhpt_miss 
and nested_dtlb_miss handler needs to be cleared. Maybe with a simple 
panic loop there.

Thanks
Kevin

>
>Linux's ia64_patch_vtop() translates these virtual addresses to
>physical addreses on boot but Xen's ia64_patch_vtop() does nothing. :-<
>
>Anyway, I will rename it.
>
>Thanks,
>Kouya
>
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel

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