[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] IA64: quieten PV fp fault/trap handler.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1229046219 -32400
# Node ID e97216802360bc7936523d2166698added5b8f54
# Parent  09c467481a44ad6c95c0b34faf6db4d986b5fc28
IA64: quieten PV fp fault/trap handler.

Now fp fault/trap is handled correctly except the case fpswa
returns error. So quieten the handler.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/faults.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff -r 09c467481a44 -r e97216802360 xen/arch/ia64/xen/faults.c
--- a/xen/arch/ia64/xen/faults.c        Fri Dec 12 10:36:23 2008 +0900
+++ b/xen/arch/ia64/xen/faults.c        Fri Dec 12 10:43:39 2008 +0900
@@ -349,8 +349,9 @@ handle_fpu_swa(int fp_fault, struct pt_r
 
        if (ret.status) {
                PSCBX(current, fpswa_ret) = ret;
-               printk("%s(%s): fp_emulate() returned %ld\n",
-                      __FUNCTION__, fp_fault ? "fault" : "trap", ret.status);
+               gdprintk(XENLOG_ERR, "%s(%s): fp_emulate() returned %ld\n",
+                        __FUNCTION__, fp_fault ? "fault" : "trap",
+                        ret.status);
        }
 
        return ret.status;
@@ -695,14 +696,12 @@ ia64_handle_reflection(unsigned long ifa
                        vcpu_increment_iip(v);
                        return;
                }
-               printk("ia64_handle_reflection: handling FP fault\n");
                vector = IA64_FP_FAULT_VECTOR;
                break;
        case 33:
                status = handle_fpu_swa(0, regs, isr);
                if (!status)
                        return;
-               printk("ia64_handle_reflection: handling FP trap\n");
                vector = IA64_FP_TRAP_VECTOR;
                break;
        case 34:

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.