[PATCH v2 10/11] kexec_file: Allow archs to set purgatory load address

2018-03-21 Thread Philipp Rudo
For s390 new kernels are loaded to fixed addresses in memory before they are booted. With the current code this is a problem as it assumes the kernel will be loaded to an 'arbitrary' address. In particular, kexec_locate_mem_hole searches for a large enough memory region and sets the load address

[PATCH v2 10/11] kexec_file: Allow archs to set purgatory load address

2018-03-21 Thread Philipp Rudo
For s390 new kernels are loaded to fixed addresses in memory before they are booted. With the current code this is a problem as it assumes the kernel will be loaded to an 'arbitrary' address. In particular, kexec_locate_mem_hole searches for a large enough memory region and sets the load address