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

[Xen-ia64-devel] [PATCH 13/23] vti domain save/restore: add unwind directive to break fault handler



# 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

 


Rackspace

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