From: David Howells <dhowells@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: dhowells@redhat.com, Mathieu Poirier <mathieu.poirier@linaro.org>,
Dave Airlie <airlied@gmail.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
arve@android.com, kernel-team@android.com,
John Stultz <john.stultz@linaro.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Russell King <rmk+kernel@arm.linux.org.uk>
Subject: Re: [PATCH v4] drivers/tty: Folding Android's keyreset driver in sysRQ
Date: Wed, 27 Feb 2013 18:26:18 +0000 [thread overview]
Message-ID: <8629.1361989578@warthog.procyon.org.uk> (raw)
In-Reply-To: <CA+55aFyGr5J2nPwgbX9U_6WPnwnQ6t2AKpnoxrEqerM5Yv+WqA@mail.gmail.com>
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> > Your fix is compiling, running and yielding the correct results -
> > apologies about that.
> >
> > Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
>
> Ok, good. Committed and pushed out. Adding rmk and dhowells to the cc
> just to let them know, since Dave said they were debugging this on
> irc.
Seems reasonable to me. After dissecting stuff this morning, we noted that
the code dump in the oops shows that the MOV insn that gets the value to test
does not load 0.
The first five bytes of:
ba 00 00 40 ff | 31 c0 | 8b 1d 0c 0e a0
correspond to this:
mov $0xff400000,%edx
when the linker should've made it this:
mov $0x00000000,%edx
I suspect that the number may be some metadata reference that didn't get
substituted.
Dave Airlie tried disassembling his vmlinux with gdb - and that apparently did
show a load of 0, but the EIP in his oops doesn't match the addresses from
gdb's disassembly - so I'm not sure what's happening there.
In the oops, the %cr2 value was 0xff400000, but the offending instruction
bytes of the actual faulting instruction in the code dump were cropped by his
photo of the screen.
David
next prev parent reply other threads:[~2013-02-27 18:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-11 20:24 [PATCH v4] drivers/tty: Folding Android's keyreset driver in sysRQ mathieu.poirier
2012-11-19 7:25 ` Dmitry Torokhov
[not found] ` <CAPM=9tw8mefcYTqELXFbZWZ44a--SNcPnRMAvMSGTiODzRpDhg@mail.gmail.com>
2013-02-27 8:26 ` Dave Airlie
2013-02-27 11:06 ` Dave Airlie
2013-02-27 11:10 ` Dave Airlie
2013-02-27 11:40 ` Dave Airlie
2013-02-27 16:57 ` Linus Torvalds
2013-02-27 17:58 ` Mathieu Poirier
2013-02-27 18:09 ` Linus Torvalds
2013-02-27 18:26 ` David Howells [this message]
2013-02-27 18:49 ` Dmitry Torokhov
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=8629.1361989578@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=airlied@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arve@android.com \
--cc=dmitry.torokhov@gmail.com \
--cc=john.stultz@linaro.org \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=rmk+kernel@arm.linux.org.uk \
--cc=torvalds@linux-foundation.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.