Re: EdgeRouter Pro supported? Strange FP problems

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

 



On Tue, Jul 22, 2014 at 04:38:24PM +0100, Markos Chandras wrote:
> a quick bisect between v3.15 and v3.16-rc1, which is the first tag with
> all the new FPU changes, leads to the following bad commit:
> 
> 08a07904e182895e1205f399465a3d622c0115b8
> MIPS: math-emu: Remove most ifdefery.

This appears to fix the problem:

diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c
index 736c17a..bf0fc6b 100644
--- a/arch/mips/math-emu/cp1emu.c
+++ b/arch/mips/math-emu/cp1emu.c
@@ -1827,7 +1827,7 @@ dcopuop:
        case -1:
 
                if (cpu_has_mips_4_5_r)
-                       cbit = fpucondbit[MIPSInst_RT(ir) >> 2];
+                       cbit = fpucondbit[MIPSInst_FD(ir) >> 2];
                else
                        cbit = FPU_CSR_COND;
                if (rv.w)

Sadly I am totally ignorant of kernel patch processes.  What would be
approach to having this properly submitted?

-- 
Rob Kendrick, Senior Consulting Developer                Codethink Ltd.
Telephone: +44 7880 657 193              302 Ducie House, Ducie Street,
http://www.codethink.co.uk/         Manchester, M1 2JW, United Kingdom.


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

  Powered by Linux