Re: FAILED: patch "[PATCH] xtensa: add fixup for double exception raised in window" failed to apply to 3.15-stable tree

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

 



Hi Greg,

On Tue, Jul 29, 2014 at 8:57 AM,  <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> The patch below does not apply to the 3.15-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@xxxxxxxxxxxxxxx>.

On my side this patch applies clearly to the current v3.15.7.
Could this message be caused by anything else besides the
literal patch applicability (e.g. the patch size)?

> ------------------ original commit in Linus's tree ------------------
>
> From 17290231df16eeee5dfc198dbf5ee4b419996dcd Mon Sep 17 00:00:00 2001
> From: Max Filippov <jcmvbkbc@xxxxxxxxx>
> Date: Sat, 24 May 2014 21:48:28 +0400
> Subject: [PATCH] xtensa: add fixup for double exception raised in window
>  overflow
>
> There are two FIXMEs in the double exception handler 'for the extremely
> unlikely case'. This case gets hit by gcc during kernel build once in
> a few hours, resulting in an unrecoverable exception condition.
>
> Provide missing fixup routine to handle this case. Double exception
> literals now need 8 more bytes, add them to the linker script.
>
> Also replace bbsi instructions with bbsi.l as we're branching depending
> on 8th and 7th LSB-based bits of exception address.
>
> This may be tested by adding the explicit DTLB invalidation to window
> overflow handlers, like the following:
>
>     --- a/arch/xtensa/kernel/vectors.S
>     +++ b/arch/xtensa/kernel/vectors.S
>     @@ -592,6 +592,14 @@ ENDPROC(_WindowUnderflow4)
>      ENTRY_ALIGN64(_WindowOverflow8)
>
>         s32e    a0, a9, -16
>     +   bbsi.l  a9, 31, 1f
>     +   rsr     a0, ccount
>     +   bbsi.l  a0, 4, 1f
>     +   pdtlb   a0, a9
>     +   idtlb   a0
>     +   movi    a0, 9
>     +   idtlb   a0
>     +1:
>         l32e    a0, a1, -12
>         s32e    a2, a9,  -8
>         s32e    a1, a9, -12
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Max Filippov <jcmvbkbc@xxxxxxxxx>

-- 
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]