diff options
author | 2016-02-11 13:53:10 -0800 | |
---|---|---|
committer | 2016-02-12 15:53:51 +0000 | |
commit | a80a0eb70c358f8c7dda4bb62b2278dc6285217b (patch) | |
tree | a0fda0517271586316fbd476aed280734a245151 /arch/arm/crypto | |
parent | arm64: debug: re-enable irqs before sending breakpoint SIGTRAP (diff) | |
download | linux-a80a0eb70c358f8c7dda4bb62b2278dc6285217b.tar.gz linux-a80a0eb70c358f8c7dda4bb62b2278dc6285217b.tar.bz2 linux-a80a0eb70c358f8c7dda4bb62b2278dc6285217b.zip |
arm64: make irq_stack_ptr more robust
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.
Fixes: 132cd887b5c5 ("arm64: Modify stack trace and dump for use with irq_stack")
Acked-by: James Morse <james.morse@arm.com>
Tested-by: James Morse <james.morse@arm.com>
Signed-off-by: Yang Shi <yang.shi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/crypto')
0 files changed, 0 insertions, 0 deletions