Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp8305332ioo; Sat, 4 Jun 2022 05:06:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw32xgQqlMyGvZkp+GNsQKF4yAJfT2pcrCV20GCSrlxtIk8fyYrP+ssVZKRXwYbNli9L1Ep X-Received: by 2002:a17:907:7e95:b0:6fe:e27a:357b with SMTP id qb21-20020a1709077e9500b006fee27a357bmr12676429ejc.404.1654344367244; Sat, 04 Jun 2022 05:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654344367; cv=none; d=google.com; s=arc-20160816; b=wsh/D/oMwpSXGUncJ9GCPhMDe/9yv3T4UgzCDYqGwERuDhU31ly2iRUzn2pWyQ7Cqw BjCB+WGqXMGmMR9mrTBNoxYykY6Z5u5xzfhvvBob3tq1LK937t45k3VsSCEFzzzFKQQS aMx+5D9CyiWKXpM4bhehLatMg+fxygT5T+DiVQgcNP7inhzS1nv7yqVemZYUPZivtuIJ RObIXgIWR7UVbVHxFPKe+PUhFUMfiSQD0qERLKj9EZxddGAUQVeby3mrLhvwJHN53Aul RVptV2Vf7PjtZLOCQWNR4eSpwt70+7PXSYV7fLLKbo8udCNSE62NelG4CiAKFIyLNhoK b+iA== 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=83SdYmk3U61Aj+CbfcRuFsqRAJiVBcI1MBf6jt14hV4=; b=JtoZtoThlhhVsnYpBLwWDYCXtFADFpZVk9mv1TnxTqtpCg2DJolU3gjrwrOOSmb4Ye 5CcWJdREZI/hs+uktCQNaA3QQcsOHLI2R9/+O9Sp0v7Whb5WKD5O+En+cge+V+GH1yMR VXvpbjCbni0VgPELQPFtkJKcdhcKkljxebHds5yFYJF7JS+XHMtHMljGpKleXXJwuzJR RllxXjwUXQmLa8may4biIX90QlZW6TSbKvH4faOb0NIHCO/NoRtYuRK6zhR6T/VAMe6m iY8Z7cvcF6oDrEYUOAfvkNUAsgdglUc1HlcDnffWz8LumzHkuNkVsK0hc1rBYzEETgy1 1l5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=a1Esxugg; 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 hs6-20020a1709073e8600b006ff42751e72si983660ejc.816.2022.06.04.05.05.31; Sat, 04 Jun 2022 05:06:07 -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=a1Esxugg; 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 S237268AbiFBTnl (ORCPT + 99 others); Thu, 2 Jun 2022 15:43:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238923AbiFBTnO (ORCPT ); Thu, 2 Jun 2022 15:43:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3A42E0 for ; Thu, 2 Jun 2022 12:43:07 -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 dfw.source.kernel.org (Postfix) with ESMTPS id D0930617C4 for ; Thu, 2 Jun 2022 19:43:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04714C385A5 for ; Thu, 2 Jun 2022 19:43:05 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="a1Esxugg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1654198982; 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=83SdYmk3U61Aj+CbfcRuFsqRAJiVBcI1MBf6jt14hV4=; b=a1EsxuggogeBBcOkOPsSyXOkxEpbqRYHoK1osBYXagFMgswEII3gfkU16CQ7gsPuSC0Sck WW0wwaKta8m3dEfXr/sYmJB74PZEuQLjrkVAebQRhoyu/gXrEgDfBL82lmZ2kRHdHV0oqh X5Y6ObzLALVlsoxxSqqXIoB2e5hmQ50= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 2a3a6932 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Thu, 2 Jun 2022 19:43:02 +0000 (UTC) Received: by mail-yb1-f175.google.com with SMTP id g4so10055247ybf.12 for ; Thu, 02 Jun 2022 12:43:01 -0700 (PDT) X-Gm-Message-State: AOAM530OFjl6wBhDwnu/fraxlinilA3N3sBSjdrOWPaeD3ED1IQY29yJ eVujIJSoYnR8DVYxRUu4NfYl6g32cW4iKYrXaUg= X-Received: by 2002:a25:83c2:0:b0:65c:bc75:800b with SMTP id v2-20020a2583c2000000b0065cbc75800bmr7224464ybm.373.1654198979830; Thu, 02 Jun 2022 12:42:59 -0700 (PDT) MIME-Version: 1.0 References: <20220602022109.780348-1-swboyd@chromium.org> <165419885870.2681883.10934677413962491141.b4-ty@arm.com> In-Reply-To: <165419885870.2681883.10934677413962491141.b4-ty@arm.com> From: "Jason A. Donenfeld" Date: Thu, 2 Jun 2022 21:42:49 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: Initialize jump labels before setup_machine_fdt() To: Catalin Marinas Cc: Stephen Boyd , Will Deacon , Dominik Brodowski , Ard Biesheuvel , linux-arm-kernel , LKML , Douglas Anderson , Hsin-Yi Wang , Steven Rostedt , patches@lists.linux.dev 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 Catalin, On Thu, Jun 2, 2022 at 9:41 PM Catalin Marinas wrote: > > On Wed, 1 Jun 2022 19:21:09 -0700, Stephen Boyd wrote: > > A static key warning splat appears during early boot on arm64 systems > > that credit randomness from devicetrees that contain an "rng-seed" > > property. This is because setup_machine_fdt() is called before > > jump_label_init() during setup_arch(). Let's swap the order of these two > > calls so that jump labels are initialized before the devicetree is > > unflattened and the rng seed is credited. > > > > [...] > > Applied to arm64 (for-next/core), thanks! > > [1/1] arm64: Initialize jump labels before setup_machine_fdt() > https://git.kernel.org/arm64/c/73e2d827a501 I'm not sure precisely what your for-next tag corresponds to, but just FYI, this should probably go into 5.19 asap and be marked for stable@. Jason