linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Nathan_Lynch@mentor.com (Nathan Lynch)
To: linux-arm-kernel@lists.infradead.org
Subject: Crash on ARM: 8148/1 flush TLS and thumbee register
Date: Fri, 26 Sep 2014 16:27:41 -0500	[thread overview]
Message-ID: <5425DA4D.4040301@mentor.com> (raw)
In-Reply-To: <CAGhQ9VzyK3qW2pr-YOFywUS7=9RLDzrj6wOFFhnvyDkks_2VCA@mail.gmail.com>

Hi Joachim,

On 09/26/2014 03:57 PM, Joachim Eastwood wrote:
> Hi,
> 
> My Cortex-M4 noMMU platform crashes on 3.17-rc6 with fbfb872f5f417cea4
> "ARM: 8148/1: flush TLS and thumbee register state during exec".
> 
> Revering fbfb872f5f417cea4 makes it good as normal again.
> 
> The platform I am working on is a Thum only Cortex-M4 that is not upstream yet.
> 
> Boot log of crash:
> [ 6.100000] clk: Not disabling unused clocks
> [ 6.110000] RAMDISK: gzip image found at block 0
> [ 9.590000] VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
> [ 9.600000] devtmpfs: mounted
> [ 9.610000] Freeing unused kernel memory: 68K (281e5000 - 281f6000)
> [ 9.630000]
> [ 9.630000] Unhandled exception: IPSR = 00000005 LR = fffffff1
> [ 9.630000]
> [ 9.630000] CPU: 0 PID: 1 Comm: swapper Not tainted
> 3.17.0-rc6-00313-gd2205fa30aa7 #191
> [ 9.630000] task: 29834000 ti: 29832000 task.ti: 29832000
> [ 9.630000] PC is at flush_thread+0x2e/0x40
> [ 9.630000] LR is at flush_thread+0x21/0x40
> [ 9.630000] pc : [<2800954a>] lr : [<2800953d>] psr: 4100000b
> [ 9.630000] sp : 29833d60 ip : 00000000 fp : 00000001
> [ 9.630000] r10: 00003cf8 r9 : 29b1f000 r8 : 00000000
> [ 9.630000] r7 : 29b0bc00 r6 : 29834000 r5 : 29832000 r4 : 29832000
> [ 9.630000] r3 : ffff0ff0 r2 : 29832000 r1 : 00000000 r0 : 282121f0
> [ 9.630000] xPSR: 4100000b
> [ 9.630000] CPU: 0 PID: 1 Comm: swapper Not tainted
> 3.17.0-rc6-00313-gd2205fa30aa7 #191
> [ 9.630000] [<2800afa5>] (unwind_backtrace) from [<2800a327>]
> (show_stack+0xb/0xc)
> [ 9.630000] [<2800a327>] (show_stack) from [<2800a963>]
> (__invalid_entry+0x4b/0x4c)

Thanks for the report -- I see r3 has ffff0ff0 so I'm guessing this is
set_tls attempting to clear the tls location in the kuser helper page,
which I suppose isn't appropriate on MMU-less ARM?

  reply	other threads:[~2014-09-26 21:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 20:57 Crash on ARM: 8148/1 flush TLS and thumbee register Joachim Eastwood
2014-09-26 21:27 ` Nathan Lynch [this message]
2014-11-02 22:03   ` Stefan Agner
2014-11-02 22:14     ` Russell King - ARM Linux
2014-11-03  7:47       ` Uwe Kleine-König
2014-11-03 14:34       ` Nathan Lynch

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=5425DA4D.4040301@mentor.com \
    --to=nathan_lynch@mentor.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).