[Xen-ia64-devel] [PATCH 0/5] fix fpswa and related issues.

2008-12-09 Thread Isaku Yamahata
Hi. This patch series addresses the bug reported as http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392 Please test it. It includes some clean ups and a reimplementation of fpswa hypercall. When fp fault/trap occurs, xen vmm tries to get a bundle in question from guest virtual address spa

[Xen-ia64-devel] [PATCH 1/5] use symbolic constant instead of magic number

2008-12-09 Thread Isaku Yamahata
IA64: use symbolic constant for hypercall. define symbolic names for hypercall number and use them. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --git a/xen/arch/ia64/xen/dom_fw_asm.S b/xen/arch/ia64/xen/dom_fw_asm.S --- a/xen/arch/ia64/xen/dom_fw_asm.S +++ b/xen/arch/ia64/xen/dom_fw_a

[Xen-ia64-devel] [PATCH 4/5] fix fp fault/trap handler

2008-12-09 Thread Isaku Yamahata
IA64: fix fp fault/trap handler. This patch is a part of fixes to bug reported as http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392 When fpswa handler fails to get a bundle in guest, fp fault/trap should be injected into the guest and let a guest to handle it. When the fpswa library ret

[Xen-ia64-devel] [PATCH 2/5] improve handle_fpu_swa()

2008-12-09 Thread Isaku Yamahata
IA64: improve handle_fpu_swa() It tries to get a bundle in guest. Make it more robust using vmx_get_domain_bundle() instead of __get_domain_bundle(). Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --git a/xen/arch/ia64/xen/faults.c b/xen/arch/ia64/xen/faults.c --- a/xen/arch/ia64/xen/fau

[Xen-ia64-devel] [PATCH 5/5] fix efi_emulate_set_virtual_address_map()

2008-12-09 Thread Isaku Yamahata
IA64: fix efi_emulate_set_virtual_address_map() get_page() before touching guest pages. Otherwise pages may be freed during those operations. Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]> diff --git a/xen/arch/ia64/xen/fw_emul.c b/xen/arch/ia64/xen/fw_emul.c --- a/xen/arch/ia64/xen/fw_emul.c

[Xen-ia64-devel] [PATCH 3/5] fix fp emulation

2008-12-09 Thread Isaku Yamahata
IA64: fix emulation of fp emulation in pv domain This patch is a part of fixes to bug reported as http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392 When vmm fails to get a bundle in a question during fpswa processing, there is no way, but a guest provides the bundle. On the other hand t

RE: [Xen-ia64-devel] [Test Report] Xen/IPF Unstable CS#18860 Status --- Dom0 Crash

2008-12-09 Thread You, Yongkang
On Monday, December 08, 2008 2:10 PM, "Isaku Yamahata" wrote: > On Mon, Dec 08, 2008 at 01:52:38PM +0800, Zhang, Jingke wrote: >> Isaku Yamahata wrote: >>> On Mon, Dec 08, 2008 at 11:31:15AM +0800, Zhang, Jingke wrote: Hi Isaku, We re-get the detail information from serial port, plea

[Xen-ia64-devel] Re: [PATCH 0/5] fix fpswa and related issues.

2008-12-09 Thread Alex Williamson
On Tue, 2008-12-09 at 18:29 +0900, Isaku Yamahata wrote: > Hi. This patch series addresses the bug reported as > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392 > Please test it. > > It includes some clean ups and a reimplementation of fpswa hypercall. > When fp fault/trap occurs, xen

[Xen-ia64-devel] RE: [PATCH 0/5] fix fpswa and related issues.

2008-12-09 Thread Zhang, Xiantao
Alex Williamson wrote: > On Tue, 2008-12-09 at 18:29 +0900, Isaku Yamahata wrote: >> Hi. This patch series addresses the bug reported as >> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392 >> Please test it. >> >> It includes some clean ups and a reimplementation of fpswa hypercall. >>

[Xen-ia64-devel] RE: [PATCH 0/5] fix fpswa and related issues.

2008-12-09 Thread Alex Williamson
On Wed, 2008-12-10 at 10:51 +0800, Zhang, Xiantao wrote: > > I've been testing this for a few hours today (over 25k iterations) > and > > it seems to fix the problem for me. Thanks! > > Hi, Alex > Have you verified vmx domain as well ? Good point, no I was just testing in dom0. Alex

Re: [Xen-ia64-devel] [Fwd: [Xen-bugs] [Bug 1392] New: Problems with denormalized floating point numbers on XEN-virtualized Linux/IA64]

2008-12-09 Thread Isaku Yamahata
On Sat, Dec 06, 2008 at 11:10:22AM +0800, Zhang, Xiantao wrote: > > If we fail to get a bundle in a guest when FP trap, > > we can't reexecute the instruction. We have to inject floating > > point trap into guest. > > For HVM, injecting it to guest should be the right way to go. Another issue.

Re: [Xen-ia64-devel] RE: [PATCH 0/5] fix fpswa and related issues.

2008-12-09 Thread Isaku Yamahata
On Tue, Dec 09, 2008 at 09:23:01PM -0700, Alex Williamson wrote: > On Wed, 2008-12-10 at 10:51 +0800, Zhang, Xiantao wrote: > > > I've been testing this for a few hours today (over 25k iterations) > > and > > > it seems to fix the problem for me. Thanks! > > > > Hi, Alex > > Have you ver

Re: [Xen-ia64-devel] [PATCH 0/5] fix fpswa and related issues.

2008-12-09 Thread Isaku Yamahata
On Tue, Dec 09, 2008 at 06:29:41PM +0900, Isaku Yamahata wrote: > > Hi. This patch series addresses the bug reported as > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392 > Please test it. > > It includes some clean ups and a reimplementation of fpswa hypercall. > When fp fault/trap oc