lkml.org 
[lkml]   [2015]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/mm, efi: Check for valid image type
On Wed, 29 Jul, at 05:37:52PM, Dave Young wrote:
>
> Not sure if BGRT is useful in kexec kernel, it seems not worth to copy
> it between kernels.
>
> IMO just return in case if (efi_setup) is true make sense.

Yes, I think it makes sense to skip touching the BGRT on kexec boot.

As a side note, we should really look at using one of the efi_enabled()
bits to signal when we're booting a kexec'd kernel because it is not at
all obvious that 'efi_setup != 0' means we're in kexec kernel.

But that wants to be a separate patch from this issue.

--
Matt Fleming, Intel Open Source Technology Center


\
 
 \ /
  Last update: 2015-07-30 18:21    [W:0.055 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site