From: Jan Kiszka <jan.kiszka@domain.hid>
To: adeos-main <adeos-main@gna.org>
Cc: Philippe Gerum <rpm@xenomai.org>
Subject: [Adeos-main] [PATCH 2/4] x86_64: fix TRACE_IRQS_OFF regression
Date: Wed, 26 Dec 2007 16:37:58 +0100 [thread overview]
Message-ID: <47727556.4090201@domain.hid> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 124 bytes --]
We need to save rax across the IRQ exit tracing, as it carries
information about how to return from interrupt.
Jan
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: fix-irqtrace-thunk-x86_64.patch --]
[-- Type: text/x-patch; name="fix-irqtrace-thunk-x86_64.patch", Size: 583 bytes --]
---
arch/x86_64/kernel/entry.S | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6.23.12-xeno_64/arch/x86_64/kernel/entry.S
===================================================================
--- linux-2.6.23.12-xeno_64.orig/arch/x86_64/kernel/entry.S
+++ linux-2.6.23.12-xeno_64/arch/x86_64/kernel/entry.S
@@ -567,10 +567,12 @@ END(stub_rt_sigreturn)
popq %rbp
pushq %rbp
+ pushq %rax
movq 8-ARGOFFSET+ORIG_RAX(%rbp), %rdi
leaq 8-ARGOFFSET+RIP-8(%rbp), %rbp
notq %rdi
call ipipe_trace_end
+ popq %rax
popq %rbp
pushq %rbp
#else
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next reply other threads:[~2007-12-26 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-26 15:37 Jan Kiszka [this message]
2007-12-26 21:47 ` [Adeos-main] [PATCH 2/4] x86_64: fix TRACE_IRQS_OFF regression Philippe Gerum
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=47727556.4090201@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=adeos-main@gna.org \
--cc=rpm@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.