Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1469500iof; Tue, 7 Jun 2022 06:17:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEIDIWAk6SnCDWfyp2IguQtzKc1R8HL9Di2TIyahbseVQOxkH5GJ1j5IatKXBBjCzGOmk1 X-Received: by 2002:a05:6402:d05:b0:425:b5c8:faeb with SMTP id eb5-20020a0564020d0500b00425b5c8faebmr33549301edb.273.1654607858462; Tue, 07 Jun 2022 06:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654607858; cv=none; d=google.com; s=arc-20160816; b=hwxAYCrOjUqzHXiv1G7pihgg9MzoTZq1XzJRxtq31GEsI7cKLXO6ZyotPH66AooFOO fjT6+l4a3g+YXooT3V8T7cWpHPDHnElIqNYSZTdsdM423SQJWo1KNDwmjAw/yPzBAtyB KM4vfOKHT0MzuLdBgPqKfrz2f7RJ4/nrHzkexal1B0Vh1GD9nX1wZAiKwlcLfhTrEbl+ 1SXyVEOXJiNpmU1L3BYRiHZF0oLfogqdoG9ZQXr4RDO09l4FG0QkYZANptEAvAnpOncV rmAXuUs696Y3Pz88CSFTxGXtYF37FVsKfQTSPSrhcWsxIBOJrWw/Kv0s9ofUkygMCmhX ugeg== 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=VZ4F390wwgyLtG+L0iznIIemwDHW51GnqRnFSuFUrrk=; b=ZIvl/WOmzO+r+e2RbSTiH3l1yQwL1dgiMHWJuoLYVLLdhNL+MC7BHGKC9IZ3kwjFyB qmVIncC3yJDokW15uIRHFVu/zKb8CNYqEfjzFMUZ0B5OrOJk0F5JPhvgggRSwB+il+bU xHA0xMPnN1Q2r33piNyr2Yu3PbPeDlrMZX1Nv3Ka83EOAB4zktvMww0s5Eg5syN4nDdy jjKt1rXY6LETles8qoAe5Q2F2LnPGQOGd3HbekmWEyRdsMqAcWLmR+MyOac3WOUCUOYx hV0vDMXBPXMp0z7Weq4HYn+oP3GW356+LlaRRTbqIUbb6V252qBxskeVACC6BSAnnYe7 lLVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=FNTLJmqd; 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 f22-20020a50fc96000000b0042afd968660si18265303edq.64.2022.06.07.06.17.11; Tue, 07 Jun 2022 06:17:38 -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=FNTLJmqd; 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 S238374AbiFGInf (ORCPT + 99 others); Tue, 7 Jun 2022 04:43:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238383AbiFGIna (ORCPT ); Tue, 7 Jun 2022 04:43:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A4A5D029F; Tue, 7 Jun 2022 01:43:28 -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 266846171D; Tue, 7 Jun 2022 08:43:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36951C34115; Tue, 7 Jun 2022 08:43:27 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="FNTLJmqd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1654591405; 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=VZ4F390wwgyLtG+L0iznIIemwDHW51GnqRnFSuFUrrk=; b=FNTLJmqdT1awE4b4uJ+UuumQtcdlfCS5DhaEl4nraqGKJwI0I5Ibqm1MC0+PwrYbt/WXqI edw2mty2xN5tko8gTyA55xilIwvOtmCqK4EuAyUFeBjciA+6yic6Aw4FJaF42m7LdoxtQc m0vQHJHIDXsydEtq0aWl+OGCg1473P0= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 03e1e244 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 7 Jun 2022 08:43:25 +0000 (UTC) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-300628e76f3so167419887b3.12; Tue, 07 Jun 2022 01:43:24 -0700 (PDT) X-Gm-Message-State: AOAM533TtU+5OZA0vptZziOIowv8z4I4/wFIR/J1J91rQuumQ1G6VoLG HDUCro4vVp6wfXKvgkVvqNPZUpcL/B1QZvStsZg= X-Received: by 2002:a81:6c89:0:b0:30c:4c36:f9c7 with SMTP id h131-20020a816c89000000b0030c4c36f9c7mr30236343ywc.485.1654591403328; Tue, 07 Jun 2022 01:43:23 -0700 (PDT) MIME-Version: 1.0 References: <8cc7ebe4-442b-a24b-9bb0-fce6e0425ee6@raspberrypi.com> In-Reply-To: <8cc7ebe4-442b-a24b-9bb0-fce6e0425ee6@raspberrypi.com> From: "Jason A. Donenfeld" Date: Tue, 7 Jun 2022 10:43:12 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ARM: initialize jump labels before setup_machine_fdt() To: Phil Elwell Cc: Russell King - ARM Linux , Russell King , linux-arm-kernel , LKML , Catalin Marinas , Stephen Boyd , Ard Biesheuvel , stable 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 Phil, On Tue, Jun 7, 2022 at 10:29 AM Phil Elwell wrote: > > This patch is fatal for me in the downstream Raspberry Pi kernel - it locks up > on boot even before the earlycon output is available. Hacking jump_label_init to > skip the jump_entry for "crng_is_ready" allows it to boot, but is likely to have > consequences further down the line. Also, reading this a few times, I'm not 100% sure I understand what you did to hack around this and why that works. Think you could paste your hackpatch just out of interest to the discussion (but obviously not to be applied)? Jason