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

Tristan Gingold writes:
 > >   - Location of PGD.
 > >     A page(swapper_pg_dir) pointed from init_mm.pgd seems to be never
 > >     used. So I use this page as PGD for virtual frame_table. If
 > >     someone uses this page, please tell me.
 > 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.

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