[PATCH 00/19] arm64 kexec kernel patches v13

Mark Rutland mark.rutland at arm.com
Thu Jan 21 04:11:04 PST 2016


On Wed, Jan 20, 2016 at 10:56:21AM +0800, Dave Young wrote:
> On 01/19/16 at 04:15pm, Geoff Levand wrote:
> > On Tue, 2016-01-19 at 20:32 +0800, Dave Young wrote:
> > > Geoff, another question about kexec-tools part is, can the kexec
> > > -tools code
> > > been written in kernel? We have the infrastructure for kexec_file_load.
> > 
> > I see no technical reason why the arm64 kernel cannot support
> > kexec_file_load.
> 
> Cool, care to port it to kernel so that we have kexec_file_load only in arm64
> we do not need to support both kexec_load and kexec_file_load?

I have reasons for wanting kexec_load, even if we have kexec_file_load.
For example, being able to test modified DTBs during development, and
being able to kexec to non-Linux OSs.

I don't think we should drop kexec_load, as kexec_file_load is designed
such that it cannot be used for these purposes, while kexec_load is more
general.

I appreciate that we will need kexec_file_load for Secure Boot, and it
would be perfectly fine for your kdump userspace to require and always
use kexec_file_load.

Thanks,
Mark.



More information about the kexec mailing list