Re: [PATCH 4/5] kexec: fallback to KEXEC_LOAD when KEXEC_FILE_LOAD is not supported.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2018 at 01:32:52PM +0100, Michal Suchánek wrote:
> On Fri, 2 Mar 2018 17:24:19 +0800
> Dave Young <dyoung@xxxxxxxxxx> wrote:
> 
> > On 02/26/18 at 01:00pm, Michal Suchanek wrote:
> > > Not all architectures implement KEXEC_FILE_LOAD. However, on some
> > > archiectures KEXEC_FILE_LOAD is required when secure boot is
> > > enabled in locked-down mode. Previously users had to select the
> > > KEXEC_FILE_LOAD syscall with undocumented -s option. However, if
> > > they did pass the option kexec would fail on architectures that do
> > > not support it.
> > > 
> > > When no option is passed to select one syscall or the other try
> > > KEXEC_FILE_LOAD and fall back to KEXEC_LOAD when not suported.  
> > 
> > Again, IMHO the default behavior should not be changed..
> 
> So adding a new option to enable the fallback would be ok?

I am also wary of changing the default behaviour and
I think a new fallback option would be better.

Dave?

_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux