Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1584902 > unrolled thread

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

Started bymdf@kernel.org
First post2017-02-20 22:00 +0100
Last post2017-02-22 14:10 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting mdf@kernel.org - 2017-02-20 22:00 +0100
    Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting Alan Tull <delicious.quinoa@gmail.com> - 2017-02-21 17:40 +0100
      Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting Alan Tull <delicious.quinoa@gmail.com> - 2017-02-21 19:30 +0100
        Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting Alan Tull <delicious.quinoa@gmail.com> - 2017-02-21 19:40 +0100
        Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs  decrypting Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-22 08:20 +0100
          Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs  decrypting Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-22 14:10 +0100

#1584902 — [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting

Frommdf@kernel.org
Date2017-02-20 22:00 +0100
Subject[PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting
Message-ID<td3dT-16y-3@gated-at.bofh.it>
From: Moritz Fischer <mdf@kernel.org>

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 <mdf@kernel.org>
Cc: Alan Tull <atull@kernel.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-fpga@vger.kernel.org
---

Changes from v1:
- Renamed flag from FPGA_MGR_DECRYPT_BITSTREAM->FPGA_MGR_ENCRYPTED_BITSTREAM

---
 include/linux/fpga/fpga-mgr.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h
index 57beb5d..e2ef94f 100644
--- a/include/linux/fpga/fpga-mgr.h
+++ b/include/linux/fpga/fpga-mgr.h
@@ -70,6 +70,7 @@ enum fpga_mgr_states {
  */
 #define FPGA_MGR_PARTIAL_RECONFIG	BIT(0)
 #define FPGA_MGR_EXTERNAL_CONFIG	BIT(1)
+#define FPGA_MGR_ENCRYPTED_BITSTREAM	BIT(2)
 
 /**
  * struct fpga_image_info - information specific to a FPGA image
-- 
2.7.4

[toc] | [next] | [standalone]


#1585512

FromAlan Tull <delicious.quinoa@gmail.com>
Date2017-02-21 17:40 +0100
Message-ID<tdlDQ-55Q-33@gated-at.bofh.it>
In reply to#1584902
On Tue, Feb 21, 2017 at 7:55 AM, Michal Simek <michal.simek@xilinx.com> wrote:
> On 20.2.2017 21:55, mdf@kernel.org wrote:
>> From: Moritz Fischer <mdf@kernel.org>
>>
>> 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 <mdf@kernel.org>
>> Cc: Alan Tull <atull@kernel.org>
>> Cc: Michal Simek <michal.simek@xilinx.com>
>> Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
>> Cc: linux-kernel@vger.kernel.org
>> Cc: linux-fpga@vger.kernel.org
>> ---
>>
>> Changes from v1:
>> - Renamed flag from FPGA_MGR_DECRYPT_BITSTREAM->FPGA_MGR_ENCRYPTED_BITSTREAM
>>
>> ---
>>  include/linux/fpga/fpga-mgr.h | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h
>> index 57beb5d..e2ef94f 100644
>> --- a/include/linux/fpga/fpga-mgr.h
>> +++ b/include/linux/fpga/fpga-mgr.h
>> @@ -70,6 +70,7 @@ enum fpga_mgr_states {
>>   */
>>  #define FPGA_MGR_PARTIAL_RECONFIG    BIT(0)
>>  #define FPGA_MGR_EXTERNAL_CONFIG     BIT(1)
>> +#define FPGA_MGR_ENCRYPTED_BITSTREAM BIT(2)
>>
>>  /**
>>   * struct fpga_image_info - information specific to a FPGA image
>>
>
> Acked-by: Michal Simek <michal.simek@xilinx.com>

Acked-by: Alan Tull <atull@kernel.org>

>
> Thanks,
> Michal
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fpga" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[toc] | [prev] | [next] | [standalone]


#1585603

FromAlan Tull <delicious.quinoa@gmail.com>
Date2017-02-21 19:30 +0100
Message-ID<tdnmi-6iG-25@gated-at.bofh.it>
In reply to#1585512
On Tue, Feb 21, 2017 at 10:35 AM, Alan Tull <delicious.quinoa@gmail.com>

Hi Greg,

Would it be helpful for us to resend patches for you to take with you
on cc?  Or is it enough that they are on lkml?

Thanks,
Alan Tull

wrote:
> On Tue, Feb 21, 2017 at 7:55 AM, Michal Simek <michal.simek@xilinx.com> wrote:
>> On 20.2.2017 21:55, mdf@kernel.org wrote:
>>> From: Moritz Fischer <mdf@kernel.org>
>>>
>>> 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 <mdf@kernel.org>
>>> Cc: Alan Tull <atull@kernel.org>
>>> Cc: Michal Simek <michal.simek@xilinx.com>
>>> Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
>>> Cc: linux-kernel@vger.kernel.org
>>> Cc: linux-fpga@vger.kernel.org
>>> ---
>>>
>>> Changes from v1:
>>> - Renamed flag from FPGA_MGR_DECRYPT_BITSTREAM->FPGA_MGR_ENCRYPTED_BITSTREAM
>>>
>>> ---
>>>  include/linux/fpga/fpga-mgr.h | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h
>>> index 57beb5d..e2ef94f 100644
>>> --- a/include/linux/fpga/fpga-mgr.h
>>> +++ b/include/linux/fpga/fpga-mgr.h
>>> @@ -70,6 +70,7 @@ enum fpga_mgr_states {
>>>   */
>>>  #define FPGA_MGR_PARTIAL_RECONFIG    BIT(0)
>>>  #define FPGA_MGR_EXTERNAL_CONFIG     BIT(1)
>>> +#define FPGA_MGR_ENCRYPTED_BITSTREAM BIT(2)
>>>
>>>  /**
>>>   * struct fpga_image_info - information specific to a FPGA image
>>>
>>
>> Acked-by: Michal Simek <michal.simek@xilinx.com>
>
> Acked-by: Alan Tull <atull@kernel.org>
>
>>
>> Thanks,
>> Michal
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-fpga" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[toc] | [prev] | [next] | [standalone]


#1585607

FromAlan Tull <delicious.quinoa@gmail.com>
Date2017-02-21 19:40 +0100
Message-ID<tdnvY-6me-21@gated-at.bofh.it>
In reply to#1585603
On Tue, Feb 21, 2017 at 12:36 PM, Michal Simek <michal.simek@xilinx.com> wrote:
> On 21.2.2017 19:26, Alan Tull wrote:
>> On Tue, Feb 21, 2017 at 10:35 AM, Alan Tull <delicious.quinoa@gmail.com>
>>
>> Hi Greg,
>>
>> Would it be helpful for us to resend patches for you to take with you
>> on cc?  Or is it enough that they are on lkml?
>
> Can I know the reason for this? I know that there were some discussion
> in past. But just add them to your linux-fpga.git repo and send pull
> request to Greg and proper time when he expects that.
>

Greg said it was easier for him to take them from email.

Alan

> Thanks,
> Michal
>

[toc] | [prev] | [next] | [standalone]


#1585958 — Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-02-22 08:20 +0100
SubjectRe: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting
Message-ID<tdznr-6r0-3@gated-at.bofh.it>
In reply to#1585603
On Tue, Feb 21, 2017 at 12:26:17PM -0600, Alan Tull wrote:
> On Tue, Feb 21, 2017 at 10:35 AM, Alan Tull <delicious.quinoa@gmail.com>
> 
> Hi Greg,
> 
> Would it be helpful for us to resend patches for you to take with you
> on cc?  Or is it enough that they are on lkml?

Yes, please send patches with your signed-off-by: for what I should
take.

thanks,

greg k-h

[toc] | [prev] | [next] | [standalone]


#1586131 — Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-02-22 14:10 +0100
SubjectRe: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting
Message-ID<tdEQb-27h-27@gated-at.bofh.it>
In reply to#1585958
On Wed, Feb 22, 2017 at 09:22:19AM +0100, Michal Simek wrote:
> On 22.2.2017 08:15, Greg Kroah-Hartman wrote:
> > On Tue, Feb 21, 2017 at 12:26:17PM -0600, Alan Tull wrote:
> >> On Tue, Feb 21, 2017 at 10:35 AM, Alan Tull <delicious.quinoa@gmail.com>
> >>
> >> Hi Greg,
> >>
> >> Would it be helpful for us to resend patches for you to take with you
> >> on cc?  Or is it enough that they are on lkml?
> > 
> > Yes, please send patches with your signed-off-by: for what I should
> > take.
> 
> Does it make sense to have git repo in MAINTAINERS file then?
> 
> T:	git git://git.kernel.org/pub/scm/linux/kernel/git/atull/linux-fpga.git

Why not, that doesn't mean that's where they get pulled from, but
rather, where the latest version of the patches can be found at.

thanks,

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web