diff options
author | Kees Cook <keescook@chromium.org> | 2013-09-11 14:25:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:59:30 -0700 |
commit | 6723734cdff15211bb78aeea76ca847374bd93ae (patch) | |
tree | 0c28ac52a1473dbbbeb32dfc893ebe285cc989bc /firmware | |
parent | 6325932666540beea18c800016368dc921068611 (diff) | |
download | linux-stable-6723734cdff15211bb78aeea76ca847374bd93ae.tar.gz linux-stable-6723734cdff15211bb78aeea76ca847374bd93ae.tar.bz2 linux-stable-6723734cdff15211bb78aeea76ca847374bd93ae.zip |
panic: call panic handlers before kmsg_dump
Since the panic handlers may produce additional information (via printk)
for the kernel log, it should be reported as part of the panic output
saved by kmsg_dump(). Without this re-ordering, nothing that adds
information to a panic will show up in pstore's view when kmsg_dump runs,
and is therefore not visible to crash reporting tools that examine pstore
output.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Vikram Mulukutla <markivx@codeaurora.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions