Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • panic.c
Find file BlameHistoryPermalink
  • Alexey Kardashevskiy's avatar
    panic: dump registers on panic_on_warn · 3f388f28
    Alexey Kardashevskiy authored Oct 15, 2020
    
    
    Currently we print stack and registers for ordinary warnings but we do not
    for panic_on_warn which looks as oversight - panic() will reboot the
    machine but won't print registers.
    
    This moves printing of registers and modules earlier.
    
    This does not move the stack dumping as panic() dumps it.
    
    Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Reviewed-by: default avatarKees Cook <keescook@chromium.org>
    Cc: Douglas Anderson <dianders@chromium.org>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Rafael Aquini <aquini@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Will Deacon <will@kernel.org>
    Cc: Nicholas Piggin <npiggin@gmail.com>
    Link: https://lkml.kernel.org/r/20200804095054.68724-1-aik@ozlabs.ru
    
    
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    3f388f28
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7