linux-mips
[Top] [All Lists]

Re: [PATCH] TX49 MFC0 bug workaround

To: unlisted-recipients:; (no To-header on input)
Subject: Re: [PATCH] TX49 MFC0 bug workaround
From: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Tue, 07 Feb 2006 18:32:20 +0300
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org
In-reply-to: <20060203.112253.104030567.nemoto@toshiba-tops.co.jp>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <43E25381.4060309@ru.mvista.com> <20060203.101705.41198541.nemoto@toshiba-tops.co.jp> <43E2BC1F.7080505@ru.mvista.com> <20060203.112253.104030567.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Atsushi Nemoto wrote:
On Fri, 03 Feb 2006 05:12:47 +0300, Sergei Shtylylov <sshtylyov@ru.mvista.com> 
said:

sshtylyov>     If I don't mistake, the offending code is in
sshtylyov> local_irq_disable, local_irq_save, and local_irq_restore
sshtylyov> macros. The effect would be a crash on any exception taken
sshtylyov> once interrupts get disabled in a module (*and* that code
sshtylyov> happens to fall on a page boundary)... nasty. :-(

... and yet worse: any external interrupts actually blocked from CPU forever by Status.EXL set (which then will never be cleared after the errata triggers).

Right.  And it can really happen.

---
Atsushi Nemoto

WBR, Sergei

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