Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1777663pxf; Fri, 19 Mar 2021 16:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCq9tOozwYG0gImBMVr8nSvvSIWrNtD/jTJVrNu27TUqxBdLUZNDWB6jVD3gRfbGCh/eqt X-Received: by 2002:aa7:d347:: with SMTP id m7mr12179312edr.260.1616195077298; Fri, 19 Mar 2021 16:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616195077; cv=none; d=google.com; s=arc-20160816; b=IUXU/0ypyDkso3jFlsBkYb1KlUcWlPqK04h0BNOcmsdpagMGBaAVmj4urdpn6VBfo5 EFkTKvcXz8urPTU8Kxwe36ZOpNd4S+ui1VIZtMinGDC+NOLBfjh29omzNvK94/5QifaD 6ZAwS7qdYvFChfsl2MJODR8efRxj4dTbIyvkgvo+QKSUKShnroAszWj5j4wT6HL47BK2 d1vvWGHPOAj1OG1VdbzkgNR9bJjN99hTVu5VJGjmR61g7qnUMI+6y1cy4G9oBsGN7Xtv apPDxH28QLWJ7QQceh4f4KndDV1QChzgamBW0/SxoAQUu2folhOobPKVHQKBLRH07Fnw iUyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:ironport-sdr:ironport-sdr; bh=y+GBSK/r8y1m3/wbJ073Lg8jHs0be4mvSZWDLGt5Rwo=; b=c8peUKDCqwmJHZHV49r6ZqmZltp0aHnPoWvSwU1+3yqbGwU+mui95JY9e6ym1Erxsg lcsWNKlAnAlXhn4YKLuvjhzWEakHqNWGwGM4xb+eBYekSX7LC2MW3/alDv/1QLnyZTXZ DsbR36CE7AWbaa3B1CCg3S7aaCN8Jd+fIMktSVvbQooeuKXcbtzgCGFmbvh+9RaPs1PK sNTx0gptvUemNLSWhwarjAA0UeAhr7EWpd6TCr6OU+OzBsn8Ht6O+fwJi5SpUYiZpTim tUM9cMKQLnx5ILnQkO07vfI3RcRObI3IZPGkvIDXP3eJ3ZnbUcaXV4ccClMfHwXW6m0Q Mpgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bw19si5110271ejb.85.2021.03.19.16.04.14; Fri, 19 Mar 2021 16:04:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229912AbhCSXCb (ORCPT + 99 others); Fri, 19 Mar 2021 19:02:31 -0400 Received: from mga03.intel.com ([134.134.136.65]:16264 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbhCSXCJ (ORCPT ); Fri, 19 Mar 2021 19:02:09 -0400 IronPort-SDR: oK4UqgX8nC47hxPv7nJh4IIdjma3Hd+NJwS8ZbJyZHvbRtQTMRfRGOxHZCDZ9jVQODaGRiSRsp X0l0hnB6MtjQ== X-IronPort-AV: E=McAfee;i="6000,8403,9928"; a="190017060" X-IronPort-AV: E=Sophos;i="5.81,263,1610438400"; d="scan'208";a="190017060" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2021 16:02:08 -0700 IronPort-SDR: WbKmoz4sUiiKsZfFCtm4prI2NIZY4twXdNZidjUx4LJOEAF5uEbhqkDf7cqil1QvjdV1BsnhEm 9UzkuZFfTOdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,263,1610438400"; d="scan'208";a="451030855" Received: from marshy.an.intel.com (HELO [10.122.105.143]) ([10.122.105.143]) by orsmga001.jf.intel.com with ESMTP; 19 Mar 2021 16:02:07 -0700 Subject: Re: [PATCHv5 0/7] Extend Intel service layer, FPGA manager and region To: "Gong, Richard" , "mdf@kernel.org" , "trix@redhat.com" , "gregkh@linuxfoundation.org" , "linux-fpga@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <1612909233-13867-1-git-send-email-richard.gong@linux.intel.com> From: Richard Gong Message-ID: <21a8817a-e63e-6029-69a6-6bae5398439a@linux.intel.com> Date: Fri, 19 Mar 2021 18:22:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Moritz, Thanks for approving the 1st patch of my version 5 patchest, which submitted on 02/09/21. Can you help review the remaining 6 patches from the same version 5 patchset? I need your ACKs to move forward, or please let me know if additional work is need. Many thanks for your time again! Regards, Richard On 2/25/21 7:07 AM, Gong, Richard wrote: > Hi Moritz, > > Sorry for asking. > > When you have chance, can you help review the version 5 patchset submitted on 02/09/21? > > Regards, > Richard > > -----Original Message----- > From: richard.gong@linux.intel.com > Sent: Tuesday, February 9, 2021 4:20 PM > To: mdf@kernel.org; trix@redhat.com; gregkh@linuxfoundation.org; linux-fpga@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: Gong, Richard > Subject: [PATCHv5 0/7] Extend Intel service layer, FPGA manager and region > > From: Richard Gong > > This is 5th submission of Intel service layer and FPGA patches, which includes the missing standalone patch in the 4th submission. > > This submission includes additional changes for Intel service layer driver to get the firmware version running at FPGA SoC device. Then FPGA manager driver, one of Intel service layer driver's client, can decide whether to handle the newly added bitstream authentication function based on the retrieved firmware version. So that we can maintain FPGA manager driver the back compatible. > > Bitstream authentication makes sure a signed bitstream has valid signatures. > > The customer sends the bitstream via FPGA framework and overlay, the firmware will authenticate the bitstream but not program the bitstream to device. If the authentication passes, the bitstream will be programmed into QSPI flash and will be expected to boot without issues. > > Extend Intel service layer, FPGA manager and region drivers to support the bitstream authentication feature. > > Richard Gong (7): > firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0 > firmware: stratix10-svc: add COMMAND_AUTHENTICATE_BITSTREAM flag > firmware: stratix10-svc: extend SVC driver to get the firmware version > fpga: fpga-mgr: add FPGA_MGR_BITSTREAM_AUTHENTICATE flag > fpga: of-fpga-region: add authenticate-fpga-config property > dt-bindings: fpga: add authenticate-fpga-config property > fpga: stratix10-soc: extend driver for bitstream authentication > > .../devicetree/bindings/fpga/fpga-region.txt | 10 ++++ > drivers/firmware/stratix10-svc.c | 12 ++++- > drivers/fpga/of-fpga-region.c | 24 ++++++--- > drivers/fpga/stratix10-soc.c | 62 +++++++++++++++++++--- > include/linux/firmware/intel/stratix10-smc.h | 21 +++++++- > .../linux/firmware/intel/stratix10-svc-client.h | 11 +++- > include/linux/fpga/fpga-mgr.h | 3 ++ > 7 files changed, 125 insertions(+), 18 deletions(-) > > -- > 2.7.4 >