/linux/Documentation/fault-injection/ |
H A D | provoke-crashes.rst | 7 The lkdtm module provides an interface to disrupt (and usually crash) 9 the kernel's exception handling and to test crash dumps obtained using 14 You can select the location of the trigger ("crash point name") and the 15 type of action ("crash point type") either through module arguments when 35 Indicates the action to be taken on hitting the crash point. 38 See the contents of `/sys/kernel/debug/provoke-crash/DIRECT` for 42 Indicates the number of times the crash point is to be hit 47 <debugfs>/provoke-crash/<crashpoint>. E.g.:: 50 echo EXCEPTION > /sys/kernel/debug/provoke-crash/INT_HARDWARE_ENTRY 57 cat <(echo WRITE_RO) >/sys/kernel/debug/provoke-crash/DIRECT
|
/linux/kernel/ |
H A D | Kconfig.kexec | 3 menu "Kexec and crash features" 113 bool "kernel crash dumps" 120 Generate crash dump after being started by kexec. 121 This should be normally only set in special crash dump kernels 124 a crash by kdump/kexec. The crash dump kernel must be compiled 134 bool "Support saving crash dump to dm-crypt encrypted volume" 152 tristate "Unit Tests for kernel crash dumps" if !KUNIT_ALL_TESTS 156 This option builds KUnit unit tests for kernel crash dumps. The unit 163 bool "Update the crash elfcorehdr on system configuration changes" 168 Enable direct update to the crash elfcorehdr (which contains [all …]
|
H A D | crash_core.c | 3 * crash.c - kernel crash support code. 35 /* Per cpu memory for storing cpu states in case of system crash. */ 57 * crash memory. as we have arch_kexec_protect_crashkres() in kimage_crash_copy_vmcoreinfo() 60 * the other hand, we still need to operate it when crash in kimage_crash_copy_vmcoreinfo() 123 * running on one cpu from replacing the crash kernel in __crash_kexec() 126 * If the crash kernel was not located in a fixed area in __crash_kexec() 256 …kexec_dprintk("Crash PT_LOAD ELF header. phdr=%p vaddr=0x%llx, paddr=0x%llx, sz=0x%llx e_phnum=%d … in crash_prepare_elf64_headers() 504 #define pr_fmt(fmt) "crash hp: " fmt 508 * usually rarely happen, there will be many crash hotplug events notified 511 * serialize the crash hotplug handling specifically. [all …]
|
H A D | kexec.c | 51 /* Enable special crash kernel control page alloc policy. */ in kimage_alloc_init() 100 * crash kernels we need a serialization here to prevent multiple crash in do_kexec_load() 124 * crashes. Free any current crash dump kernel before in do_kexec_load() 147 * Some architecture(like S390) may touch the crash memory before in do_kexec_load()
|
H A D | elfcorehdr.c | 9 * stores the physical address of elf header of crash image 19 * stores the size of elf header of crash image
|
/linux/drivers/misc/lkdtm/ |
H A D | core.c | 6 * sanity checking and crash dumps obtained using different dumping 56 /* Crash points */ 75 /* Define the possible places where we can trigger a crash point. */ 116 MODULE_PARM_DESC(cpoint_name, " Crash Point, where kernel is to be crashed"); 120 MODULE_PARM_DESC(cpoint_type, " Crash Point Type, action to be taken on "\ 121 "hitting the crash point"); 125 MODULE_PARM_DESC(cpoint_count, " Crash Point Count, number of times the "\ 126 "crash point is to be hit to trigger action"); 197 /* Global crash counter and spinlock. */ 212 pr_info("Crash point %s of type %s hit, trigger in %d rounds\n", in lkdtm_kprobe_handler() [all …]
|
/linux/arch/powerpc/kexec/ |
H A D | core.c | 67 printk("Crash kernel location must be 0x%x\n", in get_crash_base() 77 * On the LPAR platform place the crash kernel to mid of in get_crash_base() 78 * RMA size (max. of 512MB) to ensure the crash kernel in get_crash_base() 82 * system resource in the first segment. Keep the crash in get_crash_base() 96 pr_warn("Crash kernel base must be aligned to 0x%lx\n", PAGE_SIZE); in get_crash_base() 124 /* The crash region must not overlap the current kernel */ in arch_reserve_crashkernel() 126 pr_warn("Crash kernel can not overlap current kernel\n"); in arch_reserve_crashkernel() 172 /* There might be existing crash kernel properties, but we can't in export_crashk_values() 188 * crash regions to the actual memory used. in export_crashk_values()
|
/linux/arch/powerpc/include/asm/ |
H A D | fadump-internal.h | 46 * The introduction of new fields in the fadump crash info header has 48 * identifying a kernel crash from an old kernel. 51 * event of future modifications to the fadump crash info header, a 52 * version field has been introduced to track the fadump crash info 55 * Consider a few points before adding new members to the fadump crash info 68 /* fadump crash info structure */
|
/linux/arch/x86/kernel/ |
H A D | crash.c | 3 * Architecture specific (i386/x86_64) functions for kexec based crash dumps. 42 #include <asm/crash.h> 133 * Non-crash kexec calls enc_kexec_begin() while scheduling is still in native_machine_crash_shutdown() 135 * shared<->private conversions are complete. In a crash scenario, in native_machine_crash_shutdown() 166 * Exclusion of crash region, crashk_low_res and/or crashk_cma_ranges in fill_up_crash_elf_data() 324 /* Prepare memory map for crash dump kernel */ 445 /* Mark as usable to crash kernel, else crash kernel fails on boot */ in crash_load_segments() 468 #define pr_fmt(fmt) "crash hp: " fmt 478 * Initially, crash hotplug support for kexec_load was added in arch_crash_hotplug_support() 559 * Temporarily invalidate the crash image while the in arch_crash_handle_hotplug_event()
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_usb_crash.py | 9 # This is to ensure we don't crash when emulating USB devices 89 inject the USB dev through uhid and immediately see if there is a crash: 94 a crash because those access result in a segmentation fault. 96 The kernel should not crash on any (random) user space correct 98 devices to see if we can generate a uhid device without a crash.
|
/linux/Documentation/gpu/ |
H A D | msm-crash-dump.rst | 4 MSM Crash Dump Format 26 The kernel time at crash formatted as seconds.microseconds. 35 ID of the GPU that generated the crash formatted as 40 components are in use at the time of crash.
|
/linux/tools/testing/selftests/pstore/ |
H A D | pstore_crash_test | 4 # pstore_crash_test - Pstore test shell script which causes crash and reboot 13 prlog "Causing kernel crash ..." 27 # cause crash
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wil_crash_dump.c | 20 /* calculate the total size of the unpacked crash dump */ in wil_fw_get_crash_dump_bounds() 55 wil_err(wil, "fail to obtain crash dump size\n"); in wil_fw_copy_crash_dump() 70 "suspend/resume in progress. cannot copy crash dump\n"); in wil_fw_copy_crash_dump() 75 /* copy to crash dump area */ in wil_fw_copy_crash_dump()
|
H A D | wil_platform.h | 51 * generate the final crash dump. 53 * part of a crash recovery process which may include other 70 * support crash recovery.
|
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | intr_regs_no_crash_wo_pmu_test.c | 15 * sampling with -intr-regs doesn't crash 20 * A fix for crash with intr_regs was 45 * since test just expects no crash from using in intr_regs_no_crash_wo_pmu_test()
|
H A D | bhrb_no_crash_wo_pmu_test.c | 15 * enabling branch stack doesn't crash in any 20 * A fix for bhrb sampling crash was added in kernel 46 * considered since test just expects no crash from in bhrb_no_crash_wo_pmu_test()
|
/linux/scripts/tracing/ |
H A D | ftrace-bisect.sh | 8 # crash. Here's the steps to take. 59 # If it didn't crash. 84 # And if it doesn't crash, we are done. 86 # If it does crash, do this again (there's more than one problem function)
|
/linux/drivers/gpu/drm/ci/xfails/ |
H A D | panfrost-rk3288-fails.txt | 1 panfrost/panfrost_prime@gem-prime-import,Crash 2 panfrost/panfrost_submit@pan-submit-error-bad-requirements,Crash
|
/linux/include/linux/ |
H A D | kmsg_dump.h | 43 * struct kmsg_dump_detail - kernel crash detail 44 * @reason: reason for the crash, see kmsg_dump_reason. 54 * struct kmsg_dumper - kernel crash message dumper structure
|
/linux/Documentation/admin-guide/kdump/ |
H A D | vmcoreinfo.rst | 11 section and used by user-space tools like crash and makedumpfile to 21 code from which the kernel has been built. For example, crash uses it to 45 Offset of the name's member. Crash Utility and Makedumpfile get 360 User-space tools need to know whether the crash kernel was in 5-level 384 address by Crash. 390 mask. Makedumpfile tools need to know whether the crash kernel was 391 encrypted. If SME is enabled in the first kernel, the crash kernel's 414 crash kernel when converting virtual addresses to physical addresses. 475 It indicates whether the crash kernel supports large physical address 516 vmemmap address translation information is stored in the crash kernel,
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-fadump.h | 16 * mess with crash'ed kernel's memory during MPIPL. 24 * register-for/process crash dump. Format version is used to keep a tab on 34 * in the capture kernel to process the crash dump.
|
/linux/fs/jfs/ |
H A D | resize.c | 216 * crash recovery: in jfs_extendfs() 244 * crash recovery: if log move in progress, in jfs_extendfs() 264 * extendfs() for new extension, retry after crash recovery; in jfs_extendfs() 427 * iag lists if system crash occurs. in jfs_extendfs() 447 * crash before it to pre-extension state; in jfs_extendfs() 455 * for crash before completion of write in jfs_extendfs() 457 * for crash after completion of write, in jfs_extendfs()
|
/linux/arch/x86/include/asm/ |
H A D | crash_reserve.h | 5 /* 16M alignment for crash kernel regions */ 9 * Keep the crash kernel below this limit.
|
/linux/arch/powerpc/kernel/ |
H A D | note.S | 19 * being run on a machine with ultravisor, the kernel will probably crash 20 * trying to access ultravisor resources. For instance, it may crash in early
|
/linux/Documentation/arch/powerpc/ |
H A D | elfnote.rst | 29 being run on a machine with ultravisor, the kernel will probably crash 30 trying to access ultravisor resources. For instance, it may crash in early
|