Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1568053ybk; Thu, 14 May 2020 12:09:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ5i8d7KAh5+EK9sT645kvBqWv1TtjBeOyJQLkaewZy9MpwztK7g74pV+sZUbdRYj1jxsF X-Received: by 2002:aa7:d9d8:: with SMTP id v24mr5173191eds.27.1589483369170; Thu, 14 May 2020 12:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589483369; cv=none; d=google.com; s=arc-20160816; b=IfhGsIoCxlbUhUhm2AmODM36woPBeaIQQjWcQPOvMWAJJDnDDTQNHv+YibfKi57CY3 amhSZsaExhZ+S8K+SL78DEOUUHY9svWPcakQjDKINOzkv4aLNDGVAAF80jqTpLVQ8uol ohPU2w5Qi7YhI+kCTKEaDlAI/3mTEC211jC9yMEXEbboJGNMbz6xipV5mgo4yxjhoZqq GKOF7QDeFdk+Wml1K3KRnXy7p/TNHC7ZbEqSv9mM3vZOZj/RKjSY1SG3rDEvoDQyElGv l8VpkWsVoBaDw4xvlYO2nL7C5P26jIBf3GhNzQVTa1DdVLfZ8kLsLEjssLfPQOTYrKEP IiqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:organization:mime-version:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=CXFOnCSMo4ZePs1sWzgaCbirikPXXnubVCNzMYCfGBA=; b=pqIP3gGXSlVPoYJ8+YpTvuVEb8yiLfJALoaFYkbP3aezLX/+EZn0hffkXVFr/S5anQ F4HZ82+4wkZitJ8/3NXWkXgQzEQ64tvREPf1MOjqFLT3ea8OioX9U/APwmlZUsAhptHC 2XHwraTb7TvXGbi+S51fgH3DekuRJxNd0/gU6U+VFT+nC5EceRpUJlZx5/CPHbR4RyZt WRLwqLaI7H0VUC77o5qfa6CZsIOCDf4RFvuwlGG7X6Lx4U7nykQiBWcfVYVmPoNH30ea bOOAic0sinefKqiznt5tmNIOoaR6MkuI2Zg818HPkB1zGAg1NjMd/7WRzppKz9kDXt0y kDwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CClJ+Fyo; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si2180043edj.470.2020.05.14.12.09.05; Thu, 14 May 2020 12:09:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@samsung.com header.s=mail20170921 header.b=CClJ+Fyo; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729580AbgENTIA (ORCPT + 99 others); Thu, 14 May 2020 15:08:00 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57869 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729022AbgENTHk (ORCPT ); Thu, 14 May 2020 15:07:40 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200514190739euoutp01e2f4c72f9c8d369bbee76c9777d45761~O_ppNMVdv1498914989euoutp01B for ; Thu, 14 May 2020 19:07:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200514190739euoutp01e2f4c72f9c8d369bbee76c9777d45761~O_ppNMVdv1498914989euoutp01B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1589483259; bh=CXFOnCSMo4ZePs1sWzgaCbirikPXXnubVCNzMYCfGBA=; h=From:To:Cc:Subject:Date:References:From; b=CClJ+FyobMDurEP5yKu624eumo8GvTzP8ChA5fSE9+1wiFgNQuxpmx/E0ST0igXxj tZTQkS+3D2KqSutEbtIgkxiaEehVWkcH1QEBLQOVRoAqu3qC7lpETQ7kQSOil5N3K3 auZIU4ZmlvR/Q39YBVCbiXzbOnifgxsOFsJ5Biu4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200514190737eucas1p266af3c9f52a7fcb960981451ed8a6ed4~O_poBhODy0442904429eucas1p25; Thu, 14 May 2020 19:07:37 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 41.A1.60679.9F69DBE5; Thu, 14 May 2020 20:07:37 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200514190737eucas1p18ccdddb185ea7611683a6859e17bc721~O_pniwfV-0234402344eucas1p1o; Thu, 14 May 2020 19:07:37 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200514190737eusmtrp1dfac399447ada06f75e580787e9cef7f~O_pnh-Vnd2577025770eusmtrp1m; Thu, 14 May 2020 19:07:37 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-6a-5ebd96f9c12d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C8.32.08375.9F69DBE5; Thu, 14 May 2020 20:07:37 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200514190737eusmtip2b2b24273eb8b84ed3db9c7ab6359c5ef~O_pnXZPj81371813718eusmtip2A; Thu, 14 May 2020 19:07:37 +0000 (GMT) From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= To: Matt Mackall , Herbert Xu , Arnd Bergmann , Greg Kroah-Hartman , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Kukjin Kim , Krzysztof Kozlowski , Florian Fainelli , Markus Elfring , Matthias Brugger , Stefan Wahren , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , =?UTF-8?q?=C5=81ukasz=20Stelmach?= Subject: [PATCH 0/2] Set the quality value for two HW RNGs Date: Thu, 14 May 2020 21:07:32 +0200 Message-Id: <20200514190734.32746-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Organization: Samsung R&D Institute Poland Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRjm81x2sk4dp+DLiqJRQaZmF+OjMhKCTpRd6EdhZK06qeSNHc2K SMtmac2NLVNnkWWheFttNnRpl5WuElslZWEl6TQ0FETJS/d51uXf8z2X93lf+BhC/pNSMPFJ qYI6SZWgpH1JW/O4K2T8YmNMWIMxBH83NMvwrUIzhau1TSR25ZQReGLwkQxnlZppfK5/FtZ1 fyawy3VTht86yhG2dL+mcOeHcR/cZr9E40LXXR9cYnRTuMSWh3BPkZXGg5VuhJ2Pc4i1/vzX CQPiTZ2tNF9vei/jSy33aN52fz5vqcih+XuXq2S89XoGn1dbgfi8vpuIN9e+IvlTT89Q/LBl 9lY22nf1ASEh/rCgXrxmr29c5UMrlWInj5zucNOZyEnkoikMcMshr671N/Zl5Fw5An1lPZIe Iwh6y796lWEEdz92/Y3UVNd7hTIEo+OnvZFPCCxtLymPi+YiQXfjMeURAjgNBcYhPekRCC4d NB/dkyZ/biU4uzJ9chHDkNx8yOyiPTTLrYKu3Aek1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VmN56GigtKnJz5hAWknFlAXWL9PCGQML+AlsSapussENPl JZq3zmaewCgwC0nHLISOWUiqFjAyr2IUSS0tzk3PLTbUK07MLS7NS9dLzs/dxAiM9G3Hfm7e wXhpY/AhRgEORiUeXoOpe+OEWBPLiitzDzFKcDArifD6rd8dJ8SbklhZlVqUH19UmpNafIjR FOibicxSosn5wCSUVxJvaGpobmFpaG5sbmxmoSTO2yFwMEZIID2xJDU7NbUgtQimj4mDU6qB ken00bNaRVM4Ft4Rm/W65OIyfjcRm+sbJ9w6m83yz8wpsi8+VXr3bkE1ffZfF+4/7rm5/saz qbZeZbOXzF9/Jk7hi5zztlVbp/aYLVnlPanr386+tsU/73fMfmtV+9D/57bgfPnYeqWo9x/u xXT57DSadqH6YE20V37ilxpfS6/6zl82vNEd3kosxRmJhlrMRcWJAG2FeAMKAwAA X-CMS-MailID: 20200514190737eucas1p18ccdddb185ea7611683a6859e17bc721 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200514190737eucas1p18ccdddb185ea7611683a6859e17bc721 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200514190737eucas1p18ccdddb185ea7611683a6859e17bc721 References: Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The rng structure contains the quality field which tells how many bits of entropy can be obtained from 1024 bits read from a device. With the quality value set the hw_random framework starts a kernel thread to feed the entropy pool in the CRNG, which helps to initialize it quickly especially during boot. Ɓukasz Stelmach (2): hwrng: iproc-rng200 - Set the quality value hwrng: exynos - Set the quality value drivers/char/hw_random/exynos-trng.c | 1 + drivers/char/hw_random/iproc-rng200.c | 1 + 2 files changed, 2 insertions(+) -- 2.25.0