Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2827843pxb; Sun, 15 Nov 2020 20:00:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8IlB9EJlrbtgzAnp0we6eULItNhELIj+WOHpspsTZEs304KwfWkYWvgRLRJG09Yj+W4Fj X-Received: by 2002:a17:906:134e:: with SMTP id x14mr13234109ejb.173.1605499247837; Sun, 15 Nov 2020 20:00:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605499247; cv=none; d=google.com; s=arc-20160816; b=tXwtxTfO5onaAiiHvLPMXkzHqlPTa3g0aSTkpTHhn129qcTNNw71t+cwIAC1ziZtp0 yEMc/SV23eFar8h208ugAhgXsZgWGXWSp6SS0vlgQR4pfb8/8Ysc2LR6KcFBcWGLWa8I K22LTRh20+sbHvb+S+s7KOudp4n6LfB2sh4yfg7m3yJCVIlQIF1BqRqK4nzauLsx/3M8 yXk4eIvs7dP32DOHjW+NQu1s9VvGnt263Wk7AJc1RmTrWDtVkT1gwhejodd2k5LXu9i9 MGYzazMLU+chAgiACkK4zAKcHp/TBc2+UV80D1aAwTFUS8A7+5FiUvposQ+g2ffK3yg3 7xXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=iPt0GSex0sUsWh1tEpum3dnS4+8pjIy++dBMijaH3VA=; b=SQxEbUtfeatJ5WFIJCDrEsGUMIDNrrF0k3qShH844VwAfI6LELTZD/sHXknwjWnrie 4HOMYOOM/xRefjcTC9OTmXD0diAkmICg2dunewXSbxLdVXsbYmFU3CyPV7KpkW7S4hIo 40KtdLWSeCThG3ocB2Ndvbwb9KFBeXBLCVdPWpfrSBgTkpkuV3MwrXypWFnf5NrVaU1O unfoBqpLqSaozCZhqzVnbuHCZBpMt8OpoLGXhYoey1f5F3cxxa3uRbR00n7FqTm3FcS5 jaSRE9sGc1vAAdu8WUKMRPFO7AFY9Qm99MhYCs4NOE1nEK9GgumIBn0kPa+0q6Mh7zMz GvKg== 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 n12si10547016eje.452.2020.11.15.20.00.23; Sun, 15 Nov 2020 20:00:47 -0800 (PST) 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 S1726492AbgKPCp7 (ORCPT + 99 others); Sun, 15 Nov 2020 21:45:59 -0500 Received: from mga04.intel.com ([192.55.52.120]:49240 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgKPCp7 (ORCPT ); Sun, 15 Nov 2020 21:45:59 -0500 IronPort-SDR: aqiVO5DFMUS+nRjbQ3hrBtm4iiETuPvdM5Xc7uC5+byvCx2dLimPHbgTyCjNhdgd1sBpQYe2at cJjkJDwrnm+g== X-IronPort-AV: E=McAfee;i="6000,8403,9806"; a="168117394" X-IronPort-AV: E=Sophos;i="5.77,481,1596524400"; d="scan'208";a="168117394" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2020 18:45:57 -0800 IronPort-SDR: SdaGANuOcK1wN4nJGO+YR3vn9icdVGYmlxBnOjSB0v1rBF5mpLyhmdhHRqXLeWyK6r84kHNytz gCP99sz9LYCA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,481,1596524400"; d="scan'208";a="533262345" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.141]) by fmsmga005.fm.intel.com with ESMTP; 15 Nov 2020 18:45:55 -0800 Date: Mon, 16 Nov 2020 10:41:47 +0800 From: Xu Yilun To: richard.gong@linux.intel.com Cc: mdf@kernel.org, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, dinguyen@kernel.org, sridhar.rajagopal@intel.com, Richard Gong , yilun.xu@intel.com Subject: Re: [PATCHv1 0/4] Extend FPGA manager and region drivers for Message-ID: <20201116024147.GA8715@yilunxu-OptiPlex-7050> References: <1605204403-6663-1-git-send-email-richard.gong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1605204403-6663-1-git-send-email-richard.gong@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 12:06:39PM -0600, richard.gong@linux.intel.com wrote: > From: Richard Gong > > The customer wants to verify that a FPGA bitstream can be started properly > before saving the bitstream to the QSPI flash memory. > > 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. So when we have successfully reprogramed region with the FPGA_MGR_BITSTREM_AUTHENTICATION flag, the bitstream in QSPI flash is updated but not activated, we need an FPGA reboot to activate it, is it? Thanks, Yilun > > Extend FPGA manager and region drivers to support the bitstream > authentication feature. > > Richard Gong (4): > fpga: fpga-mgr: add FPGA_MGR_BITSTREM_AUTHENTICATION flag > fpga: of-fpga-region: add authenticate-fpga-config property > dt-bindings: fpga: add authenticate-fpga-config property > fpga: stratix10-soc: entend driver for bitstream authentication > > Documentation/devicetree/bindings/fpga/fpga-region.txt | 1 + > drivers/fpga/of-fpga-region.c | 3 +++ > drivers/fpga/stratix10-soc.c | 5 ++++- > include/linux/fpga/fpga-mgr.h | 3 +++ > 4 files changed, 11 insertions(+), 1 deletion(-) > > -- > 2.7.4