Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp316060pjb; Tue, 28 Jul 2020 01:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyc6lLLlNC+FAIjDtbGzpGrq1J3CSicwP5XiEg0VtpQS1ePktoMvYUxU6SJZ10Zp1P6KZeJ X-Received: by 2002:a17:906:4c93:: with SMTP id q19mr25699925eju.253.1595926259246; Tue, 28 Jul 2020 01:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595926259; cv=none; d=google.com; s=arc-20160816; b=tgdjmZv3BDGj1zNsO4H6OxP9IU2KI6WE6WW3u1GXQYlYLKgR3hFffUPh5cfdvjx+nR cN621Aui74AcgLQHW+jQx7AJii3O/kyc1YU4HBUDr8FOaRlh3a5XbASm8Kc8+8PQvHgl puT1py6pYtOKCtFj4TYwVNgHjp8VN4UZfrOSHSPj6cfO7XFeW88coRByT66486BW/mAC 0eTOEzBWtk22RDFFdtfR5skXn2L7N4X6Px7e4aWa8hxk0cDqpiUP8MvOUTnrgDnLHrur vmsfGYv+A4S7fY9iP9eMZYVnufRNHANxBHZIo3H+MlnwacmQgrSdaPGsb+0HrmK6xCjU Oaiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from; bh=LnVbsIA3sSCmOnq71StbGwoDjSFBH+9S7RDyOJdAGQI=; b=LVgxU4ZgCUAS61HTirUVz3PJj9a+sOwUdfJispq5fmJ4O1VUYSbpp/hiT/2t0ogSU/ vQguCGlmo6INCi9iGoex+qj8FnKWp94HDTZRcfY+zzRmTiBLFpPhxEwKCcFNYOyyjwjp qEWpTLAvBGGy62c/Ibb2V2/wWo3fmuX6OYVWDre8li+aKMV8QbUNOYboNMDceIVRUqUD A4u28h8RSh20H7V4FPpsC57CI8BAl++HMsrc+5tmjqaVbFw7QipEZmPs4893k1uxM5m6 Gad1jv17feJ6vt0VuwUICVGgjUEkFVIc+axwt+eGOSK2TJE29XjGkNnUPOd/cAs8wr7H gfTQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p15si236054edr.375.2020.07.28.01.50.36; Tue, 28 Jul 2020 01:50:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728198AbgG1IuZ (ORCPT + 99 others); Tue, 28 Jul 2020 04:50:25 -0400 Received: from mailout10.rmx.de ([94.199.88.75]:44469 "EHLO mailout10.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728016AbgG1IuY (ORCPT ); Tue, 28 Jul 2020 04:50:24 -0400 Received: from kdin01.retarus.com (kdin01.dmz1.retloc [172.19.17.48]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout10.rmx.de (Postfix) with ESMTPS id 4BG9Ns6mg5z37rL; Tue, 28 Jul 2020 10:50:21 +0200 (CEST) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin01.retarus.com (Postfix) with ESMTPS id 4BG9NT21J9z2xjv; Tue, 28 Jul 2020 10:50:01 +0200 (CEST) Received: from n95hx1g2.localnet (192.168.54.10) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 28 Jul 2020 10:47:31 +0200 From: Christian Eggers To: Marco Felsch CC: Fabio Estevam , Martin Kaiser , Herbert Xu , Arnd Bergmann , "Greg Kroah-Hartman" , Sascha Hauer , , NXP Linux Team , Pengutronix Kernel Team , "Matt Mackall" , Shawn Guo , , Subject: Re: [PATCH] hwrng: imx-rngc - setup default RNG quality Date: Tue, 28 Jul 2020 10:47:29 +0200 Message-ID: <2473540.1Sv8tvBx5K@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG In-Reply-To: <20200728074817.hlevn7ex2hckdbvi@pengutronix.de> References: <20200727124552.4336-1-ceggers@arri.de> <20200728074817.hlevn7ex2hckdbvi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [192.168.54.10] X-RMX-ID: 20200728-105003-4BG9NT21J9z2xjv-0@kdin01 X-RMX-SOURCE: 217.111.95.66 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marco, On Tuesday, 28 July 2020, 09:48:17 CEST, Marco Felsch wrote: > Hi Christian, > > On 20-07-27 14:45, Christian Eggers wrote: > > When hw_random device's quality is non-zero, it will automatically fill > > the kernel's entropy pool at boot. For this purpose, one conservative > > quality value is being picked up as the default value. > > IMHO your value is not conservative enough and the commit message should > explain why we should use 900. Unfortunately I had not enough time to > send my patch addressing this. However please check my commit message > why 900 is not good: ok, you caught me. I found the value of 900 in several other drivers and simply took it. Even parts of my commit message were simply copied... As I have no real idea about determining the right quality, I will leave this task for you :-) Thanks Christian