Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp540985pxb; Thu, 12 Nov 2020 09:50:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJydoCWAHwDWPUaK5guR9L6cteReWRyETSsCuS2293eCvlxjkTjNpONvAm0sN4E7xbN8xQh9 X-Received: by 2002:a17:907:264d:: with SMTP id ar13mr405196ejc.207.1605203413108; Thu, 12 Nov 2020 09:50:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605203413; cv=none; d=google.com; s=arc-20160816; b=vzcz6sybO2J+3BwJVZ210pwDwczYAMmE2jfBu/buRCc4+45zjx2zsSaZ9Zrh7wHPgO PxogFWQyjfACmHaLBqA3Y8CFGY2bMK9LsZFpUCTvBW3yZ7sQYYGijkM0OTs3ibl6a0Va OBlotW4AaF0ZgF0gWXmCxT4+/slAI2L5Mw+ncL/m/KAB3Tr+nC4C+PjjjUE9mnOcdQyJ KAXLFNdn9/ey9hZR33BBPCvZAasHHqmbVmG+Jj3kcujvEPWbWQpcw3q/HSOxkJ10NTyW BnOdM7pXXW+G0S2E9k73W1Juj0whkrehr6BJZZ1Sh/X1/AZAklOv9NdT3sIBjxKvGyQI wW7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=CQu8z7qxVJ8NGx3w5dGrcYfGoEEET3BpYwSZpwEdpvA=; b=AMgf3d1P8HQydYc7t4t1bFGMxm/b4aESOHCmv2nfYMN8l/OxngEAUFpMPwQ8FvO6Mn QNq0bBzZ1EU5Q5Ds+x+OasJrlhYDNHLiK+wlLuqpDPOpI4jhYwTFAPmcdcXvkKO7F8PF I3U9SDdZG3dy0KSa2iWrfaXY0azsgn9Q79Uon4GZepXX7vSEZuvW4m06c4vBqJHfSfUZ FapD2saPhvMgPmvP514kdQ5TNcxPdmIhiZllkUP7VnnB3pp1vN9ziQd0lGzGd/BU1Kw1 OxDh24LhddmuhnDBUVcxXmdB9MrR43Yjo+EbpcZpPa2Y2sgFbqvEwSbCtHYCoPMozurf TYZw== 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 i6si5218279ejs.300.2020.11.12.09.49.46; Thu, 12 Nov 2020 09:50:13 -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 S1726392AbgKLRrV (ORCPT + 99 others); Thu, 12 Nov 2020 12:47:21 -0500 Received: from mga07.intel.com ([134.134.136.100]:7821 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbgKLRrT (ORCPT ); Thu, 12 Nov 2020 12:47:19 -0500 IronPort-SDR: UOooDaYy+WgPX2/Tu5Wv8gMoCRk7YVsaL1bY8jPiwZILd995TjibhA9knWP9daPNtXaj59YZv5 3NdwURvI3fqQ== X-IronPort-AV: E=McAfee;i="6000,8403,9803"; a="234511112" X-IronPort-AV: E=Sophos;i="5.77,472,1596524400"; d="scan'208";a="234511112" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2020 09:47:18 -0800 IronPort-SDR: 5TwHwwuvw421vzXGl6Lo7NoReekZv1Mvk0TMHhT+kJOgTAo1+SCit21/UI2dOjPHcoZFchrUOV TJ8hB4dwwLnw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,472,1596524400"; d="scan'208";a="328576324" Received: from marshy.an.intel.com ([10.122.105.143]) by orsmga006.jf.intel.com with ESMTP; 12 Nov 2020 09:47:17 -0800 From: richard.gong@linux.intel.com To: mdf@kernel.org, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: dinguyen@kernel.org, sridhar.rajagopal@intel.com, richard.gong@linux.intel.com, Richard Gong Subject: [PATCHv1 0/4] Extend FPGA manager and region drivers for Date: Thu, 12 Nov 2020 12:06:39 -0600 Message-Id: <1605204403-6663-1-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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