]> git.baikalelectronics.ru Git - kernel.git/commit
tile: avoid recursive backtrace faults
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 6 Aug 2013 20:10:23 +0000 (16:10 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 13 Aug 2013 20:04:14 +0000 (16:04 -0400)
commit9b8cba562a8fc47a53ed3da1c24252174057cf4d
treeec72fa0e8d5d22a1390a486e1bf9308c4cbffd34
parent23e0453eb52cfe8545eb313875dcfda950f474f0
tile: avoid recursive backtrace faults

This change adds support for avoiding recursive backtracer crashes;
we haven't seen this in practice other than when things are seriously
corrupt, but it may help avoid losing the root cause of a crash.

Also, don't abort kernel backtracers for invalid userspace PC's.
If we do, we lose the ability to backtrace through a userspace
call to a bad address above PAGE_OFFSET, even though that it can
be perfectly reasonable to continue the backtrace in such a case.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/processor.h
arch/tile/kernel/stack.c