From: tip-bot for Mark Wielaard <mjw@redhat.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
jbeulich@suse.com, mjw@redhat.com, tglx@linutronix.de,
mingo@elte.hu
Subject: [tip:x86/debug] x86-64: Fix CFI data for common_interrupt()
Date: Mon, 27 Feb 2012 04:08:23 -0800 [thread overview]
Message-ID: <tip-928282e432ee584129a39da831ffa72c38e189b7@git.kernel.org> (raw)
In-Reply-To: <1330079527-30711-1-git-send-email-mjw@redhat.com>
Commit-ID: 928282e432ee584129a39da831ffa72c38e189b7
Gitweb: http://git.kernel.org/tip/928282e432ee584129a39da831ffa72c38e189b7
Author: Mark Wielaard <mjw@redhat.com>
AuthorDate: Fri, 24 Feb 2012 11:32:05 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 27 Feb 2012 10:46:14 +0100
x86-64: Fix CFI data for common_interrupt()
Commit eab9e6137f23 ("x86-64: Fix CFI data for interrupt frames")
introduced a DW_CFA_def_cfa_expression in the SAVE_ARGS_IRQ
macro. To later define the CFA using a simple register+offset
rule both register and offset need to be supplied. Just using
CFI_DEF_CFA_REGISTER leaves the offset undefined. So use
CFI_DEF_CFA with reg+off explicitly at the end of
common_interrupt.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/1330079527-30711-1-git-send-email-mjw@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/entry_64.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index 3fe8239..54be36b 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -813,7 +813,7 @@ ret_from_intr:
/* Restore saved previous stack */
popq %rsi
- CFI_DEF_CFA_REGISTER rsi
+ CFI_DEF_CFA rsi,SS+8-RBP /* reg/off reset after def_cfa_expr */
leaq ARGOFFSET-RBP(%rsi), %rsp
CFI_DEF_CFA_REGISTER rsp
CFI_ADJUST_CFA_OFFSET RBP-ARGOFFSET
prev parent reply other threads:[~2012-02-27 12:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 14:06 [PATCH] x86-64: Fix CFI data for common_interrupt Mark Wielaard
2012-02-21 14:26 ` Jan Beulich
2012-02-21 14:43 ` Mark Wielaard
2012-02-21 15:26 ` Jan Beulich
2012-02-21 22:08 ` Mark Wielaard
2012-02-22 8:05 ` Jan Beulich
2012-02-24 9:49 ` Jan Beulich
2012-02-24 10:32 ` Mark J. Wielaard
2012-02-27 12:08 ` tip-bot for Mark Wielaard [this message]
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=tip-928282e432ee584129a39da831ffa72c38e189b7@git.kernel.org \
--to=mjw@redhat.com \
--cc=hpa@zytor.com \
--cc=jbeulich@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/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