[RESEND PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-12-14 Thread richard . gong
From: Richard Gong Add COMMAND_AUTHENTICATE_BITSTREAM command flag for new added bitstream authentication feature. Authenticating a bistream is to make sure a signed bitstream has the valid signatures. Except for the actual configuration of the device, the bitstream authentication works the

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-12-01 Thread Richard Gong
Hi Moritz, On 12/1/20 1:19 PM, Moritz Fischer wrote: Hi Richard, On Tue, Dec 01, 2020 at 01:30:16PM -0600, Richard Gong wrote: Can U-Boot determine whether it's the new or old flow? Can you set a different compatible value in your device-tree, to disambiguate behaviors? The boot flow is

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-12-01 Thread Moritz Fischer
Hi Richard, On Tue, Dec 01, 2020 at 01:30:16PM -0600, Richard Gong wrote: > > Can U-Boot determine whether it's the new or old flow? Can you set a > > different compatible value in your device-tree, to disambiguate > > behaviors? > > > > The boot flow is determined by defconfig during

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-12-01 Thread Richard Gong
Hi Moritz, On 11/30/20 10:31 PM, Moritz Fischer wrote: Hi Richard, On Mon, Nov 30, 2020 at 12:55:44PM -0600, Richard Gong wrote: Hi Moritz, Sorry for late reply, I was out last week. No worries, usually I'm late with replies ;-) On 11/21/20 7:10 PM, Moritz Fischer wrote: Richard, On

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-30 Thread Moritz Fischer
Hi Richard, On Mon, Nov 30, 2020 at 12:55:44PM -0600, Richard Gong wrote: > > Hi Moritz, > > Sorry for late reply, I was out last week. No worries, usually I'm late with replies ;-) > > On 11/21/20 7:10 PM, Moritz Fischer wrote: > > Richard, > > > > On Wed, Nov 18, 2020 at 12:16:09PM -0600,

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-30 Thread Richard Gong
Hi Moritz, Sorry for late reply, I was out last week. On 11/21/20 7:10 PM, Moritz Fischer wrote: Richard, On Wed, Nov 18, 2020 at 12:16:09PM -0600, Richard Gong wrote: -#define COMMAND_RECONFIG_FLAG_PARTIAL 1 +#define COMMAND_RECONFIG_FLAG_PARTIAL 0 +#define

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-21 Thread Moritz Fischer
Richard, On Wed, Nov 18, 2020 at 12:16:09PM -0600, Richard Gong wrote: > > > -#define COMMAND_RECONFIG_FLAG_PARTIAL1 > > > +#define COMMAND_RECONFIG_FLAG_PARTIAL0 > > > +#define COMMAND_AUTHENTICATE_BITSTREAM 1 > > > > Can you explain how this commit by itself doesn't break things? >

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-18 Thread Richard Gong
Hi Moritz, On 11/18/20 9:30 AM, Moritz Fischer wrote: On Wed, Nov 18, 2020 at 08:29:09AM -0600, richard.g...@linux.intel.com wrote: From: Richard Gong Add COMMAND_AUTHENTICATE_BITSTREAM command flag for new added bitstream authentication feature. Authenticating a bistream is to make sure a

Re: [PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-18 Thread Moritz Fischer
On Wed, Nov 18, 2020 at 08:29:09AM -0600, richard.g...@linux.intel.com wrote: > From: Richard Gong > > Add COMMAND_AUTHENTICATE_BITSTREAM command flag for new added bitstream > authentication feature. Authenticating a bistream is to make sure a signed > bitstream has the valid signatures. > >

[PATCHv2 1/5] firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag

2020-11-18 Thread richard . gong
From: Richard Gong Add COMMAND_AUTHENTICATE_BITSTREAM command flag for new added bitstream authentication feature. Authenticating a bistream is to make sure a signed bitstream has the valid signatures. Except for the actual configuration of the device, the bitstream authentication works the