Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2305131iog; Sun, 19 Jun 2022 13:33:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ubJm3VTfmo5RVDClUDGJRMFdG0JJrzRZy4U+nWJcMdIdd0JQ3pSRg8VKom6qmJt5Sr6k4m X-Received: by 2002:a17:90a:66c1:b0:1e8:43ae:f7c0 with SMTP id z1-20020a17090a66c100b001e843aef7c0mr23154009pjl.245.1655670802473; Sun, 19 Jun 2022 13:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655670802; cv=none; d=google.com; s=arc-20160816; b=wahLZUO0YRUMV9F8cFgCC+5AdtA/5oSw8FkM6aEzAM0SAwMJukWhKJpR6Pf2yG7pEv XmoN2+P3rXIxelC/FltENra1wUK7GUhHiGqZMSQgLy7H5LVgGHWW0A3QqYXMlhmtZozJ OgK3ITj/khzKuBoeHUdLWtA76rgEEeg9JRzObYAP1US8ii2/YI1RpiST/wVLbjmR3HuX zhfhxJs9s9fuC/h4bT4LgoKR4GsCmO04G5pVUexm0OhYQ6G6htNkqwTrnRa89neOP9Ss aIT4HB0wqq70Pyomjn7ecOiQDwBKGYDBnBFZ4I1m3XOGLCw0etTyAY1XYcGjcb2szW0d 2n4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=E43yYKQ93Nj8ZBsO2wdXwId/ptjpjzHFd5icsbHgVck=; b=zJ5rw4JP4OiEMVYRdfZ1loHOgEZ3UENVbIFGxwDUh0NHRWVeJP4roFx38Zv7+vVQLn gia1EI8UhJ4gFdjp3crRVqYii4AnpGYvzsiyT+klQxCPIYk0P3ct26wqRJ/i4hbf7iDk 9XKM1Lhl0YErNkGZdGBO6Yd+LIduQUgWaTpLqg5GpqwVtvCVpdvpllMscBydQceg7Fbg viyM6f04ayRoHOkps9WQBXG6vJZAw8KOugeP67Tog0NMCZZO5iFJob8omiG1CLwjIQgu q6MDFpMqagNYoNeraeB3ZrG0x4hwDGn2Glr1Pn4PYHtPprAEfSS9ktNIT0xHLJUaP2JW 8Bwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=GqC6I5Te; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p16-20020a056a000b5000b0050db6efbaedsi13270269pfo.105.2022.06.19.13.33.10; Sun, 19 Jun 2022 13:33:22 -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; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=GqC6I5Te; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234979AbiFSUc0 (ORCPT + 99 others); Sun, 19 Jun 2022 16:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbiFSUcZ (ORCPT ); Sun, 19 Jun 2022 16:32:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A7F3BCD; Sun, 19 Jun 2022 13:32:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F12EDB80BA9; Sun, 19 Jun 2022 20:32:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 366BCC34114; Sun, 19 Jun 2022 20:32:21 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="GqC6I5Te" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1655670738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E43yYKQ93Nj8ZBsO2wdXwId/ptjpjzHFd5icsbHgVck=; b=GqC6I5TerNfh9l2Mcco256Fmef6HflorZBDQ0NDeoojcq/i8GEPcoS17TNYd8LL4kkFkzf slNAYwQY65wwc87Bo4QEkItaLLXchOLYKbatW4DhYm7Pgf7V5QpaqVZBRBQBdwYknSDYMa HCM2mSVrkR2dXiW7PMnwjZ5HaAN6mJ8= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4987202e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 19 Jun 2022 20:32:18 +0000 (UTC) Received: by mail-yb1-f182.google.com with SMTP id 23so15721938ybe.8; Sun, 19 Jun 2022 13:32:18 -0700 (PDT) X-Gm-Message-State: AJIora/altS9MnBUhy/sTxD1kVibwQQktDhbDIViVtCOHrFf5FTCEqi5 pFa2rRA7KY9hTWUCJF5KySukIUy+4ws5ozeXHRI= X-Received: by 2002:a5b:dcf:0:b0:64a:6923:bbba with SMTP id t15-20020a5b0dcf000000b0064a6923bbbamr22761168ybr.398.1655670737153; Sun, 19 Jun 2022 13:32:17 -0700 (PDT) MIME-Version: 1.0 References: <20220611151015.548325-1-Jason@zx2c4.com> <20220611151015.548325-3-Jason@zx2c4.com> <87czf4c1q1.fsf@mpe.ellerman.id.au> In-Reply-To: <87czf4c1q1.fsf@mpe.ellerman.id.au> From: "Jason A. Donenfeld" Date: Sun, 19 Jun 2022 22:32:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/3] powerpc/powernv: wire up rng during setup_arch To: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, LKML , stable , Christophe Leroy Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,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 Hi Michael, On Sun, Jun 19, 2022 at 1:49 PM Michael Ellerman wrote: > This crashes on power8 because it's too early to call kzalloc() in > rng_create(), and it's also too early to setup the percpu variables in > there. > > I'll rework it and post a v4. Oh, darn. Sorry about that. Thanks for reworking it. Jason