Re: [PATCH v14 09/15] FWU: Add boot time checks as highlighted by the FWU specification

2022-10-20 Thread Ilias Apalodimas
Hi Sughosh, > > > + } > > > + > > > + return 0; > > > +} > > > + > > > +static int fwu_trial_state_check(void) > > > +{ > > > + int ret; > > > + struct udevice *dev; > > > + efi_status_t status; > > > + efi_uintn_t var_size; > > > + u16 trial_state_ctr; > > > +

Re: [PATCH v14 09/15] FWU: Add boot time checks as highlighted by the FWU specification

2022-10-20 Thread Ilias Apalodimas
Hi Sughosh, [...] > > > + > > > +static int fwu_trial_state_check(void) > > > +{ > > > + int ret; > > > + struct udevice *dev; > > > + efi_status_t status; > > > + efi_uintn_t var_size; > > > + u16 trial_state_ctr; > > > + struct fwu_mdata mdata = { 0 }; > > > + > > > +

Re: [PATCH v14 09/15] FWU: Add boot time checks as highlighted by the FWU specification

2022-10-19 Thread Sughosh Ganu
hi Ilias, On Thu, 20 Oct 2022 at 01:31, Ilias Apalodimas wrote: > > Hi Sughosh, > > On Tue, Oct 18, 2022 at 05:13:31PM +0530, Sughosh Ganu wrote: > > The FWU Multi Bank Update specification requires the Update Agent to > > carry out certain checks at the time of platform boot. The Update > >

Re: [PATCH v14 09/15] FWU: Add boot time checks as highlighted by the FWU specification

2022-10-19 Thread Ilias Apalodimas
Hi Sughosh, On Tue, Oct 18, 2022 at 05:13:31PM +0530, Sughosh Ganu wrote: > The FWU Multi Bank Update specification requires the Update Agent to > carry out certain checks at the time of platform boot. The Update > Agent is the component which is responsible for updating the firmware >

[PATCH v14 09/15] FWU: Add boot time checks as highlighted by the FWU specification

2022-10-18 Thread Sughosh Ganu
The FWU Multi Bank Update specification requires the Update Agent to carry out certain checks at the time of platform boot. The Update Agent is the component which is responsible for updating the firmware components and maintaining and keeping the metadata in sync. The spec requires that the