| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/ |
| D | ramoops.txt | 1 Ramoops oops/panic logger 4 ramoops provides persistent RAM storage for oops and panics, so they can be 5 recovered after a reboot. This is a child-node of "/reserved-memory", and 10 as kernel log messages, or for optional ECC error-correction data. The total 13 Any remaining space will be used for a circular buffer of oops and panic 17 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 18 must be set non-zero, but are otherwise optional as listed below. 23 - compatible: must be "ramoops" 25 - reg: region of memory that is preserved between reboots 30 - ecc-size: enables ECC support and specifies ECC buffer size in bytes [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/reserved-memory/ |
| D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ramoops oops/panic logger 10 ramoops provides persistent RAM storage for oops and panics, so they can be 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 19 Any remaining space will be used for a circular buffer of oops and panic 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" [all …]
|
| /kernel/linux/linux-5.10/fs/pstore/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 116 messages, even if no oops or panic happened. 125 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID]. 150 fault log for BlackBox when oops or panic happened. 155 tristate "Log panic/oops to a RAM buffer" 162 This enables panic and oops messages to be logged to a circular 168 For more information, see Documentation/admin-guide/ramoops.rst. 178 tristate "Log panic/oops to a block device" 185 This enables panic and oops message to be logged to a block dev 188 For more information, see Documentation/admin-guide/pstore-blk.rst [all …]
|
| D | ram.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RAM Oops/Panic logger 32 "size of each dump done on oops/panic"); 57 "start of reserved RAM used to store oops/panic logs"); 62 "size of reserved RAM used to store oops/panic logs"); 69 static int ramoops_max_reason = -1; 72 "maximum reason for kmsg dump (default 2: Oops and Panic) "); 77 "if non-zero, the option enables ECC support and specifies " 81 static int ramoops_dump_oops = -1; 84 "(deprecated: use max_reason instead) set to 1 to dump oopses & panics, 0 to only dump panics"); [all …]
|
| /kernel/linux/linux-6.6/fs/pstore/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 72 messages, even if no oops or panic happened. 81 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID]. 106 fault log for BlackBox when oops or panic happened. 111 tristate "Log panic/oops to a RAM buffer" 118 This enables panic and oops messages to be logged to a circular 124 For more information, see Documentation/admin-guide/ramoops.rst. 134 tristate "Log panic/oops to a block device" 140 This enables panic and oops message to be logged to a block dev 143 For more information, see Documentation/admin-guide/pstore-blk.rst [all …]
|
| D | ram.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RAM Oops/Panic logger 34 "size of each dump done on oops/panic"); 59 "start of reserved RAM used to store oops/panic logs"); 64 "size of reserved RAM used to store oops/panic logs"); 69 "memory type: 0=write-combined (default), 1=unbuffered, 2=cached"); 71 static int ramoops_max_reason = -1; 74 "maximum reason for kmsg dump (default 2: Oops and Panic) "); 79 "if non-zero, the option enables ECC support and specifies " 83 static int ramoops_dump_oops = -1; [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | pstore-blk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 pstore block oops/panic logger 7 ------------ 9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a 10 block device and non-block device before the system crashes. You can get 13 mount -t pstore pstore /sys/fs/pstore 17 --------------------- 27 Configurations for driver are all about block device and non-block device, 31 ----------------------- 50 1. <hex_major><hex_minor> device number in hexadecimal represents itself; no [all …]
|
| D | bug-hunting.rst | 4 Kernel bug reports often come with a stack dump like the one below:: 6 ------------[ cut here ]------------ 8 …Modules linked in: dvb_usb_gp8psk(-) dvb_usb dvb_core nvidia_drm(PO) nvidia_modeset(PO) snd_hda_co… 9 CPU: 1 PID: 28102 Comm: rmmod Tainted: P WC O 4.8.4-build.1 #1 10 Hardware name: MSI MS-7309/MS-7309, BIOS V1.12 02/23/2009 38 ---[ end trace 6ebc60ef3981792f ]--- 42 the issue, it may also contain the word **Oops**, as on this one:: 47 Oops: 0002 [#1] PREEMPT SMP 50 Despite being an **Oops** or some other sort of stack trace, the offended 52 we'll refer to "Oops" for all kinds of stack traces that need to be analyzed. [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| D | pstore-blk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 pstore block oops/panic logger 7 ------------ 9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a 10 block device and non-block device before the system crashes. You can get 13 mount -t pstore pstore /sys/fs/pstore 17 --------------------- 27 Configurations for driver are all about block device and non-block device, 31 ----------------------- 51 #. /dev/<disk_name><decimal> represents the device number of partition - device [all …]
|
| D | bug-hunting.rst | 4 Kernel bug reports often come with a stack dump like the one below:: 6 ------------[ cut here ]------------ 8 …Modules linked in: dvb_usb_gp8psk(-) dvb_usb dvb_core nvidia_drm(PO) nvidia_modeset(PO) snd_hda_co… 9 CPU: 1 PID: 28102 Comm: rmmod Tainted: P WC O 4.8.4-build.1 #1 10 Hardware name: MSI MS-7309/MS-7309, BIOS V1.12 02/23/2009 38 ---[ end trace 6ebc60ef3981792f ]--- 42 the issue, it may also contain the word **Oops**, as on this one:: 47 Oops: 0002 [#1] PREEMPT SMP 50 Despite being an **Oops** or some other sort of stack trace, the offended 52 we'll refer to "Oops" for all kinds of stack traces that need to be analyzed. [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | panic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This function is used through-out the kernel (including mm and fs) 42 * Should we dump all CPUs backtraces in an oops event? 137 * Stop ourself in panic -- architecture code may override this 157 * crash dump, it should save registers of each stopped CPU and disable 158 * per-CPU features such as virtualization extensions. 186 * as saving register state for crash dump. 237 * panic - halt the system 273 * It's possible to come here directly from a panic-assertion and in panic() 275 * preempt to be disabled. No point enabling it later though... in panic() [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | panic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This function is used through-out the kernel (including mm and fs) 46 * Should we dump all CPUs backtraces in an oops event? 142 * Stop ourself in panic -- architecture code may override this 162 * crash dump, it should save registers of each stopped CPU and disable 163 * per-CPU features such as virtualization extensions. 191 * as saving register state for crash dump. 246 * and then performs the secondary CPUs shutdown - we cannot have 257 * situation. If we want to do crash dump after notifier calls in panic_other_cpus_shutdown() 269 * panic - halt the system [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/ |
| D | mtdoops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MTD Oops/Panic logger 31 "record size for MTD OOPS pages in bytes (default 4096)"); 41 "set to 1 to dump oopses, 0 to only dump panics (default 1)"); 44 struct kmsg_dumper dump; member 60 set_bit(page, cxt->oops_page_used); in mark_page_used() 65 clear_bit(page, cxt->oops_page_used); in mark_page_unused() 70 return test_bit(page, cxt->oops_page_used); in page_is_used() 75 struct mtd_info *mtd = cxt->mtd; in mtdoops_erase_block() 76 u32 start_page_offset = mtd_div_by_eb(offset, mtd) * mtd->erasesize; in mtdoops_erase_block() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2009 Russell King 89 for (reg = 10, x = 0, p = str; reg >= 0; reg--) { in dump_backtrace_stm() 91 p += sprintf(p, " r%d:%08x", reg, *stack--); in dump_backtrace_stm() 106 * physical memory. If it is not there, then we can't dump 113 return -EFAULT; in verify_stack() 120 * Dump out the contents of some memory nicely... 131 * to safely read from kernel space. Note that we now dump the in dump_mem() 144 str[sizeof(str) - 1] = '\0'; in dump_mem() 170 * Note that we now dump the code first, just in case the backtrace in __dump_instr() [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/ |
| D | mtdoops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MTD Oops/Panic logger 31 "record size for MTD OOPS pages in bytes (default 4096)"); 41 "set to 1 to dump oopses, 0 to only dump panics (default 1)"); 53 struct kmsg_dumper dump; member 70 set_bit(page, cxt->oops_page_used); in mark_page_used() 75 clear_bit(page, cxt->oops_page_used); in mark_page_unused() 80 return test_bit(page, cxt->oops_page_used); in page_is_used() 85 struct mtd_info *mtd = cxt->mtd; in mtdoops_erase_block() 86 u32 start_page_offset = mtd_div_by_eb(offset, mtd) * mtd->erasesize; in mtdoops_erase_block() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/ |
| D | console-badness.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 7 # Usage: console-badness.sh 13 …-E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPUs/ta… 14 grep -v 'ODEBUG: ' | 15 grep -v 'This means that this is a DEBUG kernel and it is' | 16 grep -v 'Warning: unable to open an initial console' | 17 grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr.*the init process!' | 18 grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2009 Russell King 79 frame = ((unsigned long *)frame)[-2] - 4; in dump_backtrace_entry() 103 for (reg = 10, x = 0, p = str; reg >= 0; reg--) { in dump_backtrace_stm() 105 p += sprintf(p, " r%d:%08x", reg, *stack--); in dump_backtrace_stm() 120 * physical memory. If it is not there, then we can't dump 128 return -EFAULT; in verify_stack() 135 * Dump out the contents of some memory nicely... 150 str[sizeof(str) - 1] = '\0'; in dump_mem() 174 * Note that we now dump the code first, just in case the backtrace in dump_instr() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/amd/ |
| D | acp-common.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 11 /* ACP-specific Common code */ 13 #include "../sof-priv.h" 14 #include "../sof-audio.h" 16 #include "../sof-audio.h" 18 #include "acp-dsp-offset.h" 22 * amd_sof_ipc_dump() - This function is called when IPC tx times out. 27 const struct sof_amd_acp_desc *desc = get_chip_info(sdev->pdata); in amd_sof_ipc_dump() 28 u32 base = desc->dsp_intr_base; in amd_sof_ipc_dump() 29 u32 dsp_msg_write = sdev->debug_box.offset + in amd_sof_ipc_dump() [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
| D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 14 ------------------------------------------------------------------------------ 38 If BSD-style process accounting is enabled these values control 71 This variable has no effect and may be removed in future kernel 123 Ctrl-Alt-Delete). Writing a value to this file which doesn't 124 correspond to a running process will result in ``-ESRCH``. 126 See also `ctrl-alt-del`_. 162 %d dump mode, matches ``PR_SET_DUMPABLE`` and 165 %t UNIX time of dump 175 the rest of the pattern as a command to run. The core dump will be [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/sysctl/ |
| D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 13 Documentation/admin-guide/sysctl/index.rst. 15 ------------------------------------------------------------------------------ 39 If BSD-style process accounting is enabled these values control 71 The machine hardware name, the same output as ``uname -m`` 77 This variable has no effect and may be removed in future kernel 129 Ctrl-Alt-Delete). Writing a value to this file which doesn't 130 correspond to a running process will result in ``-ESRCH``. 132 See also `ctrl-alt-del`_. 170 %d dump mode, matches ``PR_SET_DUMPABLE`` and [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | pstore.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Persistent Storage - pstore.h 35 /* PPC64-specific partition types */ 53 * struct pstore_record - details of a pstore record entry 56 * @id: per-type unique identifier for record 63 * kfree()d by the pstore core if non-NULL 68 * @count: Oops count since boot 91 * struct pstore_info - backend pstore driver structure 97 * @buf: preallocated crash dump buffer 98 * @bufsize: size of @buf available for crash dump bytes (must match [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | pstore.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Persistent Storage - pstore.h 35 /* PPC64-specific partition types */ 53 * struct pstore_record - details of a pstore record entry 56 * @id: per-type unique identifier for record 65 * @count: Oops count since boot 87 * struct pstore_info - backend pstore driver structure 93 * @buf: preallocated crash dump buffer 94 * @bufsize: size of @buf available for crash dump bytes (must match 107 * @data: backend-private pointer passed back during callbacks [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/lkdtm/ |
| D | run.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 set -e 10 TRIGGER=/sys/kernel/debug/provoke-crash/DIRECT 15 if [ ! -r $TRIGGER ] ; then 16 /sbin/modprobe -q lkdtm || true 17 if [ ! -r $TRIGGER ] ; then 29 line=$(grep -E '^#?'"$test"'\b' tests.txt) 30 if [ -z "$line" ]; then 35 if ! grep -E -q '^'"$test"'$' "$TRIGGER" ; then 41 test=$(echo "$line" | cut -d" " -f1) [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/lkdtm/ |
| D | run.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 set -e 10 TRIGGER=/sys/kernel/debug/provoke-crash/DIRECT 15 if [ ! -r $TRIGGER ] ; then 16 /sbin/modprobe -q lkdtm || true 17 if [ ! -r $TRIGGER ] ; then 29 line=$(grep -E '^#?'"$test"'\b' tests.txt) 30 if [ -z "$line" ]; then 35 if ! grep -E -q '^'"$test"'$' "$TRIGGER" ; then 41 test=$(echo "$line" | cut -d" " -f1) [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | nvram_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 51 .name = "ibm,rtas-log", 54 .index = -1, 60 .name = "lnx,oops-log", 63 .index = -1, 69 "ibm,rtas-log", 71 "lnx,oops-log", 79 .dump = oops_to_nvram 83 * For capturing and compressing an oops or panic report... 87 * oops_buf[] holds the compressed text, preceded by a oops header. [all …]
|