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] Strange problem with virtual aliases

To: Matthew Chapman <matthewc@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Strange problem with virtual aliases
From: Jürgen Groß <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Nov 2006 09:30:20 +0100
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Nov 2006 00:31:11 -0800
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=Wx5ndiFQtwDTAeaciCBGcVYXxyMMqwVuVbh57PwP6nHWepwEQFpyPwMpNFNNWNFlyuFJ3YWFGs8luPeSlpXIAF1b90yE+9T+T43zbBhtHvUewsMGMKIwW/dt/vGLNiqf;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061129081326.GA6479@xxxxxxxxxxxxxxx>
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>
Organization: Fujitsu Siemens Computers
References: <20061129081326.GA6479@xxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Icedove 1.5.0.8 (X11/20061116)
Hi,

Matthew Chapman wrote:
> Hi folks,
> 
> I have a curious Xen/ia64 problem which looks like it could be a bug.
> 
> I'm running my own small OS in DomU.  I've created two mappings which
> are supposed to be aliases; one is a large identity mapping, pinned
> through a translation register, the other maps a specific page:
> 
> itr.d dtr[r0]: 0x2000000000000000 -> 0 size 256M
>          (thus 0x2000000002500000 -> 0x2500000)
>         itc.d: 0x00000000fbdf7000 -> 0x2500000 size 4K

Just curious: you are using different regions for the translations. Are you
sure the region-registers are okay during your test?

> 
> tpa from inside the domain "proves" that the mappings are aliases:
> 
> tpa(0x2000000002500038) = 0x2500038
> tpa(0xfbdf7038) = 0x2500038
> 
> However reading the data shows they are not:
> 
> *(0x2000000002500038) = 0x2000000001
> *(0xfbdf7038) = 0
> 
> The real hardware TLB indeed has different physical addresses for the
> two pages:
> 
> #                     VA            PA     RID    KEY   PS MA  ATTR     PL 
> PERMS
> 14 V A   00000000fbdf7000 0000017309000 000008 000000   4K WB  p a d     2 
> rwrwrw--
> 69 V A   2000000002500000 0000017c00000 010008 000000   4K WB  p a d     2 
> rwrwrw--
>                           ^^^^^^^^^^^^^

Region-Ids are different here.
How did you obtain the TLB-entries?

Juergen

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