From: Bob Montgomery <bob.montgomery@hp.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] Can't unwind through dispatch_illegal_op_fault
Date: Thu, 31 Mar 2005 20:17:34 +0000 [thread overview]
Message-ID: <1112300254.498.198.camel@localhost.localdomain> (raw)
Tony,
Here is the patch worked out with David Mosberger to fix the unwind info
for dispatch_illegal_op_fault in ivt.S. Before adding this patch, an
illegal op in the kernel would not show a complete stack trace in the
oops message.
Add PT_REGS_UNWIND_INFO to dispatch_illegal_op_fault to allow stack
unwind to continue through that stack level when kernel code commits an
illegal operation.
Signed-off-by: Bob Montgomery <bob.montgomery@hp.com>
--- linux-2.6.11.2/arch/ia64/kernel/ivt.S 2005-03-30 14:52:53.291418136 -0700
+++ linux-2.6.11.2-bobm/arch/ia64/kernel/ivt.S 2005-03-30 14:03:29.687938816 -0700
@@ -957,6 +957,8 @@ END(ia64_syscall_setup)
* element, followed by the arguments.
*/
ENTRY(dispatch_illegal_op_fault)
+ .prologue
+ .body
SAVE_MIN_WITH_COVER
ssm psr.ic | PSR_DEFAULT_BITS
;;
@@ -969,6 +971,7 @@ ENTRY(dispatch_illegal_op_fault)
mov out0=ar.ec
;;
SAVE_REST
+ PT_REGS_UNWIND_INFO(0)
;;
br.call.sptk.many rp=ia64_illegal_op_fault
.ret0: ;;
--
Bob Montgomery <bob.montgomery@hp.com>
reply other threads:[~2005-03-31 20:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1112300254.498.198.camel@localhost.localdomain \
--to=bob.montgomery@hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox