lkml.org 
[lkml]   [2016]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] efi/capsule: Make efi_capsule_pending() lockless
On Thu, 5 May 2016 15:36:43 +0100
Matt Fleming <matt@codeblueprint.co.uk> wrote:

> On Thu, 05 May, at 02:27:16PM, Kweh, Hock Leong wrote:
> >
> > If not mistaken, the EFI firmware will not update a partially uploaded binary due to checksum error.
> > User is required to re-update the efi capsule again on the next boot up.
>
> Ah, so the capsule is only processed by the firmware after rebooting?
> That makes sense and alleviates my concerns about rebooting while in
> the middle of efi_capsule_update().

Yes - and in many cases the actions the firmware capsule update does are
done in a manner which once you exit the firmware cannot be done by the
OS. It acts as a way to communicate a block of (typically signed)
firmware to more hardware priviliged boot firmware.

Alan

\
 
 \ /
  Last update: 2016-05-05 17:21    [W:0.055 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site