Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5013978pxj; Wed, 9 Jun 2021 07:18:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqO+h2ek3ylJ36S5siJcIQLAsh0RPLqPayPh3poOs7dC1FTdQs5qenE8e9Gs/WnPuIQh9H X-Received: by 2002:a17:906:1dc5:: with SMTP id v5mr126720ejh.212.1623248314118; Wed, 09 Jun 2021 07:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623248314; cv=none; d=google.com; s=arc-20160816; b=L4qvFVh41tLYRbvQein8RZ1BL9aomt3yHjAP9RN+esONmbRZpPfGELkUyuFQe5gKkO NRYCLOsKZf6r3KCMYzIEakIZHhGl3hftxpEYq7O76juP87UXfYzgpJ05kGtOBes39eZU Xcl2vPcyU3UjpD2OduFCFkauCP2NZ3fUUReFVV0vmTNqZ6FuGPg0Hg31ZVi5pe1mKHjQ tXVS85EIN+PX66BpL2SV3Bp9EwWrQIB9UnyGNBQafSTrSSnGktDO0GIeu9TwdXMx4tyX SxyIlogFp8jFYicHFyzqkRdDVk1BZCAFvinGiU12zTYKoRCQ48ZBLikI9tSJoR79iTcO P0yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=R3SeB0PBYI6yRap/4GwmZ1dtOpCJf5ZAE+unw57C5jY=; b=cHL1gWxXK6l726cYSwwjmkxWx1r5VkHl0ea1Vq6X7F0Lru1mYm/pu70R4WCTX/jE6A fZmO+yMCxRgYd8CYkAt1SHahUgE1E7e/RmX/rRtCfsa4BvyzwilHQoqzxIQ3mp66eQcZ Tg7xVhLQI74a7TlBxtoIkJODOUUqjputjsC3RTRflfVA4/umXxLfRm5FtYvlrIAeNM3S F73qoxOz0wFy5dlK8fkXj0QFOdd18rM4nUPY41Wy6ihDs13tHQnQE7H7zbYkITnGuklw zfNnU/ZriY08ZrCmLAGcDPNEWFZtMQb2y1Iwptze9GekO1rGMruwhRupo4mt5rKflF5A l4bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RLlyBX2L; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si2429464edi.510.2021.06.09.07.18.09; Wed, 09 Jun 2021 07:18:34 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RLlyBX2L; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238404AbhFIJ6L (ORCPT + 99 others); Wed, 9 Jun 2021 05:58:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:43352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232603AbhFIJ6K (ORCPT ); Wed, 9 Jun 2021 05:58:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D08561375; Wed, 9 Jun 2021 09:56:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623232575; bh=ZsqaPYIxcSGMqTlGO1r0h5iys19QXtf4kaWe+9Nbfvs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RLlyBX2LsAFkg6J4J6/N1Y+FhwPDdu1On1QPgKFCTsUwluclQc0mI4eYTmudOD/9h HwOfV6g992PuO16nE5c6yiuOxJcBWGNmJGwgLInxKEK3yMKYOYptFeJ2hZQYjzLyB9 o2C0L1aKd/MGYxGQKvcT0354ZA/ue+KNe/9XWqQU= Date: Wed, 9 Jun 2021 11:56:13 +0200 From: Greg KH To: Nava kishore Manne Cc: robh+dt@kernel.org, michal.simek@xilinx.com, mdf@kernel.org, trix@redhat.com, arnd@arndb.de, rajan.vaja@xilinx.com, amit.sunil.dhamne@xilinx.com, tejas.patel@xilinx.com, zou_wei@huawei.com, lakshmi.sai.krishna.potthuri@xilinx.com, ravi.patel@xilinx.com, iwamatsu@nigauri.org, wendy.liang@xilinx.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, git@xilinx.com, chinnikishore369@gmail.com Subject: Re: [RFC v2 2/4] fpga: Add new property to support user-key encrypted bitstream loading Message-ID: References: <20210609055232.4501-1-nava.manne@xilinx.com> <20210609055232.4501-3-nava.manne@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210609055232.4501-3-nava.manne@xilinx.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 09, 2021 at 11:22:30AM +0530, Nava kishore Manne wrote: > This patch Adds ‘encrypted-key-name’ property to > support user-key encrypted bitstream loading > use case. > > Signed-off-by: Nava kishore Manne > --- > Changes for v2: > -Both DT properties ie; encrypted-key-name and encrypted-user-key-fpga-config > are targeted to use for the same use cases but ideally encrypted-key-name > is enough to serve the purpose so updated the file to remove the unwanted > encrypted-user-key-fpga-config property as suggested by Rob. > > Documentation/devicetree/bindings/fpga/fpga-region.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/fpga/fpga-region.txt b/Documentation/devicetree/bindings/fpga/fpga-region.txt > index d787d57491a1..0de4a1c54650 100644 > --- a/Documentation/devicetree/bindings/fpga/fpga-region.txt > +++ b/Documentation/devicetree/bindings/fpga/fpga-region.txt > @@ -177,6 +177,9 @@ Optional properties: > it indicates that the FPGA has already been programmed with this image. > If this property is in an overlay targeting a FPGA region, it is a > request to program the FPGA with that image. > +- encrypted-key-name : should contain the name of an encrypted key file located > + on the firmware search path. It will be used to decrypt the FPGA image > + file with user-key. What is the format this "user-key" is in? Where is the documentation for how to use this type of thing? thanks, greg k-h