/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
H A D | core_32.c | 19 unsigned long reboot_code_buffer, 33 unsigned long reboot_code_buffer, reboot_code_buffer_phys; in default_machine_kexec() local 46 reboot_code_buffer = in default_machine_kexec() 48 reboot_code_buffer_phys = virt_to_phys((void *)reboot_code_buffer); in default_machine_kexec() 51 memcpy((void *)reboot_code_buffer, relocate_new_kernel, in default_machine_kexec() 54 flush_icache_range(reboot_code_buffer, in default_machine_kexec() 55 reboot_code_buffer + KEXEC_CONTROL_PAGE_SIZE); in default_machine_kexec() 62 rnk = (relocate_new_kernel_t) reboot_code_buffer; in default_machine_kexec()
|
/kernel/linux/linux-6.6/arch/powerpc/kexec/ |
H A D | core_32.c | 19 unsigned long reboot_code_buffer, 33 unsigned long reboot_code_buffer, reboot_code_buffer_phys; in default_machine_kexec() local 46 reboot_code_buffer = in default_machine_kexec() 48 reboot_code_buffer_phys = virt_to_phys((void *)reboot_code_buffer); in default_machine_kexec() 51 memcpy((void *)reboot_code_buffer, relocate_new_kernel, in default_machine_kexec() 54 flush_icache_range(reboot_code_buffer, in default_machine_kexec() 55 reboot_code_buffer + KEXEC_CONTROL_PAGE_SIZE); in default_machine_kexec() 62 rnk = (relocate_new_kernel_t) reboot_code_buffer; in default_machine_kexec()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | machine_kexec.c | 21 static unsigned long reboot_code_buffer; variable 164 reboot_code_buffer + relocate_new_kernel_size); in kexec_nonboot_cpu_jump() 201 local_flush_icache_range(reboot_code_buffer, in kexec_reboot() 202 reboot_code_buffer + relocate_new_kernel_size); in kexec_reboot() 204 do_kexec = (void *)reboot_code_buffer; in kexec_reboot() 214 reboot_code_buffer = in machine_kexec() 227 memcpy((void*)reboot_code_buffer, relocate_new_kernel, in machine_kexec() 258 relocated_kexec_smp_wait = reboot_code_buffer + in machine_kexec()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | machine_kexec.c | 21 static unsigned long reboot_code_buffer; variable 164 reboot_code_buffer + relocate_new_kernel_size); in kexec_nonboot_cpu_jump() 201 local_flush_icache_range(reboot_code_buffer, in kexec_reboot() 202 reboot_code_buffer + relocate_new_kernel_size); in kexec_reboot() 204 do_kexec = (void *)reboot_code_buffer; in kexec_reboot() 214 reboot_code_buffer = in machine_kexec() 227 memcpy((void*)reboot_code_buffer, relocate_new_kernel, in machine_kexec() 258 relocated_kexec_smp_wait = reboot_code_buffer + in machine_kexec()
|
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
H A D | machine_kexec.c | 40 void *reboot_code_buffer; in machine_kexec() local 43 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec() 45 memcpy(reboot_code_buffer, relocate_new_kernel, in machine_kexec() 56 ((relocate_kernel_t) reboot_code_buffer)(image->head & PAGE_MASK, in machine_kexec()
|
/kernel/linux/linux-6.6/arch/m68k/kernel/ |
H A D | machine_kexec.c | 41 void *reboot_code_buffer; in machine_kexec() local 44 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec() 46 memcpy(reboot_code_buffer, relocate_new_kernel, in machine_kexec() 57 ((relocate_kernel_t) reboot_code_buffer)(image->head & PAGE_MASK, in machine_kexec()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
H A D | machine_kexec.c | 24 unsigned long reboot_code_buffer, 72 unsigned long reboot_code_buffer; in machine_kexec() local 104 reboot_code_buffer = in machine_kexec() 108 memcpy((void *)reboot_code_buffer, relocate_new_kernel, in machine_kexec() 117 rnk = (relocate_new_kernel_t) reboot_code_buffer; in machine_kexec() 118 (*rnk)(page_list, reboot_code_buffer, in machine_kexec()
|
/kernel/linux/linux-6.6/arch/sh/kernel/ |
H A D | machine_kexec.c | 24 unsigned long reboot_code_buffer, 72 unsigned long reboot_code_buffer; in machine_kexec() local 104 reboot_code_buffer = in machine_kexec() 108 memcpy((void *)reboot_code_buffer, relocate_new_kernel, in machine_kexec() 117 rnk = (relocate_new_kernel_t) reboot_code_buffer; in machine_kexec() 118 (*rnk)(page_list, reboot_code_buffer, in machine_kexec()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | machine_kexec.c | 147 void *reboot_code_buffer; in machine_kexec() local 159 reboot_code_buffer = phys_to_virt(reboot_code_buffer_phys); in machine_kexec() 164 * Copy arm64_relocate_new_kernel to the reboot_code_buffer for use in machine_kexec() 167 memcpy(reboot_code_buffer, arm64_relocate_new_kernel, in machine_kexec() 170 /* Flush the reboot_code_buffer in preparation for its execution. */ in machine_kexec() 171 __flush_dcache_area(reboot_code_buffer, arm64_relocate_new_kernel_size); in machine_kexec() 179 __flush_icache_range((uintptr_t)reboot_code_buffer, in machine_kexec() 180 (uintptr_t)reboot_code_buffer + in machine_kexec() 196 * transfer control to the reboot_code_buffer which contains a copy of in machine_kexec()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | machine_kexec.c | 160 void *reboot_code_buffer; in machine_kexec() local 172 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec() 175 reboot_entry = fncpy(reboot_code_buffer, in machine_kexec() 179 data = reboot_code_buffer + relocate_new_kernel_size; in machine_kexec()
|
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | machine_kexec.c | 28 static unsigned long reboot_code_buffer; variable 88 /* kexec/kdump need a safe page to save reboot_code_buffer */ in machine_kexec_prepare() 91 reboot_code_buffer = (unsigned long)page_address(kimage->control_code_page); in machine_kexec_prepare() 92 memcpy((void *)reboot_code_buffer, relocate_new_kernel, relocate_new_kernel_size); in machine_kexec_prepare() 96 relocated_kexec_smp_wait = reboot_code_buffer + (void *)(kexec_smp_wait - relocate_new_kernel); in machine_kexec_prepare() 134 do_kexec = (void *)reboot_code_buffer; in kexec_reboot() 233 /* All CPUs go to reboot_code_buffer */ in machine_shutdown()
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | machine_kexec.c | 28 static unsigned long reboot_code_buffer; variable 87 /* kexec/kdump need a safe page to save reboot_code_buffer */ in machine_kexec_prepare() 90 reboot_code_buffer = (unsigned long)page_address(kimage->control_code_page); in machine_kexec_prepare() 91 memcpy((void *)reboot_code_buffer, relocate_new_kernel, relocate_new_kernel_size); in machine_kexec_prepare() 95 relocated_kexec_smp_wait = reboot_code_buffer + (void *)(kexec_smp_wait - relocate_new_kernel); in machine_kexec_prepare() 133 do_kexec = (void *)reboot_code_buffer; in kexec_reboot() 230 /* All CPUs go to reboot_code_buffer */ in machine_shutdown()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | machine_kexec.c | 169 void *reboot_code_buffer; in machine_kexec() local 181 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec() 184 reboot_entry = fncpy(reboot_code_buffer, in machine_kexec() 188 data = reboot_code_buffer + relocate_new_kernel_size; in machine_kexec()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | machine_kexec.c | 200 void *reboot_code_buffer; in machine_kexec_prepare() local 210 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare() 213 memcpy(reboot_code_buffer, relocate_kernel, relocate_kernel_len); in machine_kexec_prepare()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | machine_kexec.c | 191 void *reboot_code_buffer; in machine_kexec_prepare() local 201 reboot_code_buffer = page_to_virt(image->control_code_page); in machine_kexec_prepare() 204 memcpy(reboot_code_buffer, relocate_kernel, relocate_kernel_len); in machine_kexec_prepare()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | kexec.h | 97 void relocate_new_kernel(unsigned long indirection_page, unsigned long reboot_code_buffer,
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | kexec.h | 97 void relocate_new_kernel(unsigned long indirection_page, unsigned long reboot_code_buffer,
|