Re: [PATCH] arm64: make irq_stack_ptr more robust

From: Shi, Yang
Date: Fri Feb 12 2016 - 12:43:17 EST


On 2/12/2016 9:41 AM, Will Deacon wrote:
On Fri, Feb 12, 2016 at 09:38:51AM -0800, Shi, Yang wrote:
On 2/12/2016 5:47 AM, James Morse wrote:
On 11/02/16 21:53, Yang Shi wrote:
Switching between stacks is only valid if we are tracing ourselves while on the
irq_stack, so it is only valid when in current and non-preemptible context,
otherwise is is just zeroed off.

Given it was picked up with CONFIG_DEBUG_PREEMPT:

Fixes: 132cd887b5c5 ("arm64: Modify stack trace and dump for use with irq_stack")

Wii add in v2.

I already queued the patch with this and the whitespace fix, so no need
for a v2.

Thanks so much.

Yang


Will