• Jianyu Zhan's avatar
    x86/entry/traps: Show unhandled signal for i386 in do_trap() · 10ee7386
    Jianyu Zhan authored
    Commit abd4f750 ("x86: i386-show-unhandled-signals-v3") did turn on
    the showing-unhandled-signal behaviour for i386 for some exception handlers,
    but for no reason do_trap() is left out (my naive guess is because turning it on
    for do_trap() would be too noisy since do_trap() is shared by several exceptions).
    
    And since the same commit make "show_unhandled_signals" a debug tunable(in
    /proc/sys/debug/exception-trace), and x86 by default turning it on.
    
    So it would be strange for i386 users who turing it on manually and expect
    seeing the unhandled signal output in log, but nothing.
    
    This patch turns it on for i386 in do_trap() as well.
    Signed-off-by: default avatarJianyu Zhan <nasa4836@gmail.com>
    Reviewed-by: default avatarJan Beulich <jbeulich@suse.com>
    Cc: Andy Lutomirski <luto@amacapital.net>
    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>
    Cc: bp@suse.de
    Cc: dave.hansen@linux.intel.com
    Cc: heukelum@fastmail.fm
    Cc: jbeulich@novell.com
    Cc: jdike@addtoit.com
    Cc: joe@perches.com
    Cc: luto@kernel.org
    Link: http://lkml.kernel.org/r/1457612398-4568-1-git-send-email-nasa4836@gmail.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    10ee7386
traps.c 26 KB