Home
last modified time | relevance | path

Searched refs:crash_base (Results 1 – 7 of 7) sorted by relevance

/arch/arm64/mm/
Dinit.c71 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
75 &crash_size, &crash_base); in reserve_crashkernel()
82 if (crash_base == 0) { in reserve_crashkernel()
84 crash_base = memblock_find_in_range(0, ARCH_LOW_ADDRESS_LIMIT, in reserve_crashkernel()
86 if (crash_base == 0) { in reserve_crashkernel()
93 if (!memblock_is_region_memory(crash_base, crash_size)) { in reserve_crashkernel()
98 if (memblock_is_region_reserved(crash_base, crash_size)) { in reserve_crashkernel()
103 if (!IS_ALIGNED(crash_base, SZ_2M)) { in reserve_crashkernel()
108 memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
111 crash_base, crash_base + crash_size, crash_size >> 20); in reserve_crashkernel()
[all …]
/arch/powerpc/kernel/
Dmachine_kexec.c117 unsigned long long crash_size, crash_base, total_mem_sz; in reserve_crashkernel() local
123 &crash_size, &crash_base); in reserve_crashkernel()
125 crashk_res.start = crash_base; in reserve_crashkernel()
126 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
166 crash_base = PAGE_ALIGN(crashk_res.start); in reserve_crashkernel()
167 if (crash_base != crashk_res.start) { in reserve_crashkernel()
170 crashk_res.start = crash_base; in reserve_crashkernel()
/arch/x86/kernel/
Dsetup.c531 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
538 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
542 &crash_size, &crash_base); in reserve_crashkernel()
554 if (!crash_base) { in reserve_crashkernel()
564 crash_base = memblock_find_in_range(CRASH_ALIGN, in reserve_crashkernel()
567 if (!crash_base) in reserve_crashkernel()
568 crash_base = memblock_find_in_range(CRASH_ALIGN, in reserve_crashkernel()
571 if (!crash_base) { in reserve_crashkernel()
578 start = memblock_find_in_range(crash_base, in reserve_crashkernel()
579 crash_base + crash_size, in reserve_crashkernel()
[all …]
/arch/s390/kernel/
Dsetup.c666 unsigned long long crash_base, crash_size; in reserve_crashkernel() local
671 &crash_base); in reserve_crashkernel()
673 crash_base = ALIGN(crash_base, KEXEC_CRASH_MEM_ALIGN); in reserve_crashkernel()
684 low = crash_base ?: OLDMEM_BASE; in reserve_crashkernel()
688 crash_base = low; in reserve_crashkernel()
692 high = crash_base ? crash_base + crash_size : ULONG_MAX; in reserve_crashkernel()
694 if (crash_base && crash_base < low) { in reserve_crashkernel()
699 low = crash_base ?: low; in reserve_crashkernel()
700 crash_base = memblock_find_in_range(low, high, crash_size, in reserve_crashkernel()
704 if (!crash_base) { in reserve_crashkernel()
[all …]
/arch/sh/kernel/
Dmachine_kexec.c155 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
159 &crash_size, &crash_base); in reserve_crashkernel()
161 crashk_res.start = crash_base; in reserve_crashkernel()
162 crashk_res.end = crash_base + crash_size - 1; in reserve_crashkernel()
/arch/arm/kernel/
Dsetup.c993 unsigned long long crash_size, crash_base; in reserve_crashkernel() local
999 &crash_size, &crash_base); in reserve_crashkernel()
1003 if (crash_base <= 0) { in reserve_crashkernel()
1008 crash_base = memblock_find_in_range(CRASH_ALIGN, crash_max, in reserve_crashkernel()
1010 if (!crash_base) { in reserve_crashkernel()
1017 start = memblock_find_in_range(crash_base, in reserve_crashkernel()
1018 crash_base + crash_size, in reserve_crashkernel()
1020 if (start != crash_base) { in reserve_crashkernel()
1026 ret = memblock_reserve(crash_base, crash_size); in reserve_crashkernel()
1029 (unsigned long)crash_base); in reserve_crashkernel()
[all …]
/arch/mips/kernel/
Dsetup.c491 unsigned long long crash_size, crash_base; in mips_parse_crashkernel() local
496 &crash_size, &crash_base); in mips_parse_crashkernel()
500 if (!memblock_find_in_range(crash_base, crash_base + crash_size, crash_size, 1)) { in mips_parse_crashkernel()
505 crashk_res.start = crash_base; in mips_parse_crashkernel()
506 crashk_res.end = crash_base + crash_size - 1; in mips_parse_crashkernel()