Home
last modified time | relevance | path

Searched refs:crashk_low_res (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/x86/kernel/
H A Dcrash.c182 if (crashk_low_res.end) in elf_header_exclude_ranges()
183 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, in elf_header_exclude_ranges()
184 crashk_low_res.end); in elf_header_exclude_ranges()
316 if (crashk_low_res.end) { in crash_setup_memmap_entries()
317 ei.addr = crashk_low_res.start; in crash_setup_memmap_entries()
318 ei.size = resource_size(&crashk_low_res); in crash_setup_memmap_entries()
H A Dsetup.c537 crashk_low_res.start = low_base; in reserve_crashkernel_low()
538 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
539 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low()
H A Dmachine_kexec_64.c573 kexec_mark_range(crashk_low_res.start, crashk_low_res.end, protect); in kexec_mark_crashkres()
/openbmc/linux/arch/arm64/mm/
H A Dinit.c116 crashk_low_res.start = low_base; in reserve_crashkernel_low()
117 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()
118 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low()
231 if (crashk_low_res.end) in reserve_crashkernel()
232 kmemleak_ignore_phys(crashk_low_res.start); in reserve_crashkernel()
/openbmc/linux/arch/arm64/kernel/
H A Dmachine_kexec_file.c71 if (crashk_low_res.end) { in prepare_elf_headers()
72 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, crashk_low_res.end); in prepare_elf_headers()
H A Dmachine_kexec.c314 if (!crashk_low_res.end) in crash_is_nosave()
317 if ((addr < crashk_low_res.start) || (crashk_low_res.end < addr)) in crash_is_nosave()
/openbmc/linux/kernel/
H A Dkexec_core.c64 struct resource crashk_low_res = { variable
1110 size += crash_resource_size(&crashk_low_res); in crash_get_memory_size()
1157 low_size = crash_resource_size(&crashk_low_res); in crash_shrink_memory()
1178 ret = __crash_shrink_memory(&crashk_low_res, new_size); in crash_shrink_memory()
1184 if (!crashk_res.end && crashk_low_res.end) { in crash_shrink_memory()
1185 crashk_res.start = crashk_low_res.start; in crash_shrink_memory()
1186 crashk_res.end = crashk_low_res.end; in crash_shrink_memory()
1187 release_resource(&crashk_low_res); in crash_shrink_memory()
1188 crashk_low_res.start = 0; in crash_shrink_memory()
1189 crashk_low_res.end = 0; in crash_shrink_memory()
/openbmc/linux/drivers/of/
H A Dkexec.c405 if (crashk_low_res.end) { in of_kexec_alloc_and_setup_fdt()
408 crashk_low_res.start, in of_kexec_alloc_and_setup_fdt()
409 crashk_low_res.end - crashk_low_res.start + 1); in of_kexec_alloc_and_setup_fdt()
/openbmc/linux/arch/riscv/kernel/
H A Dsetup.c175 if (crashk_low_res.start != crashk_low_res.end) { in init_resources()
176 ret = add_resource(&iomem_resource, &crashk_low_res); in init_resources()
/openbmc/linux/include/linux/
H A Dkexec.h28 extern struct resource crashk_low_res;
/openbmc/linux/arch/riscv/mm/
H A Dinit.c1371 crashk_low_res.start = low_base; in reserve_crashkernel_low()
1372 crashk_low_res.end = low_base + low_size - 1; in reserve_crashkernel_low()