From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: MX28 poweroff issue
Date: Thu, 5 Jul 2012 21:10:02 +0100 [thread overview]
Message-ID: <20120705201002.GB31508@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20120705160855.GA20175@S2101-09.ap.freescale.net>
On Fri, Jul 06, 2012 at 12:08:58AM +0800, Shawn Guo wrote:
> On Wed, Jul 04, 2012 at 04:19:44PM +0100, Russell King - ARM Linux wrote:
> > If it's specific to mx28 and mx23 and nothing else, the cause needs to
> > be found. Maybe we need it tested on other (non-MX) platforms too?
>
> Though people reported that imx27 does not have the problem, I'm not
> so sure about it's a mach-mxs (mx23 and mx28) specific issue. I have
> not figured it out why imx27 does not run into it, but I got some
> finding here.
>
> Let's look at the dump again.
>
> [ 59.840000] System halted.
> [ 84.100000] BUG: soft lockup - CPU#0 stuck for 23s! [halt:584]
> ...
> [ 84.100000] [<c0070cd4>] (watchdog_timer_fn+0x114/0x14c) from [<c004052c>]
> (__run_hrtimer+0x7c/0x1ec)
>
> It reports the issue eventually in function watchdog_timer_fn
> (kernel/watchdog.c):
Yes, the general idea is that if the timer is running, and the watchdog
is running, and it detects that it's event thread doesn't occasionally
run, it will report a lockup.
As other platforms seem to not exhibit the problem when we halt, and
endlessly spin with IRQs enabled, the question needs to be asked: what
is different with MX23/MX28 and why is it different.
Yes, we can mask the problem by disabling interrupts - just like x86
does - but that doesn't tell us why we have this apparant difference
in behaviours. I think we need to understand that before we start
heading down the path of disabling interrupts to get rid of this
problem.
So, I think we need some analysis of what's going on here with platforms
that do _not_ exhibit the problem. Eg, does the timer tick get shut
down? Does NO_HZ have a bearing on it? What about timer mode (periodic
vs one shot?)
next prev parent reply other threads:[~2012-07-05 20:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 22:30 MX28 poweroff issue Marek Vasut
2012-07-03 22:46 ` Russell King - ARM Linux
2012-07-04 0:13 ` Marek Vasut
2012-07-04 1:10 ` Fabio Estevam
2012-07-04 2:12 ` Marek Vasut
2012-07-04 3:14 ` Fabio Estevam
2012-07-04 3:47 ` Marek Vasut
2012-07-04 7:07 ` Uwe Kleine-König
2012-07-04 8:20 ` Russell King - ARM Linux
2012-07-04 8:45 ` Uwe Kleine-König
2012-07-04 14:30 ` Marek Vasut
2012-07-04 7:38 ` Attila Kinali
2012-07-04 14:31 ` Marek Vasut
2012-07-04 14:53 ` Shawn Guo
2012-07-04 15:19 ` Russell King - ARM Linux
2012-07-05 16:08 ` Shawn Guo
2012-07-05 16:23 ` Marek Vasut
2012-07-05 20:32 ` Fabio Estevam
2012-07-05 20:59 ` Fabio Estevam
2012-07-05 20:10 ` Russell King - ARM Linux [this message]
2012-07-06 4:49 ` Shawn Guo
2012-07-06 7:32 ` Lothar Waßmann
2012-07-19 17:04 ` Marek Vasut
2012-07-20 0:48 ` Shawn Guo
2012-07-20 1:53 ` Marek Vasut
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=20120705201002.GB31508@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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).