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>
Subject: RE: [Xen-ia64-devel] [PATCH] tlb miss handler
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 21 Feb 2006 10:51:06 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Feb 2006 03:04:08 +0000
Envelope-to: www-data@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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY2iW5xpwPMjZn3QVa1i5IyWfb54AABvN8A
Thread-topic: [Xen-ia64-devel] [PATCH] tlb miss handler
>From: Isaku Yamahata [mailto:yamahata@xxxxxxxxxxxxx]
>Sent: 2006年2月21日 9:48
>
>
>On Mon, Feb 20, 2006 at 11:35:02PM +0800, Tian, Kevin wrote:
>> - "alt itlb miss by a guest must be handled"
>>      Dom0 runs from the very start with vhpt enabled in all regions. There 
>> should be
>no alt itlb miss raised from dom0.
>
>I thought that dom0 alt itlb miss was intentional because of
>the explicit region register initial values.
>It is inconsistent that only dom0 boot time is special.
>I agree that it is reasonable to modify dom0 start up environment.

Yes current initial rr7 is set with vhpt disabled when dom0 starts to run, 
however this region 7 won't be touched since dom0 is still in metaphysical mode 
and then only region 0/4 is the case there. When dom0 wants to switch to 
virtual mode, move_to_rr will finally falls into set_one_rr and then all 
regions will have vhpt enabled. So even under this case, alt_itlb_miss won't 
happen from dom0.

I think we should modify the initial setting to have all regions vhpt enabled, 
though nothing affected compared to current behavior.

>
>
>>      * Why did you only handle cacheable (meant 0xf000....) area by identity 
>> mapping,
>whole leaving uncacheable (meant 0xe8000...) area to page_fault? That would low
>down the performance a lot.
>
>Misses on the uncacheable area is handled.
>page_fault() and ia64_do_page_fault() doesn't handle misses on the area.
>If it wasn't handled by dltb miss handler, misses on the area would result
>in dtlb miss/rfi infinite loop.
>

Yes, you're right. This patch is definitely necessary for correctness, and need 
consideration for incorporation after some render.

Thanks,
Kevin

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

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