From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F39EC433EF for ; Wed, 13 Apr 2022 09:15:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234323AbiDMJR4 (ORCPT ); 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-Google-Smtp-Source: ABdhPJx8DruPa2vSEAy/3SFqU1sX90/qigxx5j4L1ib/z1Wj8i0Vy+rDVHfazCrISW9FG0MytXPj0Ml4Q7klFXyK9gU= 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" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B3FBC433F5 for ; Wed, 13 Apr 2022 09:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vsdguwio52Xh5VtePT4f66LXGWa2nUMQZC7DcA4fPnE=; b=Mn/6/uMPGmG/jR EKOssS/oobHbC3/gKy5OZrU5PCfkDaA5sZytb3IcWYTeHZIWQEyAHKaIFz+ejFjBGdL8tsci6cUwF /Ohdtgcu9Y/d2QPcgTjSbvq/IfSUa6xJ2VB1psH8nBWwLp1bTfvYDudURrX1WhH1J3q7PmMEMfO+t p2f79eEyMYG+/0f40YYRxREjHqrnioO5kyu1qmcDavbGSUufuGxHToSzpdI5oA8kYtuk1TW8T7RSM 9hxmxSSkThi4OAGbGE0Atgs8RfN4PLy5rna8mXcg7ilO2YLdvk/S0ZSZ89lu/p5z8z8JmhfR/Nxvc glMFhTciAo30A+eGYPAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neZ5q-000Gou-A1; Wed, 13 Apr 2022 09:15:18 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neZ5o-000Gnm-A1 for linux-riscv@lists.infradead.org; Wed, 13 Apr 2022 09:15:17 +0000 Received: by mail-wr1-x433.google.com with SMTP id t1so1675224wra.4 for ; Wed, 13 Apr 2022 02:15:15 -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=w+NvojJDIj+ypRdSOfyaWOtZB5fDf5C2iLSv2u+o8ZWXoU8trwGcHDwEs/X9sMH7ju LYPzIDxRmz2z5vAZUf1tpWTglUzKLC3n8K0kXUN0zkJxj3eOKE1cFkOxxNW6S6t5Zpp8 CaVFwbeRgXIaxXj7y+BKeyXcbbRJrUZYv37cRt4sDiMgzlz97ZRrWvOnseoYxcDYlLKe uJ6cdLfdePlB6zdeVHNkOGSmobEe8A846fskhpMKzE5UePDywxLPl0n1Sn8UIrYGLFg+ 2Xgail2TZFizmPSc9qUoIvf7ePCOWmV4Gzv7c/vOkbq8WfIm8X+12WqK1u2jSjK2bAz0 Y4pA== X-Gm-Message-State: AOAM533GBcKkXtEt4t9LiQ9ZVRj5Lrc/CNv/Axo0HkVwPicOtYSOyBBu No1KsCQka5SjPXplHUGXQMTH1gQA7jJBO2LIJXZdcQ== X-Google-Smtp-Source: ABdhPJx8DruPa2vSEAy/3SFqU1sX90/qigxx5j4L1ib/z1Wj8i0Vy+rDVHfazCrISW9FG0MytXPj0Ml4Q7klFXyK9gU= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220413_021516_380971_F17908F9 X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv