Re: [PATCH] Fix process crash in 2.4 on attempt to use FPU on MIPS32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 07, 2006 at 01:25:14AM +0400, Sergei Shtylyov wrote:

> If there's built-in FPU in a MIPS32 CPU the first time the process tries
> to use it, the kernel should crash with "reserved instruction" -- CPU will 
> try
> to execute 'dmtc1' which is a MIPS64 only insn. _init_fpu() was apprently 
> blindly copied form arch/mips64/... :-)
> 
> Since this occured with GXemul recently resending this 1.5 year old patch.

I didn't like the patch back then because it drops the optimizations
for 64-bit processors.  So I just took the 2.6 variant of the code and
bolted it into 2.4.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux