[Top] [All Lists]

Re: [PATCH] Proposed NMI handling interface...

To: Ralf Baechle <>
Subject: Re: [PATCH] Proposed NMI handling interface...
From: Thomas Horsten <>
Date: Thu, 9 Oct 2003 13:55:12 +0100 (BST)
Cc: "Steven J. Hill" <>, <>
In-reply-to: <>
Original-recipient: rfc822;
On Wed, 8 Oct 2003, Ralf Baechle wrote:

> That hook you're proposing isn't even necessary in generic code.  NMI
> on MIPS hardware is a fairly odd type of exception - it goes straight to
> 0xbfc00000 which usually is a a firmware address - and lots of firmware
> doesn't even offer an NMI hook.  So for those cases where it's possible,
> you need to do something firmware anyway before jumping to Linux's NMI
> handler.  An additional problem with the NMI design of MIPS is it's using
> ErrorEPC, just like cache errors so you better pray - or simply design
> systems only to rely on NMI for debugging and catastrophic failures.

On Lasat boards NMI is used to reboot into Service Mode. There's no hook
to override this behaviour.

// Thomas

<Prev in Thread] Current Thread [Next in Thread>