From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: OMAP4 panda gets stuck during reboot
Date: Wed, 5 Jan 2011 19:44:31 +0530 [thread overview]
Message-ID: <45ff6d061a3e0bdcaf676671bf447b3b@mail.gmail.com> (raw)
In-Reply-To: <20110105140801.GC2304@legolas.emea.dhcp.ti.com>
> -----Original Message-----
> From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-
> owner at vger.kernel.org] On Behalf Of Felipe Balbi
> Sent: Wednesday, January 05, 2011 7:38 PM
> To: Russell King; Tony Lindgren
> Cc: Linux ARM Kernel Mailing List; Linux OMAP Mailing List
> Subject: OMAP4 panda gets stuck during reboot
>
> Hi,
>
> It seems like there's a bug on flush_pmd_entry() for multicore ARM
> CPUs.
>
> I'm testing 2.6.37 with pandaboard and when running "reboot" it gets
> stuck on:
>
> asm("mcr p15, 0, %0, c7, c10, 1 @ flush_pmd"
> : : "r" (pmd) : "cc");
>
> I added a few printk()s around the code to find the specific spot
> where
> the reset sequence was getting stuck and here's the output:
>
> [ 112.497253] ===> kernel_restart (line 312)
> [ 112.501525] ===> kernel_restart_prepare (line 294)
> [ 112.506561] ===> device_shutdown (line 1661)
> [ 112.511871] ===> device_shutdown (line 1692)
> [ 112.516387] ===> sysdev_shutdown (line 323)
> [ 112.520782] ===> sysdev_shutdown (line 349)
> [ 112.525146] ===> kernel_restart_prepare (line 299)
> [ 112.530181] Restarting system.
> [ 112.533386] ===> machine_restart (line 254)
> [ 112.537750] ===> machine_shutdown (line 232)
> [ 112.542236] ===> machine_shutdown (line 236)
> [ 112.546722] ===> arm_machine_restart (line 96)
> [ 112.551391] ===> setup_mm_for_reboot (line 1059)
> [ 112.556213] ===> setup_mm_for_reboot (line 1066)
> [ 112.561035] ===> setup_mm_for_reboot (line 1071)
> [ 112.565856] ===> flush_pmd_entry (line 522)
>
> What could it be ? Any more debugging I could do to help ?
>
This is known and seems to OMAP specific issue. Test patch and
relevant thread is here.
http://www.spinics.net/lists/arm-kernel/msg103493.html
next prev parent reply other threads:[~2011-01-05 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 14:08 OMAP4 panda gets stuck during reboot Felipe Balbi
2011-01-05 14:14 ` Santosh Shilimkar [this message]
2011-01-05 14:18 ` Felipe Balbi
2011-01-05 14:22 ` Santosh Shilimkar
2011-01-05 14:26 ` Felipe Balbi
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=45ff6d061a3e0bdcaf676671bf447b3b@mail.gmail.com \
--to=santosh.shilimkar@ti.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