From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753854AbdBUQgB (ORCPT ); Tue, 21 Feb 2017 11:36:01 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:35342 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753794AbdBUQfw (ORCPT ); Tue, 21 Feb 2017 11:35:52 -0500 MIME-Version: 1.0 In-Reply-To: <928f959d-fc36-ba5d-95ba-990dd1927489@xilinx.com> References: <1487624123-13579-1-git-send-email-mdf@kernel.org> <928f959d-fc36-ba5d-95ba-990dd1927489@xilinx.com> From: Alan Tull Date: Tue, 21 Feb 2017 10:35:51 -0600 Message-ID: Subject: Re: [PATCH v2 1/3] fpga: Add flag to indicate bitstream needs decrypting To: Michal Simek Cc: Moritz Fischer , linux-fpga@vger.kernel.org, =?UTF-8?Q?S=C3=B6ren_Brinkmann?= , linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v1LGa9Ks016350 On Tue, Feb 21, 2017 at 7:55 AM, Michal Simek wrote: > On 20.2.2017 21:55, mdf@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. >> >> Signed-off-by: Moritz Fischer >> Cc: Alan Tull >> Cc: Michal Simek >> Cc: Sören Brinkmann >> 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 Acked-by: Alan Tull > > 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