Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3235159ybc; Mon, 18 Nov 2019 11:46:06 -0800 (PST) X-Google-Smtp-Source: APXvYqz3c150Cw9aor8oZoZyAVyhqGbHTI3PsG5KLDU3nJx7d7ssGhj7xqCizIkCR5OqFkZfpdqr X-Received: by 2002:a17:906:90b:: with SMTP id i11mr14784670ejd.109.1574106366837; Mon, 18 Nov 2019 11:46:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574106366; cv=none; d=google.com; s=arc-20160816; b=PCjUbEVq9oNg80YVKTW1QJGoGSDqaG1ExXPabqCspgoNCsI4afQSJDfnpesfI4c0ir RLlYtkFp/Cip7NGuUHuBOy92lVbuEz5jCEHYVvMWOIgF4LsL2WRA9aiLsOsCZBV411NM lPS3sXnn0ntEmhnbdpLLl4YxeAHLdUxqjvHv4r3yz7Eh6jU6mFHm3DqOSKEqKLyscHzi z70du83Wy591pYZA/Ivh8cOL4CIGHA5YjmlYKErA7K0sY4WT5y/Nf0DNdsnnbn5buM72 HpBdH9tLglPY3VGT83RXSGTND+mlgMcMEu9PIANUJDIfcibp1UY4sTDTjNaErm0wKZEp bIMQ== 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=BFo6UpCF5FSQdXQb5U8YoMOVoDpqTGA9WAle9mBSqfU=; b=w7UzAj62LSwY9X73x9h5KpsIXkt5W5KJR1mxkIKcyu12A2BDfbKFYL6YrgIY/5PMfK Vcmnukp5QnnqAzgNWKmdh7KbT1YaZIBl3QlJ1OxNAf4SjtDq1917pt1ivysAcaJ9PLrV /5wwyRmA8sJUSm29YnKr137WWJpQBJB484ivSrBSZwztqTclcxB//ir/aY+FC1ULHwnD 9OHuObt6Omd31iPStE0EkflC4iIlpMxg2PjHsbIEhbjaCaY9Fr30bQFP7aiWbI5rXnjH /Uv2F2jD0Sw+28f+TbBV7TDOPxUpHA+lkB7f9SZ1WJ6E3rEDVr+0Ez+sH8/VP/w7+IWI abOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Kob6o5l5; 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 o18si12034211ejj.427.2019.11.18.11.45.32; Mon, 18 Nov 2019 11:46:06 -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=Kob6o5l5; 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 S1726705AbfKRTpZ (ORCPT + 99 others); Mon, 18 Nov 2019 14:45:25 -0500 Received: from mout.gmx.net ([212.227.17.20]:46283 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbfKRTpZ (ORCPT ); Mon, 18 Nov 2019 14:45:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1574106298; bh=XSpYzjhcgiHHrYhcZHLykdCAj0e3wpqTkNXlUfzkU4o=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Kob6o5l5jdcqPStOSOAJau0p9oouSqofToVYgzuAbv8dHGLXf3UOzpelxCJoeeZdQ PlvPIgb+WEHwGwDKPU4e6rANIbrfeiWZFB+aLYApWxlwId/7mos3Jj5Vx6WztjEYP6 o4HL5jyK4tEnrL5LVdUpJu2W+3V8hai9kcJorfyc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.176] ([37.4.249.101]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKbkC-1iIQQo2sto-00Kxvf; Mon, 18 Nov 2019 20:44:58 +0100 Subject: Re: [PATCH 3/3] ARM: dts: bcm2711: Enable HWRNG support To: Nicolas Saenz Julienne , Stephen Brennan Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Herbert Xu , Scott Branden , Greg Kroah-Hartman , Matt Mackall , linux-kernel@vger.kernel.org, Arnd Bergmann , linux-crypto@vger.kernel.org, Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Ray Jui , linux-arm-kernel@lists.infradead.org References: <20191118075807.165126-1-stephen@brennan.io> <20191118075807.165126-4-stephen@brennan.io> <3209f601ad0537a7ef01e2a752f022ccf8816210.camel@suse.de> From: Stefan Wahren Message-ID: <5cc711fd-4d47-5369-c424-363677334b9f@gmx.net> Date: Mon, 18 Nov 2019 20:44:54 +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: <3209f601ad0537a7ef01e2a752f022ccf8816210.camel@suse.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:hOwNU8cCHONZ9O486Jwq2iYZo79fAwXMhOiTJGOJ2PlKe+8gm6Q UGZOE/CTkcMnh13XIW02vvGVxZLDBTfhtyX/V+eFjeKG0rSDSrVsYC2qS+YNqdTpolkbIr1 67O8WyoHcMO0Pt+KOgbWoq45imjgCX1ZRtzKZ6z8dTO+YJtfGNVKw91mLvvOE+StvshZzFX 9hmwXJS0vB8xxwCdtGr6A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:IR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lYiF7sJ79RkVOHApJaRlaPUfJwVjQww/0HuiOr1edGc6StO69beT+0R2WNTk83Buu1zcG2v EzQuqvmvvXH8ufwxcYV8YsMAbpnZQrbsfS3rCH0tnYHyfHZ3a9vUPHLBI58Py0+aAPRwTozp0 eQ1npU3/B3X/xQTedc7ruIIhRdCvBZnj+VtLFiBzRoLIFO40y9i9q3EI2udLHptGcRmb6cHV1 u3VU1rHYZgDFYg229qicqHv6Bn+KBoUXrpPN5NKwgRWjL02CtdXcA6ihZWfU= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, Am 18.11.19 um 12:44 schrieb Nicolas Saenz Julienne: > Hi Stephen, > > On Sun, 2019-11-17 at 23:58 -0800, Stephen Brennan wrote: >> From: Stefan Wahren >> >> This enables hardware random number generator support for the BCM2711 >> on the Raspberry Pi 4 board. >> >> Signed-off-by: Stefan Wahren >> Signed-off-by: Stephen Brennan >> --- >> arch/arm/boot/dts/bcm2711.dtsi | 5 ++--- >> 1 file changed, 2 insertions(+), 3 deletions(-) >> >> diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711= .dtsi >> index ac83dac2e6ba..2c19e5de284a 100644 >> --- a/arch/arm/boot/dts/bcm2711.dtsi >> +++ b/arch/arm/boot/dts/bcm2711.dtsi >> @@ -92,10 +92,9 @@ pm: watchdog@7e100000 { >> }; >> >> rng@7e104000 { >> + compatible =3D "brcm,bcm2711-rng200"; >> interrupts =3D ; >> - >> - /* RNG is incompatible with brcm,bcm2835-rng */ >> - status =3D "disabled"; >> + status =3D "okay"; >> }; >> >> uart2: serial@7e201400 { > We inherit the reg property from bcm283x.dtsi, on which we only define a= size > of 0x10 bytes. I gather from the driver that iproc-rng200's register spa= ce is > at least 0x28 bytes big. We should also update the 'reg' property to: > > reg =3D <0x7e104000 0x28>; Thanks for sending and noticing. A proper solution would be to move the whole rng node from bcm283x.dtsi to bcm283x-common.dtsi and define a completely new rng node in bcm2711.dtsi. Regards Stefan > > Regards, > Nicolas > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel