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] tlb miss handler

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-ia64-devel] [PATCH] tlb miss handler
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Thu, 26 Jan 2006 15:31:25 +0100
Delivery-date: Thu, 26 Jan 2006 13:36:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060126125915.GC4354@xxxxxxxxxxxxx>
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: <20060126125915.GC4354@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Jeudi 26 Janvier 2006 13:59, Isaku Yamahata a écrit :
> This patch is not for commit.  But for review, commnets.
>
> Current itlb/dtlb miss handlers don't handle a tlb miss
> in xen/ia64 identity mapping area.
> Such a miss might occur because xen/ia64 enables vhpt walker
> even for region 7. (Please see set_one_rr())
> I haven't encountered it yet, I'm guessing so from reading code.
>
> Vti itlb/dtlb miss handlers do it by checking psr.vm bits.
> This patch is not so optimized for review,
> but it should be done later.
Quiet interesting because I have just worked a little bit in this area.

My comments:
itlb miss must not occur, since Xen is mapped with a itm.
dtlb miss should not occur for the same reason, but they occur at least during 
start-up while Xen reads bootparams and EFI.  This is done before enabling 
VHPT.

So i/d tlb miss in Xen should crash (and invoke debugger you have added).

BTW, I think the size of the identity mapped region should be shrinked in 
order to enabled virtual memory in Xen.  This will be necessary for virtual 
mem map.  That's the point I have looked.

Things are easy now, but could change due to NUMA or sparse memory!

Tristan.


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

<Prev in Thread] Current Thread [Next in Thread>