From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F034C43334 for ; Sun, 19 Jun 2022 11:56:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236897AbiFSL4j (ORCPT ); Sun, 19 Jun 2022 07:56:39 -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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD371C43334 for ; Sun, 19 Jun 2022 11:57:34 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LQrqx4630z3059 for ; Sun, 19 Jun 2022 21:57:33 +1000 (AEST) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4LQrpp39lMz3059 for ; Sun, 19 Jun 2022 21:56:34 +1000 (AEST) 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 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-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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