aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/panic.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+9
2024-02-22panic: add option to dump blocked tasks in panic_printFeng Tang1-0/+4
2024-02-22panic: suppress gnu_printf warningBaoquan He1-0/+5
2024-02-07panic: Flush kernel log buffer at the endJohn Ogness1-0/+8
2023-10-04panic: use atomic_try_cmpxchg in panic() and nmi_panic()Uros Bizjak1-9/+13
2023-09-15panic: Reenable preemption in WARN slowpathLukas Wunner1-0/+1
2023-08-18mm: remove arguments of show_mem()Kefeng Wang1-1/+1
2023-06-09panic: hide unused global functionsArnd Bergmann1-2/+1
2023-04-14cpu: Mark nmi_panic_self_stop() __noreturnJosh Poimboeuf1-1/+1
2023-04-14cpu: Mark panic_smp_self_stop() __noreturnJosh Poimboeuf1-1/+1
2023-03-02panic: fix the panic_print NMI backtrace settingGuilherme G. Piccoli1-18/+26
2023-01-31cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUGPeter Zijlstra1-0/+5
2022-12-23Merge tag 'hardening-v6.2-rc1-fixes' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+5
2022-12-16exit: Use READ_ONCE() for all oops/warn limit readsKees Cook1-2/+5
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+42
2022-12-02panic: Expose "warn_count" to sysfsKees Cook1-2/+20
2022-12-02panic: Introduce warn_limitKees Cook1-0/+14
2022-12-02panic: Consolidate open-coded panic_on_warn checksKees Cook1-2/+7
2022-12-01panic: Separate sysctl logic from CONFIG_SMPKees Cook1-1/+3
2022-11-18panic: use str_enabled_disabled() helperAndy Shevchenko1-2/+3
2022-09-01kernel/panic: Drop unblank_screen callDaniel Vetter1-3/+0
2022-08-02Merge tag 'linux-kselftest-kunit-5.20-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-0/+1
2022-07-01panic: Taint kernel if tests are runDavid Gow1-0/+1
2022-06-23Merge branch 'rework/kthreads' into for-linusPetr Mladek1-6/+0
2022-06-23Revert "printk: add functions to prefer direct printing"Petr Mladek1-4/+0
2022-06-23Revert "printk: Wait for the global console lock when the system is going down"Petr Mladek1-2/+0
2022-06-17Merge branch 'rework/kthreads' into for-linusPetr Mladek1-0/+2
2022-06-15printk: Wait for the global console lock when the system is going downPetr Mladek1-0/+2
2022-05-26Merge tag 'sysctl-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+25
2022-05-25Merge tag 'printk-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+4
2022-05-08randstruct: Reorganize Kconfigs and attribute macrosKees Cook1-1/+1
2022-04-22printk: add functions to prefer direct printingJohn Ogness1-0/+4
2022-04-06kernel/panic: move panic sysctls to its own filetangmeng1-1/+25
2022-03-23panic: move panic_print before kmsg dumpersGuilherme G. Piccoli1-4/+9
2022-03-23panic: add option to dump all CPUs backtraces in panic_printGuilherme G. Piccoli1-0/+4
2022-03-23panic: unset panic_on_warn inside panic()Tiezhu Yang1-9/+11
2022-01-20panic: remove oops_idSebastian Andrzej Siewior1-18/+1
2022-01-20panic: use error_report_end tracepoint on warningsMarco Elver1-0/+2
2021-08-30Merge branch 'rework/printk_safe-removal' into for-linusPetr Mladek1-3/+0
2021-07-26printk: remove safe buffersJohn Ogness1-3/+0
2021-07-01kernel.h: split out panic and oops helpersAndy Shevchenko1-0/+1
2020-11-14panic: don't dump stack twice on warnChristophe Leroy1-1/+2
2020-10-16panic: dump registers on panic_on_warnAlexey Kardashevskiy1-6/+6
2020-08-12panic: make print_oops_end_marker() staticYue Hu1-1/+1
2020-08-12kernel/panic.c: make oops_may_print() return boolTiezhu Yang1-1/+1
2020-06-11bug: Annotate WARN/BUG/stackfail as noinstr safeThomas Gleixner1-1/+3
2020-06-08panic: add sysctl to dump all CPUs backtraces on oops eventGuilherme G. Piccoli1-0/+11
2020-06-08kernel: add panic_on_taintRafael Aquini1-0/+34
2019-11-25locking/refcount: Remove unused 'refcount_error_report()' functionWill Deacon1-11/+0
2019-10-07panic: ensure preemption is disabled during panic()Will Deacon1-0/+1
2019-09-25bug: consolidate __WARN_FLAGS usageKees Cook1-1/+1
2019-09-25bug: lift "cut here" out of __warn()Kees Cook1-4/+2
2019-09-25bug: consolidate warn_slowpath_fmt() usageKees Cook1-7/+7
2019-09-25bug: refactor away warn_slowpath_fmt_taint()Kees Cook1-15/+3
2019-09-25kgdb: don't use a notifier to enter kgdb at panic; call directlyDouglas Anderson1-0/+8
2019-07-15docs: admin-guide: move sysctl directory to itMauro Carvalho Chehab1-1/+1
2019-07-15docs: sysctl: convert to ReSTMauro Carvalho Chehab1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-18panic: add an option to replay all the printk message in bufferFeng Tang1-1/+5
2019-05-14panic/reboot: allow specifying reboot_mode for panic onlyAaro Koskinen1-0/+2
2019-05-14panic: avoid the extra noise dmesgFeng Tang1-0/+3
2019-05-02s390: simplify disabled_waitMartin Schwidefsky1-6/+1
2019-03-07kernel/panic.c: taint: fix debugfs_simple_attr.cocci warningsYueHaibing1-6/+4
2019-01-04kernel/sysctl: add panic_print into sysctlFeng Tang1-1/+1
2019-01-04panic: add options to print system info when panic happensFeng Tang1-0/+28
2018-12-27Merge tag 'printk-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+5
2018-11-22panic: avoid deadlocks in re-entrant console driversSergey Senozhatsky1-1/+5
2018-10-31kernel/panic.c: filter out a potential trailing newlineBorislav Petkov1-2/+6
2018-10-31kernel/panic.c: do not append newline to the stack protector panic stringBorislav Petkov1-1/+1
2018-06-14Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variablesLinus Torvalds1-1/+1
2018-04-11taint: add taint for randstructKees Cook1-1/+3
2018-04-11taint: consolidate documentationKees Cook1-19/+4
2018-04-11taint: convert to indexed initializationKees Cook1-17/+19
2018-04-10Merge tag 'trace-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+2
2018-04-06lockdep: Add print_irqtrace_events() to __warnSteven Rostedt (VMware)1-0/+2
2018-04-02Merge branch 'core-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2018-03-09bug: use %pB in BUG and stack protector failureKees Cook1-1/+1
2018-03-08panic: Add closing panic marker parenthesisBorislav Petkov1-1/+1
2017-11-17kernel/panic.c: add TAINT_AUXBorislav Petkov1-0/+2
2017-11-17bug: fix "cut here" location for __WARN_TAINT architecturesKees Cook1-1/+15
2017-11-17bug: define the "cut here" string in a single placeKees Cook1-1/+1
2017-11-17kernel debug: support resetting WARN_ONCE for all architecturesAndi Kleen1-1/+2
2017-11-17kernel debug: support resetting WARN*_ONCEAndi Kleen1-0/+28
2017-08-17locking/refcounts, x86/asm: Implement fast refcount overflow protectionKees Cook1-0/+12
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-23sparc64: Send break twice from console to return to boot promVijay Kumar1-1/+2
2017-02-22Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml...Linus Torvalds1-2/+2
2017-02-08printk: rename nmi.c and exported apiSergey Senozhatsky1-2/+2
2017-01-24kernel/panic.c: add missing \nJiri Slaby1-1/+1
2017-01-17taint/module: Fix problems when out-of-kernel driver defines true or falseLarry Finger1-1/+1
2016-11-26taint/module: Clean up global and module taint flags handlingPetr Mladek1-28/+25
2016-10-11x86/panic: replace smp_send_stop() with kdump friendly version in panic pathHidehiro Kawai1-7/+40
2016-08-02kexec: use core_param for crash_kexec_post_notifiers boot optionHidehiro Kawai1-9/+4
2016-05-20printk/nmi: flush NMI messages on the system panicPetr Mladek1-1/+5
2016-03-22panic: change nmi_panic from macro to functionHidehiro Kawai1-0/+20
2016-03-17lib/bug.c: use common WARN helperJosh Poimboeuf1-15/+26
2016-01-16printk: do cond_resched() between lines while outputting to consolesTejun Heo1-2/+1
2015-12-19kexec: Fix race between panic() and crash_kexec()Hidehiro Kawai1-2/+6
2015-12-19panic, x86: Allow CPUs to save registers even if looping in NMI contextHidehiro Kawai1-0/+9
2015-12-19panic, x86: Fix re-entrance problem due to panic on NMIHidehiro Kawai1-3/+13
2015-11-20kernel/panic.c: turn off locks debug before releasing console lockVitaly Kuznetsov1-1/+4
2015-11-06panic: release stale console lock to always get the logbuf printed outVitaly Kuznetsov1-0/+10
2015-06-30kernel/panic/kexec: fix "crash_kexec_post_notifiers" option issue in oops pathHATAYAMA Daisuke1-1/+1
2015-06-30kernel/panic: call the 2nd crash_kexec() only if crash_kexec_post_notifiers i...HATAYAMA Daisuke1-1/+2
2014-12-22livepatch: kernel: add TAINT_LIVEPATCHSeth Jennings1-0/+2
2014-12-10kernel: add panic_on_warnPrarit Bhargava1-0/+13
2014-11-13kernel/panic.c: update comments for print_taintedXie XiuQi1-0/+1
2014-08-08panic: add TAINT_SOFTLOCKUPJosh Hunt1-0/+1
2014-06-06kernel/panic.c: add "crash_kexec_post_notifiers" option for kdump after panic...Masami Hiramatsu1-2/+21
2014-04-07kernel/panic.c: display reason at end + pr_emergFabian Frederick1-7/+6
2014-04-06Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2014-03-31Merge branch 'x86-asmlinkage-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-1/+1
2014-03-31Use 'E' instead of 'X' for unsigned module taint flag.Rusty Russell1-2/+2
2014-03-20Rename TAINT_UNSAFE_SMP to TAINT_CPU_OUT_OF_SPECDave Jones1-1/+1
2014-03-13Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULEMathieu Desnoyers1-0/+2
2014-02-13asmlinkage Make __stack_chk_failed and memcmp visibleAndi Kleen1-1/+1
2013-11-26panic: Make panic_timeout configurableJason Baron1-1/+1
2013-11-13kernel/panic.c: reduce 1 byte usage for print tainted bufferChen Gang1-1/+1
2013-09-11panic: call panic handlers before kmsg_dumpKees Cook1-2/+6
2013-07-11Merge tag 'trace-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+3
2013-07-09panic: add cpu/pid to warn_slowpath_common in WARNING printk()sAlex Thorlton1-2/+3
2013-06-19tracing: Disable tracing on warningSteven Rostedt (Red Hat)1-0/+3
2013-04-30dump_stack: implement arch-specific hardware description in task dumpsTejun Heo1-6/+0
2013-01-21taint: add explicit flag to show whether lock dep is still OK.Rusty Russell1-20/+14
2012-07-30panic: fix a possible deadlock in panic()Vikram Mulukutla1-0/+8
2012-05-18kdump: Execute kmsg_dump(KMSG_DUMP_PANIC) after smp_send_stop()Seiji Aguchi1-2/+2
2012-05-07panic: Make panic_on_oops configurableKyle McMartin1-1/+1
2012-04-12panic: fix stack dump print on direct call to panic()Jason Wessel1-1/+1
2012-01-12panic: don't print redundant backtraces on oopsAndi Kleen1-1/+5
2012-01-12kdump: fix crash_kexec()/smp_send_stop() race in panic()Michael Holzheu1-1/+17
2012-01-12treewide: remove useless NORET_TYPE macro and usesJoe Perches1-1/+1
2011-12-07lockdep, bug: Exclude TAINT_OOT_MODULE from disabling lock debuggingBen Hutchings1-2/+3
2011-12-06lockdep, bug: Exclude TAINT_FIRMWARE_WORKAROUND from disabling lockdepPeter Zijlstra1-2/+10
2011-11-07module,bug: Add TAINT_OOT_MODULE flag for modules not built in-treeBen Hutchings1-0/+2
2011-07-26panic: panic=-1 for immediate rebootHugh Dickins1-0/+2
2011-03-22move x86 specific oops=panic to generic codeOlaf Hering1-0/+10
2011-01-12ACPI, APEI, Generic Hardware Error Source POLL/IRQ/NMI notification type supportHuang Ying1-0/+1
2010-08-11lib/bug.c: add oops end marker to WARN implementationAnton Blanchard1-1/+1
2010-08-11panic: keep blinking in spite of long spin timer modeTAMUKI Shoichi1-32/+26
2010-05-27panic: call console_verbose() in panicAnton Blanchard1-0/+1
2010-05-19panic: Add taint flag TAINT_FIRMWARE_WORKAROUND ('I')Ben Hutchings1-0/+2
2010-05-19panic: Allow warnings to set different taint flagsBen Hutchings1-4/+20
2010-03-06panic: fix panic_timeout accuracy when running on a hypervisorAnton Blanchard1-16/+30
2009-12-31kmsg_dump: Dump on crash_kexec as wellKOSAKI Motohiro1-1/+2
2009-12-16Merge git://git.infradead.org/mtd-2.6Linus Torvalds1-0/+3
2009-11-30core: Add kernel message dumper to call on oopses and panicsSimon Kagstrom1-0/+3
2009-10-08Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+2
2009-10-05panic: Fix panic message visibility by calling bust_spinlocks(0) before dyingAaro Koskinen1-1/+2
2009-09-21trivial: Correct print_tainted routine name in commentRobert P. J. Day1-1/+1
2009-07-24trace: stop tracer in oops_enter()Thomas Gleixner1-0/+1
2009-05-16Fix caller information for warn_slowpath_nullLinus Torvalds1-15/+20
2009-05-06Eliminate thousands of warnings with gcc 3.2 buildAndi Kleen1-3/+10
2009-04-23locking: clarify kernel-taint warning messageIngo Molnar1-1/+1
2009-04-12lockdep: continue lock debugging despite some taintsFrederic Weisbecker1-1/+3
2009-04-12lockdep: warn about lockdep disabling after kernel taintFrederic Weisbecker1-2/+8
2009-03-13panic: clean up kernel/panic.cIngo Molnar1-52/+59
2009-03-13panic, smp: provide smp_send_stop() wrapper on UP tooIngo Molnar1-2/+0
2009-03-13panic: decrease oops_in_progress only after having done the panicIngo Molnar1-1/+1
2009-02-10stackprotector: update make rulesTejun Heo1-4/+0
2009-01-18Merge branch 'core/percpu' into stackprotectorIngo Molnar1-0/+2
2009-01-06oops: increment the oops UUID every time we oopsArjan van de Ven1-0/+2
2008-12-31Merge branch 'linus' into stackprotectorIngo Molnar1-52/+65
2008-12-25Merge branch 'core/debug' into core/coreIngo Molnar1-20/+12
2008-12-01taint: add missing commentArjan van de Ven1-0/+1
2008-11-28debug warnings: eliminate warn_on_slowpath()Ingo Molnar1-6/+0
2008-11-28debug warnings: print the DMI board info name in a WARN/WARN_ONArjan van de Ven1-0/+6
2008-11-28debug warnings: consolidate warn_slowpath and warn_on_slowpathArjan van de Ven1-20/+12
2008-10-22Make panic= and panic_on_oops into core_paramsRusty Russell1-14/+3
2008-10-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6Linus Torvalds1-0/+2
2008-10-16taint: fix kernel-docRandy Dunlap1-15/+15
2008-10-16Make the taint flags reliableAndi Kleen1-17/+46
2008-10-15Merge branch 'linus' into stackprotectorIngo Molnar1-0/+22
2008-10-10Staging: add TAINT_CRAP for all drivers/staging codeGreg Kroah-Hartman1-2/+4
2008-07-25Add a WARN() macro; this is WARN_ON() + printk argumentsArjan van de Ven1-0/+22
2008-07-13stackprotector: remove self-testIngo Molnar1-47/+0
2008-07-13x86: simplify stackprotector self-checkArjan van de Ven1-22/+7
2008-07-11stackprotector: better self-testArjan van de Ven1-8/+5
2008-05-26stackprotector: turn not having the right gcc into a #warningArjan van de Ven1-0/+3
2008-05-26panic.c: fix whitespace additionsDaniel Walker1-2/+2
2008-05-26x86: add CONFIG_CC_STACKPROTECTOR self-testArjan van de Ven1-0/+68
2008-05-26panic: print out stacktrace if DEBUG_BUGVERBOSEIngo Molnar1-0/+3
2008-05-26panic: print more informative messages on stackprotect failureIngo Molnar1-1/+2
2008-04-29Taint kernel after WARN_ON(condition)Nur Hussein1-2/+6
2008-02-06ACPI: Taint kernel on ACPI table override (format corrected)Éric Piel1-2/+3
2008-01-30debug: add the end-of-trace marker and the module list toArjan van de Ven1-4/+12
2008-01-30debug: move WARN_ON() out of lineArjan van de Ven1-0/+15
2007-12-20debug: add end-of-oops markerArjan van de Ven1-0/+18
2007-10-20trivial comment wording/typo fix regarding taint flagsDaniel Roesen1-1/+1
2007-10-18whitespace fixes: panic handlingDaniel Walker1-5/+5
2007-07-17Report that kernel is tainted if there was an OOPSPavel Emelianov1-2/+3
2007-02-11[PATCH] Add TAINT_USER and ability to set taint flags from userspaceTheodore Ts'o1-2/+4
2006-09-30[PATCH] x86: Clean up x86 NMI sysctlsAndi Kleen1-1/+0
2006-09-26[PATCH] Add the __stack_chk_fail() functionArjan van de Ven1-0/+12
2006-09-26[PATCH] x86: Allow users to force a panic on NMIDon Zickus1-0/+1
2006-09-06[PATCH] lockdep: do not touch console state when tainting the kernelIngo Molnar1-1/+1
2006-08-14[PATCH] panic.c build fixAndrew Morton1-0/+1
2006-07-10[PATCH] lockdep: disable lock debugging when kernel state becomes untrustedArjan van de Ven1-0/+2
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-04-11[PATCH] the scheduled unexport of panic_timeoutAdrian Bunk1-1/+0
2006-03-27[PATCH] Notifier chain update: API changesAlan Stern1-2/+2