Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp860516rdg; Fri, 13 Oct 2023 03:32:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+FCc4my1+DyWQ+c49sGnlJFRtPwAJ4t8VvwNW5L6FkKesClSb1oQw6z1bowhctqrDNSUZ X-Received: by 2002:a17:902:ea05:b0:1c9:bf02:664b with SMTP id s5-20020a170902ea0500b001c9bf02664bmr10765314plg.7.1697193163304; Fri, 13 Oct 2023 03:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697193163; cv=none; d=google.com; s=arc-20160816; b=DWjNWik+j3kJti69MJMEnIonH14GxDkhkAAbvMvpmmdlJjUMg2JGZXkJOc6m1ywZK3 7I6InRmpLwcRS/gy39wjhnzSqmG1wP+uVmFbt8LVmG6gHYqQGdNK+WMlgzIgJiaOSFYR KmIRCPmtl4wfA3Aifi8pdpBbRutwOyFoXoSSn8dUXeqtHDLAM/O6PtiXzK7PDSbv/Cmg Y8n/2M/aU4AeufDVc+Zlni2jXJ9MtM9DAogORKW3V9/EqbYAmecqSDmRv0fb6+XduWYD qC4WQBz69BfmGPp56+Qam09ub3SFwMM4eg1HLXJEfEhaGKpqrEDja1Hz0NxWjq0p1q80 RITQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3YmW474nX3xcOD5eIzYDKqw8e4QmYqEG0biPDbD/SeQ=; fh=PASTEc15H60CDoVhpo4ArV6l5149w0PvXuAU0PRyIy0=; b=XmgCsGcSyO5aCzKZKFa3dd+vzNite/l3wqrH2ob1UbKsqfkk/Oph2nOYL4vAEgqsd8 fg79nRqIOE+mux0UvzlX86flILWoGm160Ai3mZY6uA0Un7iJcfB+e5DmzJC4IjfgSA2w rGS3DiOc7+WCTXyD9XeYYCGQz1x5tICtMPcteWZMfW/Y5CtRftxnFhw1XGJK5NHKo/Q0 26m/6L5iNeizIqsRDgMK9VaN/8BTctpEBekaTkYfEIPrrZ0oFUvHHJWJTXWH2ZOl+/zN KVbYvptF7OFmo7a1zZ2PTfA0Ao8Q82JRiD67fGJN9OShAF/+atDeG5DvnWjLVItMbKpK ITgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id u3-20020a17090341c300b001b8698149fbsi4416780ple.477.2023.10.13.03.32.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:32:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2477581BE2CF; Fri, 13 Oct 2023 03:32:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbjJMKcc (ORCPT + 99 others); Fri, 13 Oct 2023 06:32:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230255AbjJMKc3 (ORCPT ); Fri, 13 Oct 2023 06:32:29 -0400 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE000DC; Fri, 13 Oct 2023 03:32:26 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qrFSq-006jMM-Ou; Fri, 13 Oct 2023 18:32:17 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 13 Oct 2023 18:32:21 +0800 Date: Fri, 13 Oct 2023 18:32:21 +0800 From: Herbert Xu To: neil.armstrong@linaro.org Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Om Prakash Singh , Bjorn Andersson Subject: Re: [PATCH v4 3/5] crypto: qcom-rng - Add hw_random interface support Message-ID: References: <20231003-topic-sm8550-rng-v4-0-255e4d0ba08e@linaro.org> <20231003-topic-sm8550-rng-v4-3-255e4d0ba08e@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231003-topic-sm8550-rng-v4-3-255e4d0ba08e@linaro.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 13 Oct 2023 03:32:41 -0700 (PDT) On Tue, Oct 03, 2023 at 09:10:21AM +0200, neil.armstrong@linaro.org wrote: > > @@ -198,6 +233,21 @@ static int qcom_rng_remove(struct platform_device *pdev) > return 0; > } > > +struct qcom_rng_of_data qcom_prng_of_data = { > + .skip_init = false, > + .hwrng_support = false, > +}; > + > +struct qcom_rng_of_data qcom_prng_ee_of_data = { > + .skip_init = true, > + .hwrng_support = false, > +}; > + > +struct qcom_rng_of_data qcom_trng_of_data = { > + .skip_init = true, > + .hwrng_support = true, > +}; > + I've added static to these three. Please build your patches with C=1 W=1 in future. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt