Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2009667iog; Sun, 19 Jun 2022 05:06:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sz8J3fs+gXloV8kssgaTF/XIogpKKjhDGuTndae2WHvobts3XUcYzLtg2QeF9WlYwVN4CD X-Received: by 2002:a17:902:7611:b0:168:cb95:fd27 with SMTP id k17-20020a170902761100b00168cb95fd27mr18112710pll.126.1655640372923; Sun, 19 Jun 2022 05:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655640372; cv=none; d=google.com; s=arc-20160816; b=JvOp7SG/0U37eBGEEJ9OdlKUqTCFjAiqAWdIVso1GE1uEg1135KBSqk8M2dMBvvwoR BTBz68kNsMv5YAOUFGVjarpA8e2n2riMf170AanoXLOQYwBC+4+6+UAud2gviC/Z2qV0 AJIG9y1L3edVW8XIbEG8xliWbBn1cKTmO5PJmowdpYnASrYtxXAqJy0swFxzTWK4KQ0x F6zRzrvRkpQaVN98ykm7MrxmT8lRtPu026cREUe23vKu/mxR6jdh0QBP04/myqGXsimJ Gs8b327o+O14pPAJJ0QNQFC6wfTHBy9yItfdiyQieC32T1gY/TQHC3FsJYzIgNzKj/JD 2BEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=Pf3RhQDZPCbiI9Ty1mdb69uJ0DJuRQ2ct148ZiGu7Kc=; b=Dnf8oQ6V2GtjeL87RY6ttrDa6GGQLUCGqbbf9SsDEele344BQnasb8x8xurkg82YS7 c/+7sx073ZKyPGlu00MYuN13trI3ZdYsHKaR7rspFaW6T5T8xw/9Py5Z0Bl2mzQJ0opZ DgVAy9OaK6BqOHp7koxH7Sbd1wQ9CumWWDVInQA+AtSwsbdpQmTott0erz8zhqB3OadC hvyF0tKItfOY5YgPowZFk4iBJMthskrdzOctdCqN3QjFCWPc8em0XwxR4dnKVCI0Fgmp WFIPW58+s+Ris7Ds2FV4/WVs19868v2/MlcGW5ujQBxDR22hwbTF7LCo0zdjwirDUFOZ UyXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y35-20020a056a001ca300b005251631ddcasi3722218pfw.342.2022.06.19.05.06.01; Sun, 19 Jun 2022 05:06:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236857AbiFSL4i (ORCPT + 99 others); Sun, 19 Jun 2022 07:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231256AbiFSL4c (ORCPT ); Sun, 19 Jun 2022 07:56:32 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BCBB120B3 for ; Sun, 19 Jun 2022 04:56:31 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LQrpj696vz4xXg; Sun, 19 Jun 2022 21:56:29 +1000 (AEST) From: Michael Ellerman To: linux-kernel@vger.kernel.org, Michael Ellerman , "Jason A. Donenfeld" , linuxppc-dev@lists.ozlabs.org Cc: Christophe Leroy In-Reply-To: <20220611151015.548325-1-Jason@zx2c4.com> References: <20220611151015.548325-1-Jason@zx2c4.com> Subject: Re: [PATCH v3 0/3] powerpc: wire up rng during setup_arch Message-Id: <165563974695.2516477.14135241088366642761.b4-ty@ellerman.id.au> Date: Sun, 19 Jun 2022 21:55:46 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 11 Jun 2022 17:10:12 +0200, Jason A. Donenfeld wrote: > The platform's RNG must be available before random_init() in order to be > useful for initial seeding, which in turn means that it needs to be > called from setup_arch(), rather than from an init call. This series > wires that up properly on the three platforms that currently initialize > the RNG from the wrong place. > > Cc: Michael Ellerman > Cc: Christophe Leroy > > [...] Patches 1 & 3 applied to powerpc/fixes. [1/3] powerpc/microwatt: wire up rng during setup_arch https://git.kernel.org/powerpc/c/20a9689b3607456d92c6fb764501f6a95950b098 [3/3] powerpc/pseries: wire up rng during setup_arch https://git.kernel.org/powerpc/c/e561e472a3d441753bd012333b057f48fef1045b cheers