linux-mips
[Top] [All Lists]

Re: [PATCH] TX49 MFC0 bug workaround

To: sshtylyov@ru.mvista.com
Subject: Re: [PATCH] TX49 MFC0 bug workaround
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 03 Feb 2006 11:22:53 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <43E2BC1F.7080505@ru.mvista.com>
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>
Sender: linux-mips-bounce@linux-mips.org
>>>>> 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. :-(

Right.  And it can really happen.

---
Atsushi Nemoto

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