Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp406032ybl; Wed, 11 Dec 2019 01:34:26 -0800 (PST) X-Google-Smtp-Source: APXvYqxTmesv+OAWlK6VEX/ktHHkKP6Cq/Qynk8QcvtGdM8rZtSvTfnwC+QyW7DVVhxUcYYBFIsi X-Received: by 2002:aca:4712:: with SMTP id u18mr2041774oia.156.1576056866155; Wed, 11 Dec 2019 01:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576056866; cv=none; d=google.com; s=arc-20160816; b=eE1h1i2SLPnrJzcSnbjn0VH1nOuar24VxtPXOBDBzbJMblixAPl0aX7M0OTX7pOXwN Wfgzz/MRvrDlqx2t7VU2abWeJt/cYh3f+enh+oV/BfAMerepNB48nmA/rAmLVlXYO0vY yvquYXkA6ImK5yOUKFMsrbP38xC233cQaCh0OaJ5aqnDllyVT2vzOQGh6FdNuSYlV40l ruSwkgQuM1IC2M+t903gWyQNKC51kdMc3HVSE1qI+o/p+Uf/NFdMaZ3sVTYgZOHa1/pF MflHNHza1yO61pBtvDlTMqEoI/FY6Pw3zXY5d5lV19zQW3r5zfRGQquAITE1p1oqp8HY qQwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZnCGV5E8AHzYEPhHpk91iy1re1mw16axuqD0eH9QkEs=; b=CRbpCEORtnsuJXPwwaL4leRq5rFJBaNiIqd4VaILnuY5JZBUcrBwRdF/qPpqMVXQuT Ywj3jIWrCtfz6JV5BpiFgtPjNx9ZBnihDbt6I2jYsFulle4L38M3liBWwtg/d6yvG/Nb 6UyZEWNVISa5/VZbP4D0Nt/3hQUXDlhne3V5xyAO93mf3GCi3PZCW89bFEBnermHNEf3 0cav+3MDHIIPvpfwuO9+NNhu8uMmMGYx7UV76T5zAcPwqiOmdvROVKhZ+i8mXl5VfkVO 0Hc7GvK1168ClvZSafBGn72JmKIqGz3+t88alNLDfqJMrju37hlPHXb585Xm2CM7KAMn VSTQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m24si755668otn.67.2019.12.11.01.34.14; Wed, 11 Dec 2019 01:34:26 -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; 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 S1728441AbfLKJdz (ORCPT + 99 others); Wed, 11 Dec 2019 04:33:55 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:53828 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbfLKJdz (ORCPT ); Wed, 11 Dec 2019 04:33:55 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ieyNF-0008KJ-G0; Wed, 11 Dec 2019 17:33:37 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ieyN8-0000Aw-DU; Wed, 11 Dec 2019 17:33:30 +0800 Date: Wed, 11 Dec 2019 17:33:30 +0800 From: Herbert Xu To: Stephen Brennan Cc: Matt Mackall , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Arnd Bergmann , Greg Kroah-Hartman , Florian Fainelli , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/3] Raspberry Pi 4 HWRNG Support Message-ID: <20191211093330.h5qz4oyll3jsuqot@gondor.apana.org.au> References: <20191119061407.69911-1-stephen@brennan.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191119061407.69911-1-stephen@brennan.io> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Nov 18, 2019 at 10:14:04PM -0800, Stephen Brennan wrote: > 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. > > Changes in v2: > - specify the correct size for the region in the dts, refactor bcm283x rng > > --- > > Stefan Wahren (2): > dt-bindings: rng: add BCM2711 RNG compatible > hwrng: iproc-rng200: Add support for BCM2711 > > Stephen Brennan (1): > ARM: dts: bcm2711: Enable HWRNG support > > .../devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 + > arch/arm/boot/dts/bcm2711.dtsi | 6 +++--- > arch/arm/boot/dts/bcm2835.dtsi | 1 + > arch/arm/boot/dts/bcm2836.dtsi | 1 + > arch/arm/boot/dts/bcm2837.dtsi | 1 + > arch/arm/boot/dts/bcm283x-common.dtsi | 11 +++++++++++ > arch/arm/boot/dts/bcm283x.dtsi | 6 ------ > drivers/char/hw_random/Kconfig | 2 +- > drivers/char/hw_random/iproc-rng200.c | 1 + > 9 files changed, 20 insertions(+), 10 deletions(-) > create mode 100644 arch/arm/boot/dts/bcm283x-common.dtsi Patches 1-2 applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt