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: Jürgen Groß <juergen.gross@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Strange problem with virtual aliases
From: Matthew Chapman <matthewc@xxxxxxxxxxxxxxx>
Date: Thu, 30 Nov 2006 00:20:00 +1100
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Nov 2006 05:20:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <456D451C.9080600@xxxxxxxxxxxxxxxxxxx>
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: <20061129081326.GA6479@xxxxxxxxxxxxxxx> <456D451C.9080600@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Wed, Nov 29, 2006 at 09:30:20AM +0100, Jürgen Groß wrote:
> 
> Just curious: you are using different regions for the translations. Are you
> sure the region-registers are okay during your test?

I was about to say yes, but then I checked them, and I had my preferred
page size wrong in region 0 (it was set to 16M from a previous
experiment).  Thank you, problem solved! :)

I think technically, it should be valid to insert mappings smaller than
the preferred page size.  But I guess currently Xen doesn't handle this
case correctly.

> > #                     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.

Yes, as they should be... the Region-Ids are tagging the virtual
addresses, not the physical addresses.  If the Region-Ids were the same,
then we would see the same virtual mappings through both region 0 and 1,
which is not what I want.

> How did you obtain the TLB-entries?

With a hardware debugger (JTAG).

Matt


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