Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3886302pxb; Mon, 1 Feb 2021 07:11:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJybC7uhETkiHXjuKuqXD9PzIZ/pRmwds9bFvXTlljM0b8CDJqpvc523xMB5DWIYq1gsXItk X-Received: by 2002:a05:651c:1344:: with SMTP id j4mr11047027ljb.491.1612192284643; Mon, 01 Feb 2021 07:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612192284; cv=none; d=google.com; s=arc-20160816; b=Eem8yZI+kuhVAXYczoGCmSZGtSKP3k347fqncXzPjkdN9hg89I3C7m2ra9qMT669lx tTPWRxT+Y+plj5DIp0ySWEs+oPo2u/4mm0KiOE71/BMfbGro7hcSNP6L2L9D6vAc8GKj lJJ70M1061VF7gsOaukjqgx0Iw3BjdhC2FE3EfwSTSZLnC5tZsv7PnVk2XjldZb7K9i8 GaG1rH5EC78AyCQY4Ne3E6xxEgm46oLQCL6zx1vk8pPrme1xaNP36ldlG7y+61dilccT Xjlz/I3eXrl1kXRAO4tgKpWZzY0h0BNdtVHs23qhHNHJ5kJP9mFqgO/h3fkrjH87VTcv Nhug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:ironport-sdr:ironport-sdr; bh=doUcM/Ju62jgaBn8l+sGKAm5EsEhjmeTCDin7yM3yhY=; b=cB3R+fJ6gq9yw+ECoXm3haWbsFoE0EgS9uFDCwyGgzGSsETVNnP7GfrV+PKqOVrLgR vAYpzBErgkbp8XlVhT17dy/xelVobpBKGYaP7rpUsQT514wkLKAlWGKgmOwdyDnNNedT +bsx/2K9ld8zixlZ94GHErRf0V9p88KfwBXcekfaX/03Mcw6YpVEPNX+0ptG37lfsJTV YECGXtWLquAYr6lJ6BTm7GF5a597smWSlBycBnYBhiT32PbYa6uBOm7KsVbbsFJjQZVO ZeK1eG2Hs9DwRZ28KRe54JPs3kC4n/z2i++vOEyf8ITmwe6eDnMpgJ9ME7tlbRuz7n94 yIqA== 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 h16si12188073edv.17.2021.02.01.07.10.58; Mon, 01 Feb 2021 07:11:24 -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 S231285AbhBAPGv (ORCPT + 99 others); Mon, 1 Feb 2021 10:06:51 -0500 Received: from mga06.intel.com ([134.134.136.31]:33931 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbhBAPGK (ORCPT ); Mon, 1 Feb 2021 10:06:10 -0500 IronPort-SDR: ADi6PMLT1KjDh7N4qkspEeQShaMMLBAAHebCCljW2HldSNOk7geNgJ3Ku2Tb1RB1VbCOcN+iXh jSP5RlUSUuBA== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="242214687" X-IronPort-AV: E=Sophos;i="5.79,392,1602572400"; d="scan'208";a="242214687" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2021 07:02:32 -0800 IronPort-SDR: LY2JnlmMixwS3/SkzphMnCYhTbiRUHt8M0luCyNzR5k8v2fPsvrAEUjfWzwnQWib5ryNurluD1 Hu8xg4lm/v/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,392,1602572400"; d="scan'208";a="369891580" Received: from marshy.an.intel.com ([10.122.105.143]) by fmsmga008.fm.intel.com with ESMTP; 01 Feb 2021 07:02:32 -0800 From: richard.gong@linux.intel.com To: mdf@kernel.org, trix@redhat.com, gregkh@linuxfoundation.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Richard Gong Subject: [PATCHv4 5/6] dt-bindings: fpga: add authenticate-fpga-config property Date: Mon, 1 Feb 2021 09:21:58 -0600 Message-Id: <1612192919-4069-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1612192919-4069-1-git-send-email-richard.gong@linux.intel.com> References: <1612192919-4069-1-git-send-email-richard.gong@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Add authenticate-fpga-config property for FPGA bitstream authentication, which makes sure a signed bitstream has valid signatures. Signed-off-by: Richard Gong --- v4: explain authenticate-fpga-config flag further v3: no change v2: put authenticate-fpga-config above partial-fpga-config update commit messages --- Documentation/devicetree/bindings/fpga/fpga-region.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/fpga/fpga-region.txt b/Documentation/devicetree/bindings/fpga/fpga-region.txt index e811cf8..e2740b6 100644 --- a/Documentation/devicetree/bindings/fpga/fpga-region.txt +++ b/Documentation/devicetree/bindings/fpga/fpga-region.txt @@ -182,6 +182,10 @@ Optional properties: This property is optional if the FPGA Manager handles the bridges. If the fpga-region is the child of a fpga-bridge, the list should not contain the parent bridge. +- authenticate-fpga-config : boolean, set if do bitstream authentication only. + flag authenticate-fpga-config is used to first check the integrity of + the bitstream. If the authentication is passed, the user can perform + other operations. - partial-fpga-config : boolean, set if partial reconfiguration is to be done, otherwise full reconfiguration is done. - external-fpga-config : boolean, set if the FPGA has already been configured -- 2.7.4