Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp378106pxb; Wed, 13 Apr 2022 03:19:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRbYdt92aLxVMQcBRec+5vFdFilW1ad3AzpJjeRuN1z+PigitwzrnTAFchnECABLaYzqxi X-Received: by 2002:a05:6402:370b:b0:41d:8508:20af with SMTP id ek11-20020a056402370b00b0041d850820afmr11695556edb.16.1649845168120; Wed, 13 Apr 2022 03:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649845168; cv=none; d=google.com; s=arc-20160816; b=JcYX3PamaEtK3T6hDSPXx6oqbqoXGuEWTe0ZlPwb8+47EXRBhBpdBWM0Pt6Wmact1J CsSKQaPV8h+O8BaNildEWv0KaeEfRnBsKFc7wpEZWQOZdCcdT7OGyf2PxTdsJ9qz91au /1KzVYMibA+dM8RQcLDZtsOL0weFjVcjyoI467evGYjQZoy+9KbzKAkDkY4ibI4vmBG2 w6EZvOSgHIo6ENUegkUC/l0ntMGzH90G4IzRihFoa4B+fLO438UP0lNJkYr3gKFrg/I/ EHIymlUpAUSYU83+WRTf91TvrchufmsZJzOqkm6CLY9T8U/2SotinHKWckW27DcqbzgV NkzQ== 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=vnj/mfXyw3X9KuyzrqC4TpOmshoDLe2fxPgBUJq8rEw=; b=KnuZ3wb9MPeN4XVudl2cCgxjv3JA89AXYM5khEfXzwebzoWSDWL6l6Cp+6b43PmHzg KiYNV684RrF9zKBLh9sWCwMEkVNehG1UEk1rII5zlddg3KJWjj8tRFDiF4mfF/not+ai JFaI9NrVhrG5mJs0n1KZKNClFmDsFvgiqXFj2YxEwA+5bERkjWxQV9UJEPbAe3HfHus/ Z0+OVF69eUjogRlJmq9fBbkSBPDibwyQLK2ulc3SlK05lV6oFGsMxX6u4ukXSV6aN3R5 A2/iAOnjsaqBaNgmfDVislwz+JVfQ7zJOOT8sWC1WBQHIFdNgdTmNODd+kcSnDCPbW/4 tiQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vrull.eu header.s=google header.b=OLiTP5KT; 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 c26-20020a17090603da00b006e8925846cesi5804696eja.471.2022.04.13.03.19.03; Wed, 13 Apr 2022 03:19: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; dkim=pass header.i=@vrull.eu header.s=google header.b=OLiTP5KT; 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 S234304AbiDMJR4 (ORCPT + 99 others); Wed, 13 Apr 2022 05:17:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234371AbiDMJRh (ORCPT ); Wed, 13 Apr 2022 05:17:37 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22D93245B6 for ; Wed, 13 Apr 2022 02:15:16 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id k22so1687528wrd.2 for ; Wed, 13 Apr 2022 02:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vnj/mfXyw3X9KuyzrqC4TpOmshoDLe2fxPgBUJq8rEw=; b=OLiTP5KTzX2EMQRMyuZQT6agCOB3/2yrnTe+Ik9ZxL7u/LI4YqoTK9b+9w/hoTCHtW BAPtK2aVG4wxs4Uos7Q+IdMKHnf+gBRXR7sn4HgBcLEoqme+PPD4qIUFCRI2ln0Yo26L hEnBUOoqJesrXatPPw06xQdIliL1PCuQwZlt0N4dUDVIV7X1nPNnDMoxEt2gVPylMh9Q /73M9Clg+zrCQi45/Hxb2ttjKQmnockYXBgF41WzV3WtkJ7aTw7TNtNVndCc51+2ZWhA Gx6Nq/BAqvZes2RzBJJf75nM6G5itbbYDlUZ7M4nscat2VciVx3lok8ACDCjkeZM4I4Q oGig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vnj/mfXyw3X9KuyzrqC4TpOmshoDLe2fxPgBUJq8rEw=; b=f7rKevtYnSa7axPswiFjWhtfai1ocmWlOJHg7NFWgfUN0D0/m+IgqU/tEBzn+CqmyG 7gMujCtcxxNWqC9Hxfqj/SvPpFqMX/mypY3pAq3xTLSPwNBXF5BKIXNgpWt5XfB7/96e fpPy1wnUwVMHRkhyt/01k1UFv4vcAw07IXG1nQFVvcoA8BZniDlBn8byVc6c+EXxPp41 kUhdcNUqxZ+xxWGcFBSzvYTGg1Tnls6+dICrBzj3GiAzwFHf5nONh+zMDTXL5GpsvtTI e3Nu4jVRn9ypLE0YahGPy9yIF1cpVJ2JLDsRIkzAmO5BBGvjGQcFMzsTqNn4wSJrSryL RmPA== X-Gm-Message-State: AOAM531hR7+SJMKyPWo+7nSNRggN7RVsyZWdr2fUYRaGgFuwJY2zq7pM duhX7MUjQ3Jn50gbxaPX0vQdYD8EMysbHRT925TDSw== X-Received: by 2002:adf:de81:0:b0:207:a65c:d895 with SMTP id w1-20020adfde81000000b00207a65cd895mr11371461wrl.647.1649841314677; Wed, 13 Apr 2022 02:15:14 -0700 (PDT) MIME-Version: 1.0 References: <20220413030307.133807-1-heiko@sntech.de> <20220413030307.133807-8-heiko@sntech.de> In-Reply-To: <20220413030307.133807-8-heiko@sntech.de> From: Philipp Tomsich Date: Wed, 13 Apr 2022 11:15:03 +0200 Message-ID: Subject: Re: [PATCH v9 07/12] riscv: move boot alternatives to after fill_hwcap 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Wed, 13 Apr 2022 at 05:03, 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. > > Signed-off-by: Heiko Stuebner > Reviewed-by: Christoph Hellwig Reviewed-by: Philipp Tomsich