[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <47d1cj6QD8z9sS3@ozlabs.org>
Date: Wed, 18 Dec 2019 15:05:09 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/irq: fix stack overflow verification
On Mon, 2019-12-09 at 06:19:08 UTC, Christophe Leroy wrote:
> Before commit 0366a1c70b89 ("powerpc/irq: Run softirqs off the top of
> the irq stack"), check_stack_overflow() was called by do_IRQ(), before
> switching to the irq stack.
> In that commit, do_IRQ() was renamed __do_irq(), and is now executing
> on the irq stack, so check_stack_overflow() has just become almost
> useless.
>
> Move check_stack_overflow() call in do_IRQ() to do the check while
> still on the current stack.
>
> Fixes: 0366a1c70b89 ("powerpc/irq: Run softirqs off the top of the irq stack")
> Cc: stable@...r.kernel.org
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/099bc4812f09155da77eeb960a983470249c9ce1
cheers
Powered by blists - more mailing lists