Re: EdgeRouter Pro supported? Strange FP problems

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

 



On 07/23/2014 10:03 AM, Rob Kendrick wrote:
> 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?
> 
Hi Rob,

The patch looks correct. See this document for the process

https://www.kernel.org/doc/Documentation/SubmittingPatches

So in general, you need to create a patch using git-format-patch
and use git-send-email to send it to this mailing list.

-- 
markos


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

  Powered by Linux