]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/unwind: Ensure stack grows down
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 27 Oct 2016 13:10:58 +0000 (08:10 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 28 Oct 2016 06:16:45 +0000 (08:16 +0200)
commit24d86f59093b0bcb3756cdf47f2db10ff4e90dbb
treee78867e2f61b125dda803949eb5c8d30fab172bf
parent67dece7d4c5841e84a3c795e79bf0dcd5be54f55
x86/unwind: Ensure stack grows down

Add a sanity check to ensure the stack only grows down, and print a
warning if the check fails.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161027131058.tpdffwlqipv7pcd6@treble
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/unwind_frame.c