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-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] IA64: quieten PV fp fault/trap handler.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jan 2009 06:57:53 -0800
Delivery-date: Thu, 08 Jan 2009 07:03:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] IA64: quieten PV fp fault/trap handler., Xen patchbot-unstable <=