From: Ralf Baechle <ralf@linux-mips.org>
To: Lin Ming <minggr@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: hard lockup problem
Date: Thu, 18 Apr 2013 14:44:55 +0200 [thread overview]
Message-ID: <20130418124455.GA16655@linux-mips.org> (raw)
In-Reply-To: <CAF1ivSZXGY0dUSTVan-VuMVaQrtUOEZuRqhqmnNe-euCj03XAA@mail.gmail.com>
On Thu, Apr 18, 2013 at 03:13:55PM +0800, Lin Ming wrote:
> I encounter a problem that cpu stuck with irq disabled, which is known
> as hard lockup.
> I know there is NMI hard lockup detector for x86, which can dump the
> back trace of the hard lockup.
>
> Is there any similar feature for MIPS?
No, there isn't, unfortunately.
This is because on MIPS an NMI is very different from for example x86.
An NMI goes straight to a firmware address and most firmware implementations
don't provided a suitable hook for an OS to gain control back from an NMI.
Generally on MIPS NMIs are used to signal catastrophic problems, things
like a machine check exception but external to the CPU.
One of the notable exceptions is Octeon where (see the Octeon watchdog
driver) an OS can regain control after an NMI. Malta and SGI IP27 also
have somewhat useful NMIs.
Ralf
next prev parent reply other threads:[~2013-04-18 12:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 7:13 hard lockup problem Lin Ming
2013-04-18 7:57 ` Lin Ming
2013-04-18 12:44 ` Ralf Baechle [this message]
2013-04-18 16:24 ` Lin Ming
2013-04-18 16:30 ` Lin Ming
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=20130418124455.GA16655@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=minggr@gmail.com \
/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