linux-mips
[Top] [All Lists]

Re: [MIPS] Check FCSR for pending interrupts before restoring from a con

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [MIPS] Check FCSR for pending interrupts before restoring from a context.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 7 Feb 2007 11:09:29 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20070207.133809.71085888.nemoto@toshiba-tops.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S20038814AbXBEQMb/20070205161231Z+24864@ftp.linux-mips.org> <20070207.133809.71085888.nemoto@toshiba-tops.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Wed, Feb 07, 2007 at 01:38:09PM +0900, Atsushi Nemoto wrote:

> >  arch/mips/kernel/r4k_fpu.S |   16 ++++++++++++++++
> >  1 files changed, 16 insertions(+), 0 deletions(-)
> 
> r2300_fpu.S and r6000_fpu.S should be fixed too?
> 
> Also, fpu_emulator_restore_context() should check FCSR too? (it should
> not harm FPU-less CPU, but on MIPS_MT, FCSR value restored by fpu
> emulator might be used for real FPU, right?)

Correct in all points.

  Ralf

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