Home
last modified time | relevance | path

Searched full:panic (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/linux/Documentation/trace/coresight/
H A Dpanic.rst2 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 Dinit.c39 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/rust/proc-macro2/
H A Ddetection.rs34 // Swap in a null panic hook to avoid printing "thread panicked" to stderr,
37 // of the proc_macro crate's APIs currently panic.
50 // There is still a race condition where a panic in a different thread can
51 // happen during the interval that the user's original panic hook is
53 // sufficiently unlikely and less bad than printing panic messages to stderr
60 use std::panic::{self, PanicInfo}; in initialize()
66 let original_hook = panic::take_hook(); in initialize()
67 panic::set_hook(null_hook); in initialize()
69 let works = panic::catch_unwind(proc_macro::Span::call_site).is_ok(); in initialize()
72 let hopefully_null_hook = panic::take_hook(); in initialize()
[all …]
/linux/Documentation/admin-guide/
H A Dpstore-blk.rst3 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 …]
/linux/tools/testing/selftests/nolibc/
H A DMakefile.nolibc152 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_x32 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)"
155 QEMU_ARGS_x86 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)"
156 QEMU_ARGS_arm64 = -M virt -cpu cortex-a53 -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
157 QEMU_ARGS_arm = -M virt -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
158 QEMU_ARGS_armthumb = -M virt -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
159 QEMU_ARGS_mips32le = -M malta -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
160 QEMU_ARGS_mips32be = -M malta -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
161 QEMU_ARGS_mipsn32le = -M malta -cpu 5KEc -append "panic
[all...]
/linux/kernel/trace/rv/
H A Dreactor_panic.c5 * Panic RV reactor:
6 * Prints the exception msg to the kernel message log and panic().
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.");
/linux/sound/soc/sof/
H A Dops.c126 * snd_sof_dsp_panic - handle a received DSP panic message in snd_sof_dsp_update_bits_forced_unlocked()
128 * @offset: offset of panic information in snd_sof_dsp_update_bits_forced_unlocked()
129 * @non_recoverable: the panic is fatal, no recovery will be done by the caller in snd_sof_dsp_update_bits_forced_unlocked()
135 * offset from the panic message. in snd_sof_dsp_update_bits_forced()
141 * Print warning if the offset from the panic message differs from in snd_sof_dsp_update_bits_forced()
146 "%s: dsp_oops_offset %zu differs from panic offset %u\n",
150 * Set the fw_state to crashed only in case of non recoverable DSP panic
157 snd_sof_dsp_dbg_dump(sdev, "DSP panic!", in snd_sof_dsp_panic()
163 "DSP panic (recovery will be attempted)", in snd_sof_dsp_panic()
/linux/drivers/watchdog/
H A Dpretimeout_panic.c13 * 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 Ds32c1i_selftest.c78 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 Dipmi.rst80 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 DKconfig35 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/crypto/asymmetric_keys/
H A Dselftest.c34 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/drivers/char/ipmi/
H A DKconfig31 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/arch/mips/mti-malta/
H A Dmalta-dtshim.c202 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 Dmsi-octeon.c144 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 Dopal-kmsg.c3 * 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/drivers/gpu/drm/tests/
H A Ddrm_panic_test.c6 * KUNIT tests for drm panic
17 /* Check the framebuffer color only if the panic colors are the default */
38 * Run all tests for the 3 panic screens: user, kmsg and qr_code
80 * Test drawing the panic screen, using a memory mapped framebuffer
114 * Test drawing the panic screen, using a list of pages framebuffer
178 * Test drawing the panic screen, using the set_pixel callback
197 sprintf(desc, "Panic screen %s, mode: %d x %d \t%p4cc", in drm_test_panic_desc()
/linux/drivers/hv/
H A Dhv_common.c111 * 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()
199 * panic notification should be done even if there is no message data. in hv_kmsg_dump()
208 * P3 to contain the physical address of the panic page & P4 to in hv_kmsg_dump()
[all …]
/linux/sound/usb/hiface/
H A Dpcm.c53 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()
310 if (rt->panic || rt->stream_state == STREAM_STOPPING) in hiface_pcm_out_urb_handler()
344 rt->panic = true; in hiface_pcm_out_urb_handler()
354 if (rt->panic) in hiface_pcm_open()
391 if (rt->panic) in hiface_pcm_close()
413 if (rt->panic) in hiface_pcm_prepare()
442 if (rt->panic) in hiface_pcm_trigger()
473 if (rt->panic || !sub) in hiface_pcm_pointer()
[all …]
/linux/rust/macros/
H A Dhelpers.rs
/linux/kernel/printk/
H A Dnbcon.c16 #include <linux/panic.h>
87 * console is an unsafe state. It is used only in panic() by the final
90 * Note that separate record buffers are used in panic(). As a result,
102 * - Protection of the panic CPU.
181 * (such as panic with CONSOLE_REPLAY_ALL).
234 * -EPERM: A panic is in progress and this is neither the panic
252 * Panic does not imply that the console is owned. However, in nbcon_context_try_acquire_direct()
253 * since all non-panic CPUs are stopped during panic(), i in nbcon_context_try_acquire_direct()
[all...]
/linux/scripts/
H A Dgenerate_rust_target.rs188 panic!("arm uses the builtin rustc target"); in main()
190 panic!("arm64 uses the builtin rustc aarch64-unknown-none target"); in main()
193 panic!("64-bit RISC-V uses the builtin rustc riscv64-unknown-none-elf target"); in main()
195 panic!("32-bit RISC-V is an unsupported architecture"); in main()
243 panic!("32-bit x86 only works under UML"); in main()
267 panic!("loongarch uses the builtin rustc loongarch64-unknown-none-softfloat target"); in main()
269 panic!("s390 uses the builtin rustc s390x-unknown-none-softfloat target"); in main()
271 panic!("Unsupported architecture"); in main()
/linux/arch/um/os-Linux/
H A Dsmp.c63 panic("Failed to restore the signal mask, errno = %d", errno); in os_start_cpu_thread()
82 panic("Failed to restore the signal mask, errno = %d", errno); in os_start_secondary()
107 panic("%s: sigprocmask failed, errno = %d", __func__, errno); in __local_ipi_set()
145 panic("%s: sigaction failed, errno = %d", __func__, errno); in os_init_smp()
/linux/arch/mips/generic/
H A Dirq.c24 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 Dof.c63 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()

12345678910>>...33