Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2149060ybc; Wed, 20 Nov 2019 09:35:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyxqXP8G4JgHADw7AZ/ilH/fAv/xMtIMca7bfwiiH2CV3KxpMA0HF1ip7Zk/MWljmDfEgS0 X-Received: by 2002:a17:906:d793:: with SMTP id pj19mr6675040ejb.303.1574271315556; Wed, 20 Nov 2019 09:35:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574271315; cv=none; d=google.com; s=arc-20160816; b=V306gWsv8P3i2qLkJg/nAN6tpX8+/yu7o0qghsY7Fhx5gtFbI9zuN9+9HUqY11sbN/ WIUCAPtwq1p7hWoeaJ4PcWkRafA2a1kKDOY1Qh5CQC3CUAFls4//4Eri2fv3VCaZBWFU mI6bw3JDaLlZ02cgSBviQabJ8d+ZTDrz7CzDRSaE5LCVBbTznYAorZQ09kI4yrWTA80W PLagAjaxipwb9kqJ1xIewBIafg3wGL1dEqp5hqBoPy5zVzt/bKnuDTWAIKJrg4RfyL8l D5KTnpCDjUeqZV6l0QTqWOeXG0xcdd0oviaSr64t9oDMeT4pAzg5TQksKso+dpd1snwM guyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=zuI06UvC/CFgoSE8fHK+RPKiJ1Qu4hyRG5MONiw62xI=; b=PvrsNKL4d6QJHV29TyCLNx4cQMYLWs6s/fbm6xyMM2tvkSmuHYkjNev+/OJYn7kc80 eh7bXiFuDMirnJ2Pmx2c80otpteYk52xI2eg8q5HlPvKu4DUfhurV9Q6tGY6e3UUaTKc Ssab7ya6ndsz3CW1h1fakstPnHY5TuBmhxlGIcb/d5riDfPRfopfXr5xauZz/KhIDP0h a+VuTaRPD7gnmmnP17ejRPogfFMLrxVUMNZZGBVynl2KExunIkrIFNlckUYaERxq4usP ofXdqjkWxYwBHE1p/p5OtStQllBpEKqEFC/I1nKtXOL/kOgUsVkAPM+vdvooiK8QS4rb ZZOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=JZhc2sET; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si15764386ejr.303.2019.11.20.09.34.50; Wed, 20 Nov 2019 09:35:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=JZhc2sET; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729436AbfKTQRP (ORCPT + 99 others); Wed, 20 Nov 2019 11:17:15 -0500 Received: from mout.gmx.net ([212.227.15.19]:56695 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729397AbfKTQRP (ORCPT ); Wed, 20 Nov 2019 11:17:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1574266609; bh=RI4Q4Ucrk+rlZ3lrnsF6lENBGO63UxXhYlY8pNz55u0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=JZhc2sETppPeNxuagIr8jg0GNhX5QOvzodBK8qzSBAqsY3hSGqGHqp5zfmSfhQYfM QOtSuRtkxMtXYQeWvs6d6GUxAiBWh3A+khv2Pj0fLVvByrtiBGZNg9/L2FrkbepjGB /HR8jwsH1mJCnhFPJKHxm+axfWGnIPS2rVhrIOcU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.176] ([37.4.249.139]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MDhlV-1ifObe2TmZ-00Anrf; Wed, 20 Nov 2019 17:16:49 +0100 Subject: Re: [PATCH v3 0/4] Raspberry Pi 4 HWRNG Support To: Stephen Brennan Cc: Mark Rutland , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Herbert Xu , Scott Branden , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, Ray Jui , linux-kernel@vger.kernel.org, Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Stefan Wahren , Matt Mackall , Arnd Bergmann , linux-crypto@vger.kernel.org References: <20191120031622.88949-1-stephen@brennan.io> From: Stefan Wahren Message-ID: <99554159-6abb-6ea5-aebb-57a148a59b78@gmx.net> Date: Wed, 20 Nov 2019 17:16:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191120031622.88949-1-stephen@brennan.io> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:Z9dBjSZwZ2+O3WL2mwvh7agX4F2+npux6rP0HzJz7C0nP+tDAMC KQzPq0eTXEAk9jVgOlqT8vP2wmxww6+SUCR9j1HBLAIgFW3b28LVkdn2TThDIbufs4MFABI PMatIzczHcXblJkesfLPKedLAo8DOnWNpg9EkujbzNGC3T5LEsVijcyJMCB6r7amPqxqaRG uLGpUk3EeLHzdfwOP9now== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5jm9EYJO6bY=:myZF3slHJKl7WcF+aZXrdv MgzqvkteRURkYoUDmr+zhXM8Cfd8ghxg9jmh9hyLzE9+8Q9KavSc1UG0QJ8hx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H2pK34W9jBeIOou/q912 UqALb5FoZBqGP6VAUMg6Hj+hPa8vXI3cs9XDTc5aOO5/ZKpfEganNQjC3hYdE/XkpGgWBsKOK VyKzPak831kNwWM8s/4oVjFofoAopFNktmQv9KHR4qWWwFAJBNPC+6Yltf6g= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Stephen, Am 20.11.19 um 04:16 schrieb Stephen Brennan: > This patch series enables support for the HWRNG included on the Raspberry > Pi 4. It is simply a rebase of Stefan's branch [1]. I went ahead and > tested this out on a Pi 4. Prior to this patch series, attempting to use > the hwrng gives: > > $ head -c 2 /dev/hwrng > head: /dev/hwrng: Input/output error > > After this series, the same command gives two random bytes. just a note: a more expressive test would be running rngtest (package rng-tools) on this device. Regards Stefan