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] [Resend]Enable hash vtlb

To: "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] [Resend]Enable hash vtlb
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Mon, 10 Apr 2006 09:09:57 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 09 Apr 2006 18:10:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcZb7LKRaAmGEKFMQ4+7xaLF1hxY/gATd4cQ
Thread-topic: [Xen-ia64-devel] [PATCH] [Resend]Enable hash vtlb
Hi Alex,
Sorry for not clear.
You need to apply three patches I sent before applying this one.
They are,
1. get_pfn_list workaround.
2. warning fix
3. access reflect fix
I attach these three patches.


Thanks,
-Anthony 

>-----Original Message-----
>From: Alex Williamson [mailto:alex.williamson@xxxxxx]
>Sent: 2006?4?9? 23:45
>To: Xu, Anthony
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-ia64-devel] [PATCH] [Resend]Enable hash vtlb
>
>Hi Anthony,
>
>   There are a few new warnings in the xen build with this patch, but
>most importantly, my system fails to boot with this patch applied.  I've
>attached boot logs both with and without this patch.  As you can see
>there are a bunch of general exceptions reflected to dom0 as soon as
>init is launched.  Thanks,
>
>       Alex
>
>--
>Alex Williamson                             HP Linux & Open Source Lab
--- Begin Message ---
To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] get_pfn_list workaround
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Sat, 8 Apr 2006 02:05:10 +0800
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
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: AcZabc8ml5mwuKNSR7e9oRE2XYgyIA==
Thread-topic: [Xen-ia64-devel] [PATCH] get_pfn_list workaround
As we know, the mechanism for hypervisor to pass parameter through pointer
 is not complete. Hypervisor use copy_from/to_user functions to copy parameter
to hypervisor and copy result to user, if there is a tlb miss happening and 
hypervisor can't handled this. This hypercall fails, there is no mechanism to 
handle this failure, that may cause domain crash. Get_pfn_list hypercall copy
large data from hypervisor to user, it is easy to trigger this issue when 
creating VTI-domain.

If fails, Get_pfn_list returns the number of pfn entries, and this patch will 
Dummy access parameter memory block to cause this tlb mapping tracked by 
Hypervisor, then continue to do get_pfn_list.

It's a workaround before we design a new mechanism of passing parameter thr
pointer.

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
.
Thanks,
-Anthony 

Attachment: get_pfn_list.diff
Description: get_pfn_list.diff

Attachment: ATT938097.txt
Description: ATT938097.txt


--- End Message ---
--- Begin Message ---
To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] warning fix
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Sat, 8 Apr 2006 02:37:17 +0800
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
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: AcZackwQ1i9Aug9ITZu/FGXbgMmg5g==
Thread-topic: [Xen-ia64-devel] [PATCH] warning fix
Fixed some compilation warnings.


Thanks,
-Anthony 

Attachment: warning_fix.diff
Description: warning_fix.diff

Attachment: ATT938326.txt
Description: ATT938326.txt


--- End Message ---
--- Begin Message ---
To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] access reflect fix
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Sat, 8 Apr 2006 02:43:59 +0800
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
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: AcZaczt7pDettHNORUOvEk/iuRym7Q==
Thread-topic: [Xen-ia64-devel] [PATCH] access reflect fix
Before injecting fault to guest, VMM need to setup
guest itir by using guest region register.
But the lowest two bits of itir are reserved. VMM need
to reset these two bits.

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>

Thanks,
-Anthony 

Attachment: access_reflect.diff
Description: access_reflect.diff

Attachment: ATT938378.txt
Description: ATT938378.txt


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