Re: [PATCH] firmware: bluefield: add boot control driver
From: Grant Likely
Date: Tue Oct 10 2017 - 08:23:31 EST
On Tue, Oct 10, 2017 at 12:58 PM, Leif Lindholm
<leif.lindholm@xxxxxxxxxx> wrote:
>
> On Tue, Oct 10, 2017 at 11:23:32AM +0100, Mark Rutland wrote:
>> On Tue, Oct 10, 2017 at 11:15:39AM +0100, Sudeep Holla wrote:
>> > (+Mark, Grant)
>> >
>> > On 09/10/17 18:16, Chris Metcalf wrote:
>> > > The Mellanox BlueField SoC firmware supports a safe upgrade mode as
>> > > part of the flow where users put new firmware on the secondary eMMC
>> > > boot partition (the one not currently in use), tell the eMMC to make
>> > > the secondary boot partition primary, and reset.
>>
>> When you say "firmware", are you referreind to actual firmware, or a
>> platform-specific OS image?
>>
>> For the former, the preferred update mechanism would be UpdateCapsule().
>>
>> For the latter, I'm not sure what the usual mechanism for doing this
>> with EFI would be.
>>
>> Ard, Leif?
>
> This sounds to me very much like something we'd want to keep out of
> the kernel. Assuming ACPI means UEFI, there should be less invasive
> solutions to this problem.
Agreed. This looks like a very specific solution to a generic problem.
g.