Re: [tip:efi/core] efibc: Add EFI Bootloader Control module

From: Compostella, Jeremy
Date: Fri Apr 29 2016 - 09:55:04 EST


Matt Fleming <matt@xxxxxxxxxxxxxxxxxxx> writes:

> On Fri, 29 Apr, at 01:36:01PM, Jeremy Compostella wrote:
>> I would go for this last proposal because it fixes the issue, it works
>> with the potential race condition you mentioned and it is a simple
>> solution. Yet, it means that if we really run into a race condition,
>> the LoaderEntryOneShot value might be indeterminate.
>>
>> Though, this is a very unlikely situation and if it happens I cannot
>> think of any good reason to prefer to store the first restart target
>> or the second.
>>
>> Do you want me to make this change ?
>
> Yes please, that'd be greatly appreciated. Be sure to do it on top of
> either the EFI 'next' branch or tip:efi/core.
Please, find the patch in attachment. I wrote it on top of
tip:efi/core.