Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3159889pxb; Mon, 16 Nov 2020 07:18:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJztaUy8Rxk53oFeoM6DIA4d1KJiJ6b7IvoMm5zfQEBprxFD7yDkLxUfoLPUZ/zUpFguI8dm X-Received: by 2002:a50:e149:: with SMTP id i9mr16568029edl.56.1605539901277; Mon, 16 Nov 2020 07:18:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605539901; cv=none; d=google.com; s=arc-20160816; b=YA3a7yQfTWDUD2aEzQj1nWdNxem/4rs4EklcfsTe9HuJX9h768wGDHKsmzADvR3nbN 97Zx862JWfVklFqBps4AImqgfpTRlSE03ylbrypfjGHX3SlQDgCVXliH7xngkOzsZgYy xi7dGi6UMVexPtg2tCXNbys5w50eOcaAWX8scM5q3UNQxPusrQ1YMk6jMh4n+HR5cH/I n9QYrYa6GmBGetwD8MNIj3keLQCQPbDjON9zF5sO0Wqhnq1ctkmwsZkYLomOcZrnoHdp QJgF7T8a0QRAYzbYseF7VF+AgpvdSoHBCyu7iaM8HbCNLAnnmuh3mZHH2t3xjiN6E/vD dVkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=OGx9VTVE9xrpd7TRsclbo/UztTFDKECkKQ0QsjPjJB8=; b=vpefxTEFD0lYcMYD6EHrYCLoemoLpNh7mGrLwlJ7zqdB1F3Tbs/q966z8LM+hIpAtW lVJRNk6mZuK5ArIJAFR2EpMHkxZlVZPBP3XFOLelFsVNdmD6iGdFTK4N3M15u3/P/zL5 K2IIGrSf2he1DkgsEpgxyniJGVvSChEc/SrEtNgHgJW7TQWh4Q5exqnRY61nHLabo7b9 pSDDb0nTrwnBk+LpGzXcx+OFHlLakg3q+tmPtsyphWEGTH86Kkg0UvLq4+GSrQZOcV/Z VxcUVpeluoals1zPRzOZzGkhcUEYz2d6wfl8gVG3/vYNvhgZT614feNvOgn3XCvlI/lm taSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XSMJKdvq; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si2940811eda.235.2020.11.16.07.17.57; Mon, 16 Nov 2020 07:18:21 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XSMJKdvq; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731481AbgKPPMu (ORCPT + 99 others); Mon, 16 Nov 2020 10:12:50 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:39576 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729217AbgKPPMu (ORCPT ); Mon, 16 Nov 2020 10:12:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605539569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OGx9VTVE9xrpd7TRsclbo/UztTFDKECkKQ0QsjPjJB8=; b=XSMJKdvqPLVcWvg2lhitP8Ww8ENvP7AgQQUXkDx4wq+/mpybegzzGS1ldNWvxKjn+UENve 7tqCFXsC80ocju2xFcM6eoXlQQ7tIp5GaPN7wheAzeJDcX3Rg4Zxk2p5qBvIQiGzGsJcoL DkC1wFAcnZ1pEL1BnX4UHaQpqeSu6JI= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-408-vdQ9U6c1OoqGllsBmRIIsg-1; Mon, 16 Nov 2020 10:11:52 -0500 X-MC-Unique: vdQ9U6c1OoqGllsBmRIIsg-1 Received: by mail-qk1-f197.google.com with SMTP id s9so11813897qks.2 for ; Mon, 16 Nov 2020 07:11:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=OGx9VTVE9xrpd7TRsclbo/UztTFDKECkKQ0QsjPjJB8=; b=QX/oJdVQoVJ6Acq4vI6gmOY19msZAIg8GRLdVGLZzfFFkDth+fkqzzG+FtSuA+Go0g QZrtwhbZL6CtvOhEOwu7nXlQd//9Txz1CzJta+q+FK/0r/KtpDiqYT66OGUtqmRL4MU8 kG3PpZUvtptabMTj8n2WE3XChbYzDWam/tMVu+DBd5b8dEzqzC20pi+XlATFhVf3Uym/ 2dh5TzBRdOuTmjYntThrgLZ0bzAKmRFOqT4S3pD0vbhkjwiw7Ku6Vv9hD3X9jRFQh9pK P3MSNP3V2/quFk1BSRssFOY4ptzg6LBAl70Pb9uU/qM+piipKVVu03M0Blv1zDlPyKOT Rfzw== X-Gm-Message-State: AOAM533NbLdYw3Pofo2OCl5USEFcUyQoFJllJXz79BsXPpgzEDK1BNbX bztCsKuK6ai/N/xe/RiKONYHYIbbpfudTMnujEmAvvfUBV20uznf5OCRfMZBlOF+SkaHmCjNvvg 0RVNh3fxcSSdNUboZUtOCl54U X-Received: by 2002:ac8:5c47:: with SMTP id j7mr15238834qtj.62.1605539511761; Mon, 16 Nov 2020 07:11:51 -0800 (PST) X-Received: by 2002:ac8:5c47:: with SMTP id j7mr15238799qtj.62.1605539511500; Mon, 16 Nov 2020 07:11:51 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id f202sm11870849qke.112.2020.11.16.07.11.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2020 07:11:50 -0800 (PST) Subject: Re: [PATCHv1 3/4] dt-bindings: fpga: add authenticate-fpga-config property To: Richard Gong , mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: dinguyen@kernel.org, sridhar.rajagopal@intel.com, Richard Gong References: <1605204403-6663-1-git-send-email-richard.gong@linux.intel.com> <1605204403-6663-4-git-send-email-richard.gong@linux.intel.com> <94ccfc8d-ecf9-7782-9044-d3c0cb862118@redhat.com> <50204b8d-91dd-e1d4-45f0-9b3e21d7309b@linux.intel.com> From: Tom Rix Message-ID: <30a35bbd-f1c1-4f80-c3b4-ae5aa409ec4c@redhat.com> Date: Mon, 16 Nov 2020 07:11:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <50204b8d-91dd-e1d4-45f0-9b3e21d7309b@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/16/20 5:50 AM, Richard Gong wrote: > Hi Tom, > > > On 11/14/20 9:59 AM, Tom Rix wrote: >> >> On 11/14/20 6:52 AM, Richard Gong wrote: >>> Hi Tom, >>> >>>>>        prior to OS boot up. >>>>>    - encrypted-fpga-config : boolean, set if the bitstream is encrypted >>>>> +- authenticate-fpga-config : boolean, set if do bitstream authentication >>>> >>>> The list is mostly in alphabetical order so the new 'authenticate-... ' should go at the top. >>>> >>> >>> The original list is not in alphabetical order. The order of partial-fpga-config, external-fpga-config and encrypted-fpga-config here follows the implementation in the of-fpga-region.c file. >>> >>> So authenticate-fpga-config should follow the way, correct? >>> >> This is why i say 'mostly' .. >> >> In general when listing options for a user to read, you should make it easy for them to find >> >> the option they are looking for.  Ordering them alphabetically is an obvious but not the only >> >> way.  I am not asking for you to fix the whole table, just what you are adding. If there is >> >> a better way to organize them please propose the method. >> > > How about put authenticate-fpga-config above partial-fpga-config? I would like to group all xxx-fpga-config flags together. Ok that sounds fine. Tom > > > Regards, > Richard > >> Tom >> >>>> Improve what you mean by 'authentication' similar to my comment in the first patch. >>>> >>> >>> Will do in the version 2 submission. >>> >>> Regards, >>> Richard >>> >>>> Tom >>>> >>>>>    - region-unfreeze-timeout-us : The maximum time in microseconds to wait for >>>>>        bridges to successfully become enabled after the region has been >>>>>        programmed. >>>> >>> >> >