Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp493190pxb; Thu, 31 Mar 2022 09:59:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylZrtiClVKdhhcCtbr7KHHL7GoZwT3d5wK7ucQbu+JK42qA8MZqnvFIxBeKYTLnL+92oe8 X-Received: by 2002:a17:907:16ac:b0:6e0:1646:9121 with SMTP id hc44-20020a17090716ac00b006e016469121mr5984309ejc.194.1648745968180; Thu, 31 Mar 2022 09:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648745968; cv=none; d=google.com; s=arc-20160816; b=Nx7HmIGrPXG3iO+T+OCqBw8ANNjngc1cYCvA+zS2pTpnAw+tZjBXTY1AXshg6TwjIM 9VNRp3O/kBFqs0ZICkwbe4UICAsw3Ligp7csPjh2SS0YX38/RwUuT7Md/1irqrNUAAfW bHoUtkyOo2e46o/TiF97GTXBxnKBlmhp+xQ6buPM3KXwjer6JkbQ7CfYrFKmcNTy5GiU XaLjOU26qzSs7oEAWpJAbC/7SkQ091/Nhpecung70wkif5Is72tayQ47dBtdEMEJnfla G4jRzSlHnr6E1Zr0TXv5SlA8E0uDddWQd0F9Y3vMKNs27ZP4YRplELb3J9hDSzJcNTKd gzUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=bdemiuh3/TDgncY/uGBzOx4cPFqh07oc31wGuMqecpA=; b=evPvpHPUAZsO65C7MoO5dm+U4y/9zOLPIWn1YUXL4yp9SY49TcQ4XoAa9SWNHYaDjf GPopR+TOI5qbH2OACQJgCRxsR2m32N/jl8PyMnq6G5mrR+BzW5xybO9WNjpfuNu/kxF2 8jXT5Jgvh+fzRRTUHZb1WH3BvKzPYY3cVw64WF3O0f3Q/lWhiT9DGICd8oktDkrjff97 K0ruL9wrjNcuT2yG+RO1aXi5VyHU/uMOEc/lVZ/Fe9iCa1y2YDPmhJE5492443i6DLkH yH+Y+rH7HK1h9+TLiKD3gS6C47A7QmRBcBoXJf+N24F+AvKqAfzd1/knE2rgDlOmSJ73 XGug== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gh2-20020a1709073c0200b006df76385dcesi39482ejc.622.2022.03.31.09.59.00; Thu, 31 Mar 2022 09:59:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234389AbiCaJ7L (ORCPT + 99 others); Thu, 31 Mar 2022 05:59:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234376AbiCaJ7G (ORCPT ); Thu, 31 Mar 2022 05:59:06 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 312B51AFEB2 for ; Thu, 31 Mar 2022 02:57:20 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id DA36A68BEB; Thu, 31 Mar 2022 11:57:16 +0200 (CEST) Date: Thu, 31 Mar 2022 11:57:16 +0200 From: Christoph Hellwig To: Heiko Stuebner Cc: palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, wefu@redhat.com, liush@allwinnertech.com, guoren@kernel.org, atishp@atishpatra.org, anup@brainfault.org, drew@beagleboard.org, hch@lst.de, arnd@arndb.de, wens@csie.org, maxime@cerno.tech, gfavor@ventanamicro.com, andrea.mondelli@huawei.com, behrensj@mit.edu, xinhaoqu@huawei.com, mick@ics.forth.gr, allen.baum@esperantotech.com, jscheid@ventanamicro.com, rtrauben@gmail.com, samuel@sholland.org, cmuellner@linux.com, philipp.tomsich@vrull.eu Subject: Re: [PATCH v8 08/14] riscv: move boot alternatives to after fill_hwcap Message-ID: <20220331095716.GE23422@lst.de> References: <20220324000710.575331-1-heiko@sntech.de> <20220324000710.575331-9-heiko@sntech.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220324000710.575331-9-heiko@sntech.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 On Thu, Mar 24, 2022 at 01:07:04AM +0100, Heiko Stuebner wrote: > Move the application of boot alternatives to after the hw-capabilities > are populated. This allows to check for available extensions when > determining which alternatives to apply and also makes it actually > work if CONFIG_SMP is disabled for whatever reason. Looks good: Reviewed-by: Christoph Hellwig