/linux/Documentation/trace/coresight/ |
H A D | panic.rst | 2 Using Coresight for Kernel panic and Watchdog reset 8 debug kernel panic and watchdog reset scenarios. 10 Coresight trace during Kernel panic 12 From the coresight driver point of view, addressing the kernel panic 19 b. Support for stopping coresight blocks at the time of panic 23 d. Support for reading trace data captured at the time of panic 43 Disabling coresight blocks at the time of panic 46 kernel panic, it would be desirable to stop the coresight blocks at the 47 time of panic. 52 Trigger on panic [all …]
|
/linux/tools/testing/selftests/wireguard/qemu/ |
H A D | init.c | 39 static void panic(const char *what) in panic() function 53 panic("uname"); in print_banner() 68 panic("open(random)"); in seed_rng() 70 panic("ioctl(RNDADDTOENTCNT)"); in seed_rng() 80 panic("settimeofday()"); in set_time() 93 panic("devtmpfs mount"); in mount_filesystems() 95 panic("procfs mount"); in mount_filesystems() 97 panic("sysfs mount"); in mount_filesystems() 99 panic("tmpfs mount"); in mount_filesystems() 101 panic("tmpfs mount"); in mount_filesystems() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | pstore-blk.rst | 3 pstore block oops/panic logger 9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a 78 The chunk size in KB for oops/panic front-end. It **MUST** be a multiple of 4. 79 It's optional if you do not care about the oops/panic log. 81 There are multiple chunks for oops/panic front-end depending on the remaining 84 pstore/blk will log to oops/panic chunks one by one, and always overwrite the 93 Unlike oops/panic front-end, there is only one chunk for pmsg front-end. 168 the first line of oops/panic data. For example:: 170 Panic: Total 16 times 172 It means that it's OOPS|Panic for the 16th time since the first booting. [all …]
|
H A D | lockup-watchdogs.rst | 13 panic; a sysctl, "kernel.softlockup_panic", a kernel parameter, 28 The panic option can be used in combination with panic_timeout (this 29 timeout is set through the confusingly named "kernel.panic" sysctl), 47 generate a kernel warning or call panic, depending on the 55 will call panic if it was instructed to do so or resume execution of
|
/linux/kernel/trace/rv/ |
H A D | reactor_panic.c | 5 * Panic RV reactor: 6 * Prints the exception msg to the kernel message log and panic(). 18 panic(msg); in rv_panic_reaction() 22 .name = "panic", 23 .description = "panic the system if an exception is found.", 42 MODULE_DESCRIPTION("panic rv reactor: panic if an exception is found.");
|
H A D | Kconfig | 59 bool "Panic reactor" 63 Enables the panic reactor. The panic reactor emits a printk() 64 message if an exception is found and panic()s the system.
|
/linux/kernel/ |
H A D | panic.c | 3 * linux/kernel/panic.c 100 .procname = "panic", 175 * Stop ourself in panic -- architecture code may override this 193 * Stop other CPUs in panic. Architecture dependent code may override this 203 * This function can be called twice in panic path, but obviously in crash_smp_send_stop() 211 * unfortunately means it may not be hardened to work in a panic in crash_smp_send_stop() 221 * A variant of panic() called from NMI context. We return if we've already 235 panic("%s", msg); in nmi_panic() 273 panic("%s: panic_on_warn set ...\n", origin); in check_panic_on_warn() 277 panic("%s: system warned too often (kernel.warn_limit is %d)", in check_panic_on_warn() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | Kconfig | 57 bool "Display a user-friendly message when a kernel panic occurs" 62 Enable a drm panic handler, which will display a user-friendly message 63 when a kernel panic occurs. It's useful when using a user-space 70 hex "Drm panic screen foreground color, in RGB" 75 hex "Drm panic screen background color, in RGB" 84 panic handler to write the panic message to this plane scanout buffer. 89 string "Panic screen formatter" 94 panic occurs. You can choose between "user", a short message telling 102 bool "Add a panic screen with a QR code" 106 This option adds a QR code generator, and a panic screen with a QR [all …]
|
/linux/tools/testing/selftests/nolibc/ |
H A D | Makefile | 152 QEMU_ARGS_i386 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=… 153 QEMU_ARGS_x86_64 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=… 154 QEMU_ARGS_x86 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=… 155 QEMU_ARGS_arm64 = -M virt -cpu cortex-a53 -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 156 QEMU_ARGS_arm = -M virt -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 157 QEMU_ARGS_armthumb = -M virt -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 158 QEMU_ARGS_mips32le = -M malta -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 159 QEMU_ARGS_mips32be = -M malta -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 160 QEMU_ARGS_ppc = -M g3beige -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=%)" 161 QEMU_ARGS_ppc64 = -M powernv -append "console=hvc0 panic=-1 $(TEST:%=NOLIBC_TEST=%)" [all …]
|
/linux/sound/soc/sof/ |
H A D | ops.c | 146 * snd_sof_dsp_panic - handle a received DSP panic message 148 * @offset: offset of panic information 149 * @non_recoverable: the panic is fatal, no recovery will be done by the caller 155 * offset from the panic message. in snd_sof_dsp_panic() 161 * Print warning if the offset from the panic message differs from in snd_sof_dsp_panic() 166 "%s: dsp_oops_offset %zu differs from panic offset %u\n", in snd_sof_dsp_panic() 170 * Set the fw_state to crashed only in case of non recoverable DSP panic in snd_sof_dsp_panic() 177 snd_sof_dsp_dbg_dump(sdev, "DSP panic!", in snd_sof_dsp_panic() 183 "DSP panic (recovery will be attempted)", in snd_sof_dsp_panic()
|
/linux/drivers/watchdog/ |
H A D | pretimeout_panic.c | 13 * pretimeout_panic - Panic on watchdog pretimeout event 16 * Panic, watchdog has not been fed till pretimeout event. 20 panic("watchdog pretimeout event\n"); in pretimeout_panic() 24 .name = "panic", 41 MODULE_DESCRIPTION("Panic watchdog pretimeout governor");
|
/linux/arch/xtensa/kernel/ |
H A D | s32c1i_selftest.c | 78 panic("S32C1I exception error"); in check_s32c1i() 80 panic("S32C1I compare error"); in check_s32c1i() 92 panic("S32C1I exception error (b)"); in check_s32c1i() 94 panic("S32C1I store error"); in check_s32c1i() 101 * we can get rid of this panic for single core (not SMP) in check_s32c1i() 103 panic("S32C1I exceptions not currently supported"); in check_s32c1i() 106 panic("inconsistent S32C1I exceptions"); in check_s32c1i()
|
/linux/Documentation/driver-api/ |
H A D | ipmi.rst | 80 If you want the driver to put an event into the event log on a panic, 81 enable the 'Generate a panic event to all BMCs on a panic' option. If 82 you want the whole panic string put into the event log using OEM 83 events, enable the 'Generate OEM events containing the panic string' 583 this driver cannot do IPMI panic events, extend the watchdog at panic 584 time, or other panic-related IPMI functions without special kernel 675 is the amount of seconds before the reset that the pre-timeout panic will 680 is the value of timeout which is set on kernel panic, in order to let actions 681 such as kdump to occur during panic. 693 "preop_panic" to set the preoperation to panic, or "preop_give_data" [all …]
|
/linux/fs/pstore/ |
H A D | Kconfig | 35 problems while pstore is recording panic metadata. 42 messages, even if no oops or panic happened. 64 was last called before a reset or panic. 69 tristate "Log panic/oops to a RAM buffer" 76 This enables panic and oops messages to be logged to a circular 92 tristate "Log panic/oops to a block device" 98 This enables panic and oops message to be logged to a block dev 139 This just sets size of kmsg dump (oops, panic, etc) log for
|
/linux/drivers/char/ipmi/ |
H A D | Kconfig | 31 bool 'Generate a panic event to all BMCs on a panic' 33 When a panic occurs, this will cause the IPMI message handler to, 34 by default, generate an IPMI event describing the panic to each 41 bool 'Generate OEM events containing the panic string' 44 When a panic occurs, this will cause the IPMI message handler to, 46 address of the panic generator (byte 4 of the event), a sequence
|
/linux/crypto/asymmetric_keys/ |
H A D | selftest.c | 34 panic("Can't allocate certs %s selftest keyring: %ld\n", name, PTR_ERR(keyring)); in fips_signature_selftest() 38 panic("Can't allocate certs %s selftest keyring: %d\n", name, ret); in fips_signature_selftest() 44 panic("Certs %s selftest: pkcs7_parse_message() = %d\n", name, ret); in fips_signature_selftest() 50 panic("Certs %s selftest: pkcs7_verify() = %d\n", name, ret); in fips_signature_selftest() 54 panic("Certs %s selftest: pkcs7_validate_trust() = %d\n", name, ret); in fips_signature_selftest()
|
/linux/arch/mips/mti-malta/ |
H A D | malta-dtshim.c | 202 panic("Unsupported physical memory map v%u detected", in append_memory() 208 panic("Unable to add memory node to DT: %d", mem_off); in append_memory() 212 panic("Unable to set memory node device_type: %d", err); in append_memory() 218 panic("Unable to set memory regs property: %d", err); in append_memory() 224 panic("Unable to set linux,usable-memory property: %d", err); in append_memory() 307 panic("Corrupt DT"); in malta_dt_shim() 311 panic("Unable to open FDT: %d", err); in malta_dt_shim() 315 panic("No / node in DT"); in malta_dt_shim() 319 panic("No root compatible property in DT: %d", len); in malta_dt_shim() 330 panic("Unable to pack FDT: %d\n", err); in malta_dt_shim()
|
/linux/arch/mips/pci/ |
H A D | msi-octeon.c | 144 panic("arch_setup_msi_irq: Unable to find a free MSI interrupt"); in arch_setup_msi_irq() 175 panic("arch_setup_msi_irq: Invalid octeon_dma_bar_type"); in arch_setup_msi_irq() 205 panic("arch_teardown_msi_irq: Attempted to teardown illegal " in arch_teardown_msi_irq() 228 panic("arch_teardown_msi_irq: Attempted to teardown MSI " in arch_teardown_msi_irq() 379 panic("request_irq(OCTEON_IRQ_PCI_MSI0) failed"); in octeon_msi_initialize() 383 panic("request_irq(OCTEON_IRQ_PCI_MSI1) failed"); in octeon_msi_initialize() 387 panic("request_irq(OCTEON_IRQ_PCI_MSI2) failed"); in octeon_msi_initialize() 391 panic("request_irq(OCTEON_IRQ_PCI_MSI3) failed"); in octeon_msi_initialize() 397 panic("request_irq(OCTEON_IRQ_PCI_MSI0) failed"); in octeon_msi_initialize() 401 panic("request_irq(OCTEON_IRQ_PCI_MSI1) failed"); in octeon_msi_initialize() [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-kmsg.c | 3 * kmsg dumper that ensures the OPAL console fully flushes panic messages 17 * OPAL_POLL_EVENTS, which flushes some console output. In a panic state, 18 * however, the kernel no longer calls OPAL_POLL_EVENTS and the panic message 26 * Outside of a panic context the pollers will continue to run, in kmsg_dump_opal_console_flush()
|
/linux/rust/macros/ |
H A D | helpers.rs | 26 panic!("Escape sequences in string literals not yet handled"); in try_string() 30 panic!("Raw string literals are not yet handled"); in try_string() 45 panic!("Expected Punct"); in expect_punct() 63 panic!("Expected Group"); in expect_group() 69 panic!("Expected end"); in expect_end()
|
/linux/drivers/hv/ |
H A D | hv_common.c | 111 * Boolean to control whether to report panic messages over Hyper-V. 119 * reported to Hyper-V on panic. 145 * The following callback works both as die and panic notifier; its 146 * goal is to provide panic information to the hypervisor unless the 150 * Notice that both the panic/die report notifiers are registered only 159 /* Don't notify Hyper-V unless we have a die oops event or panic. */ in hv_die_panic_notify_crash() 172 * Hyper-V should be notified only once about a panic/die. If we will in hv_die_panic_notify_crash() 197 * Write dump contents to the page. No need to synchronize; panic should in hv_kmsg_dump() 206 * P3 to contain the physical address of the panic page & P4 to in hv_kmsg_dump() 207 * contain the size of the panic data in that page. Rest of the in hv_kmsg_dump() [all …]
|
/linux/drivers/mtd/ |
H A D | mtdoops.c | 3 * MTD Oops/Panic logger 173 static void mtdoops_inc_counter(struct mtdoops_context *cxt, int panic) in mtdoops_inc_counter() argument 185 panic ? "immediately" : "scheduled"); in mtdoops_inc_counter() 186 if (panic) { in mtdoops_inc_counter() 187 /* In case of panic, erase immediately */ in mtdoops_inc_counter() 199 static void mtdoops_write(struct mtdoops_context *cxt, int panic) in mtdoops_write() argument 215 if (panic) { in mtdoops_write() 219 pr_err("Cannot write from panic without panic_write\n"); in mtdoops_write() 232 mtdoops_inc_counter(cxt, panic); in mtdoops_write() 457 MODULE_DESCRIPTION("MTD Oops/Panic console logger/driver");
|
/linux/sound/usb/hiface/ |
H A D | pcm.c | 53 bool panic; /* if set driver won't do anymore pcm on device */ member 211 /* reset panic state when starting a new stream */ in hiface_pcm_stream_start() 212 rt->panic = false; in hiface_pcm_stream_start() 311 if (rt->panic || rt->stream_state == STREAM_STOPPING) in hiface_pcm_out_urb_handler() 346 rt->panic = true; in hiface_pcm_out_urb_handler() 356 if (rt->panic) in hiface_pcm_open() 398 if (rt->panic) in hiface_pcm_close() 423 if (rt->panic) in hiface_pcm_prepare() 457 if (rt->panic) in hiface_pcm_trigger() 489 if (rt->panic || !sub) in hiface_pcm_pointer() [all …]
|
/linux/arch/mips/generic/ |
H A D | irq.c | 24 panic("Unimplemented!"); in get_c0_fdc_int() 40 panic("Unimplemented!"); in get_c0_perfcount_int() 56 panic("Unimplemented!"); in get_c0_compare_int()
|
/linux/arch/mips/ralink/ |
H A D | of.c | 63 panic("Failed to find %s controller node", type); in mtmips_of_remap_node() 66 panic("Failed to get resource for %s node", np->name); in mtmips_of_remap_node() 71 panic("Failed to request resources for %s node", np->name); in mtmips_of_remap_node() 84 panic("Failed to remap core resources"); in ralink_of_remap()
|