Re: Crash in -next due to 'MIPS: Move FP usage checks into protected_{save, restore}_fp_context'

From: Guenter Roeck
Date: Mon Jul 27 2015 - 16:41:13 EST


Hi Paul,

On Mon, Jul 27, 2015 at 01:02:14PM -0700, Paul Burton wrote:
>
> Hi Guenter,
>
> I'm currently mailing out v2 of the series which should fix your
> problem. It was an issue where the kernel would check the FP context for
> whether a SIGFPE should be generated even in cases where FP had not been
> used by userland, and thus had not been initialised. My userland is
> hard float & thus makes use of the FPU early whilst I believe yours is
> soft float, which explains the difference in behaviour.
>
> I think the endian difference probably boils down to what garbage the
> initial FP context contained.
>
Thanks a lot for the fix!

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/