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

[Xen-ia64-devel] [PATCH 13/23] vti domain save/restore: add unwind direc

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 13/23] vti domain save/restore: add unwind directive to break fault handler
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Fri, 12 Oct 2007 12:51:36 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Delivery-date: Thu, 11 Oct 2007 20:52:48 -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
User-agent: Mutt/1.4.2.1i
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1191996859 -32400
# Node ID 8e9fa4c7fe15fabd4a67e1f822134af6bebfed6c
# Parent  551fb6d7048179dcc8c5daca7350998f99e6577e
add unwind directove to fast_hypercall path.
While fast_hypercall path calls function (hypercall, do_softirq()) and
might be blocked, it doesn't have unwind infomation.
So stack unwinding fails. Add necessary unwind directive.
PATCHNAME: add_unwind_directive_to_fast_hypercall

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 551fb6d70481 -r 8e9fa4c7fe15 xen/arch/ia64/xen/ivt.S
--- a/xen/arch/ia64/xen/ivt.S   Wed Oct 10 15:11:43 2007 +0900
+++ b/xen/arch/ia64/xen/ivt.S   Wed Oct 10 15:14:19 2007 +0900
@@ -458,6 +458,7 @@ END(daccess_bit)
 //////////////////////////////////////////////////////////////////////////
 // 0x2c00 Entry 11 (size 64 bundles) Break instruction (33)
 ENTRY(break_fault)
+       .body
        /*
         * The streamlined system call entry/exit paths only save/restore 
         * the initial part of pt_regs.  This implies that the callers of
@@ -657,6 +658,7 @@ 1:
        bsw.1                                   // B (6 cyc) regs are saved, 
switch to bank 1
        ;;
 
+       PT_REGS_UNWIND_INFO(0)
        ssm psr.ic | PSR_DEFAULT_BITS           // M2   now it's safe to 
re-enable intr.-collection
 //     movl r3=ia64_ret_from_syscall           // X
        ;;

Attachment: 16061_8e9fa4c7fe15_add_unwind_directive_to_fast_hypercall.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH 13/23] vti domain save/restore: add unwind directive to break fault handler, Isaku Yamahata <=