Re: [PATCH 1/2] fpga: Add flag to indicate bitstream needs decrypting

2017-02-15 Thread Michal Simek
On 15.2.2017 19:02, Moritz Fischer wrote: > On Wed, Feb 15, 2017 at 5:30 PM, Alan Tull wrote: >> On Wed, Feb 15, 2017 at 9:03 AM, Michal Simek >> wrote: > #define FPGA_MGR_PARTIAL_RECONFIGBIT(0) #define FPGA_MGR_EXTERNAL_CONFIG BIT(1) +#define FPGA_MGR_DECRYPT_BITSTREAM

Re: [PATCH 1/2] fpga: Add flag to indicate bitstream needs decrypting

2017-02-15 Thread Moritz Fischer
On Wed, Feb 15, 2017 at 5:30 PM, Alan Tull wrote: > On Wed, Feb 15, 2017 at 9:03 AM, Michal Simek wrote: >>> #define FPGA_MGR_PARTIAL_RECONFIGBIT(0) >>> #define FPGA_MGR_EXTERNAL_CONFIG BIT(1) >>> +#define FPGA_MGR_DECRYPT_BITSTREAM BIT(2) >>> >>> /** >>> * struct fpga_image_info

Re: [PATCH 1/2] fpga: Add flag to indicate bitstream needs decrypting

2017-02-15 Thread Alan Tull
On Wed, Feb 15, 2017 at 9:03 AM, Michal Simek wrote: > On 15.2.2017 01:31, m...@kernel.org wrote: >> From: Moritz Fischer >> >> Add a flag that is passed to the write_init() callback, indicating >> that the bitstream is encrypted. >> >> The low-level driver will deal with the flag, or return an e

Re: [PATCH 1/2] fpga: Add flag to indicate bitstream needs decrypting

2017-02-15 Thread Michal Simek
On 15.2.2017 01:31, m...@kernel.org wrote: > From: Moritz Fischer > > Add a flag that is passed to the write_init() callback, indicating > that the bitstream is encrypted. > > The low-level driver will deal with the flag, or return an error, > if encrypted bitstreams are not supported. > > Sign

[PATCH 1/2] fpga: Add flag to indicate bitstream needs decrypting

2017-02-14 Thread mdf
From: Moritz Fischer Add a flag that is passed to the write_init() callback, indicating that the bitstream is encrypted. The low-level driver will deal with the flag, or return an error, if encrypted bitstreams are not supported. Signed-off-by: Moritz Fischer Cc: Alan Tull Cc: Michal Simek C