Lines Matching refs:fadump

15 #define pr_fmt(fmt) "fadump: " fmt
32 #include <asm/fadump.h>
33 #include <asm/fadump-internal.h>
38 * The CPU who acquired the lock to trigger the fadump crash should
69 * fadump_cma_init() - Initialize CMA area from a fadump reserved memory
71 * This function initializes CMA area from fadump reserved memory.
72 * The total size of fadump reserved memory covers for boot memory size
75 * The remaining portion of fadump reserved memory will be not given
79 * with us and we can still continue doing fadump.
90 * Do not use CMA if user has provided fadump=nocma kernel parameter.
91 * Return 1 to continue with fadump old behaviour.
109 * so that we can continue with fadump.
116 * exposing them to buddy allocator. Same as 'fadump=nocma' case.
121 * So we now have successfully initialized cma area for fadump.
195 * If fadump is registered, check if the memory provided
276 pr_debug("Support for firmware-assisted dump (fadump): %s\n",
323 * option. If yes, then use that but ignore base as fadump reserves
571 pr_err("Can't enable fadump with boot memory size (0x%lx) less than 0x%llx\n",
577 pr_err("Too many holes in boot memory area to enable fadump\n");
597 * trouble. So, disable HugeTLB support when fadump is active.
605 * can be released for general use by invalidating fadump.
651 /* Look for fadump= cmdline option. */
668 early_param("fadump", early_fadump_param);
696 * go ahead and trigger fadump.
699 * to trigger fadump, just keep looping here.
708 * We can't loop here indefinitely. Wait as long as fadump
709 * is in force. If we race with fadump un-registration this
711 * and reboot. If fadump is in force the first crashing
712 * cpu will definitely trigger fadump.
1064 /* Memory reserved for fadump in first kernel */
1079 /* Handle memblock regions overlaps with fadump reserved area */
1094 /* No overlap with fadump reserved memory region */
1153 /* Initialize fadump crash info header. */
1444 * /sys/kernel/fadump/hotplug_ready sysfs node returns 1, which inidcates
1445 * to usersapce that fadump re-registration is not required on memory
1575 ATTRIBUTE_GROUPS(fadump);
1583 fadump_kobj = kobject_create_and_add("fadump", kernel_kobj);
1585 pr_err("failed to create fadump kobject\n");
1611 * - fadump_enabled -> fadump/enabled
1612 * - fadump_registered -> fadump/registered
1613 * - fadump_release_mem -> fadump/release_mem
1668 * Check if the fadump header of crashed kernel is compatible with fadump kernel.
1671 * members of fadump header to ensure safe dump collection.
1682 pr_err("Endianness mismatch between the crashed and fadump kernels.\n");
1691 * of the fadump header do not match between crashed and fadump kernel.
1712 /* Avoid processing the dump if fadump header isn't compatible */
1741 * for fadump/capture kernel.
1816 * In case of panic, fadump is triggered via ppc_panic_event()