Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2322605iof; Wed, 8 Jun 2022 02:26:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7Y1qSxBatr5IZpUE4CLnmNWdEmwGl9oT0710MQ3NzWjpAOwF+t7Z3NoNytXaqA0f4Zd9y X-Received: by 2002:a05:6a00:14ce:b0:51c:70ca:562b with SMTP id w14-20020a056a0014ce00b0051c70ca562bmr744054pfu.36.1654680384196; Wed, 08 Jun 2022 02:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654680384; cv=none; d=google.com; s=arc-20160816; b=NJYSxmhlRUb5MNcAz79z/As2RKQncufNoJb748BBEFDCwnwOtqPC5jTkYqGl6X4tGn fp7pgb4khtOrFmRANGqlaUWoOGWdzM1tFIFw9iGSVYWt7X48fWuvx8OMxXWSzt7/6CGk /etZkpW8HbDNnRuWV9K3QV96TWr+pWI3SO14bG8Tp6BL0xuFEPFWiRrSvUnwDbTkGfoC 2XPGTH9Rcxoo/KIml9YtSJ3hO/jM4kldFD5tVomQQoZ1BRMLYbWpSt1zcNq+pAMqKeCK 0rvNfOzSoJx3ZVkJo89NeUBRa5x6zVuzV3cmdUCNFDVNQcsUP61G36hbpgjCRmh8jfyy MsAA== 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=Y48EB/+qYWGE2v81oslfm42q3nbiPcHgndLfChUYuUA=; b=nrvq9KuyiTeReGl2+ste4zWaKpjuT+Je+2UoS8aV68yuo3S8V2hbog2tdmmlEQ8/sK dbiww6liWfsXkEIKbqCo5WPPEFwsAbIxsZBsYPEZz8GBOEACNv/JrEJkBNjIvaamHzQS +oHzmyn2mYineNAyuAVrGpx59yQ+oLn1TggELp/K7oJhoREwPkHZ8yWSE//wVQDxdZxM szHhq9KijD72TBSAfqIXzjm4C11ymOYH1QcR8OTfyZzPJtnubseFchmSNtovTBEhbfuk RpafAuHE5fGHtNCg+ZWohRcYYX2BURmrzVWSxH9/cyYqrYbOY+odZ65OT5Nb3AiXwjbK +yjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=oR7Qp4kI; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 3-20020a630003000000b003fd4f3a4161si15662819pga.534.2022.06.08.02.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 02:26:24 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=oR7Qp4kI; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A8E4F147816; Wed, 8 Jun 2022 01:58:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233395AbiFHI6I (ORCPT + 99 others); Wed, 8 Jun 2022 04:58:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbiFHI5N (ORCPT ); Wed, 8 Jun 2022 04:57:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF5AA3DDF14 for ; Wed, 8 Jun 2022 01:18:27 -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 795826160D for ; Wed, 8 Jun 2022 08:18:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A739CC341C6 for ; Wed, 8 Jun 2022 08:18:06 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="oR7Qp4kI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1654676284; 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=Y48EB/+qYWGE2v81oslfm42q3nbiPcHgndLfChUYuUA=; b=oR7Qp4kIauI254o1w9LMj/KBqCNNq16ujn84yhG7iLxkWaT2uc3EG4yN1+xY3mHnwLgGJR q5huvKfOIDOtmtwxZeDUGcYP0NgfrLNTyZ491lngtqx8VQTqLKYLi7cx658+H0e8zbpg8s R0hGECUrW2/Jtm6WRXLLzCL32OBCw9Q= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id f16ec508 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Wed, 8 Jun 2022 08:18:04 +0000 (UTC) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-2ff7b90e635so201016677b3.5 for ; Wed, 08 Jun 2022 01:18:04 -0700 (PDT) X-Gm-Message-State: AOAM532Y5KMEAsw1CYCwoqFHsCT7JS0ocNsLcB+/QGb814EbHL10nTK0 uNyjdeWEMC1BzbVzaZRDZjPk/sHYN5wX3PgCUdA= X-Received: by 2002:a0d:cd04:0:b0:300:4784:caa3 with SMTP id p4-20020a0dcd04000000b003004784caa3mr35748864ywd.231.1654676282763; Wed, 08 Jun 2022 01:18:02 -0700 (PDT) MIME-Version: 1.0 References: <20220607195752.1146431-1-Jason@zx2c4.com> In-Reply-To: <20220607195752.1146431-1-Jason@zx2c4.com> From: "Jason A. Donenfeld" Date: Wed, 8 Jun 2022 10:17:52 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] riscv: initialize jump labels before early_init_dt_scan() To: linux-riscv , LKML Cc: Stephen Boyd , Phil Elwell , Ard Biesheuvel , Russel King , Catalin Marinas , Paul Walmsley , Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This patch isn't needed in the end. An equivalent patch is needed on xtensa, powerpc, arc, mips, arm32, arm64, riscv. That's a bit much and points to a larger issue. So I'll fix this the ugly way in the random.c code :(. H o w e v e r, I'm pretty sure that you do need to move the sbi_init() call above the existing jump_label_init() call as already existing. So you might consider doing that. Jason