Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21428545rwd; Thu, 29 Jun 2023 16:17:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlGXDcw+vlVaEhTGvxH9JLZZcDgoAWsTthjIa+OBAsx0mY0Zq5MvuBZsXm34grTwKqVCdQ+M X-Received: by 2002:a92:d386:0:b0:341:f920:4483 with SMTP id o6-20020a92d386000000b00341f9204483mr710220ilo.9.1688080657302; Thu, 29 Jun 2023 16:17:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688080657; cv=none; d=google.com; s=arc-20160816; b=REVRwH3ggOMXg1wMW1GkNPtFHoKB9hZqwIS6vM+fEgHp5YApzyP/+gCTUmBPn9f3Bm 2btXfLsCt50l0iuX3ZUoRlSkngckmGTX31QjfGkdsE84Etp9vMXUH6z9k2u4N8bd8pyi OtyjNYGotsSUXN2kn4paFyenJ7CqTwKdUl1srqsARUZftdeb80cOnB2n2Z9XJjT0VUVm VjPH1RacwuC2NmNh4EZ/zgb9Iux73GfZl/M3Qd/RnmvBLP8tfxKwTbCE9CNtPccse81m iRTzFvTIJvTvIs/gltOlzhRkhr0/6uGpa8UJ3G4OFbwKEHoC0mjf+fEriclbWcOgCbf4 Pr2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=EwBX7q5dtknbGomGQRJHsffI3iPVn9g8XuVPo/NHc5I=; fh=WUEY+oAJIFgM/51+q8PH72R4umiCgb326/xtUK4FtW8=; b=t3g87x3Cxj6335AM0lyyMxpibaeaekCabs9M+r3XaRTGYmHnAPkdk7xku6Dmp/m6sM W0trzNQDsHr6eUqwWEZoMOJvKlgNx37ZEkTlYk7mBuvmy2kWiDM3GPfd8XoUKSOO0EDO xh7yv8CI3Bgl67bf35/a0mjclTbu+1zpgu/n+3f2WyKcmi6EYAHH40t7xdShEdfoYMVg qjv1g2T3dhbALea73RYhzDfP2UVCHXGc0BG5Hcp769WKewzaQULQyauLpOgFXPY3GmCs JTfDIofgsEwbRuDtCdj627xqWZNPpe9QhYUYxzxkQ5e6SLjfkPNhSt9dppA4sdBOdCWx q8Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=i4Jf468P; 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 g1-20020a631101000000b005537a86841fsi11449267pgl.243.2023.06.29.16.17.22; Thu, 29 Jun 2023 16:17:37 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=i4Jf468P; 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 S230506AbjF2XL6 (ORCPT + 99 others); Thu, 29 Jun 2023 19:11:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbjF2XLx (ORCPT ); Thu, 29 Jun 2023 19:11:53 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D00A199D for ; Thu, 29 Jun 2023 16:11:51 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fb960b7c9dso2021300e87.0 for ; Thu, 29 Jun 2023 16:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1688080309; x=1690672309; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EwBX7q5dtknbGomGQRJHsffI3iPVn9g8XuVPo/NHc5I=; b=i4Jf468PDU/jpM64AFMYSZdOsJPeMOgikZjuhk9I1HT59sEShjOQa3Cz3cELcrochh C6KLqPsnHQUo0VMkG4S2l1qKYbKUpl1cuPjYtI9qV6upDUY3TnG+bJAZYXDtFVZ1K6u5 o/R3yS+EqKggve5fi9XrePJiSQzvbA65XJHbZ0jkYMStC6fc9mVmrV2rFPAoLwor9byO IpQCNb+jcoE8DfsaliMzCrNH22W0NWw0HdcLUEP86+e5eWrW7ULbhH0JXZyM+/8+3f7U kEYNpW+b3y9KSqlNYGzk4JNfR3ExYDIOtNle0Nt8kwL7eHgNLUjE3yN0in2mTEAezSzE 24Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688080309; x=1690672309; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EwBX7q5dtknbGomGQRJHsffI3iPVn9g8XuVPo/NHc5I=; b=g5d1tUMsTm5yTdY7vHI2f8dpyaA+gMzJ0hIixOHpZ8V/3n1ITbtZP/vM6wSRVshlED a40iPU8tQcKlU327xq32+9k3CUi3ZF/y9y6Nlefx9t01cFtgwFC79o5xYyBj3uwJHXDq MIV58MYDN5hUYXScvKtqtX91j/46sqULh9BjtJBNUYvYwcx979zdSM7nlZ2YrIh3gufT eNxfHOLPwRTxh4nkYqfefG5+QOm1JHp+JLIKXwkwPTvGdNRmYAIycGUJX/TSQ2kwT0S9 utsoOHe7ecaaM3Bm5xvv+FSHXdF8B5HfIJumSpd9ncvH9zFoR9TO+CW6f0FVzW2vQLjv t+JQ== X-Gm-Message-State: ABy/qLbs/nFsrwrE+iHsftRhgXkX7n9OwZnM+PHWsVD6elmbzRmyXWbp +rx6kJ8lPjBJCXFYz0OQoDZcdiMLGc9WunMz5Fkdug== X-Received: by 2002:a05:6512:695:b0:4f8:68a3:38e2 with SMTP id t21-20020a056512069500b004f868a338e2mr1072204lfe.0.1688080309589; Thu, 29 Jun 2023 16:11:49 -0700 (PDT) MIME-Version: 1.0 References: <20230629-rebuttal-vagueness-a699deb7c7b3@wendy> <20230629-uprising-harbor-439b85492132@wendy> In-Reply-To: <20230629-uprising-harbor-439b85492132@wendy> From: Evan Green Date: Thu, 29 Jun 2023 16:11:13 -0700 Message-ID: Subject: Re: [PATCH v2 06/10] RISC-V: add single letter extensions to riscv_isa_ext To: Conor Dooley Cc: palmer@dabbelt.com, conor@kernel.org, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Albert Ou , Andrew Jones , Heiko Stuebner , Sunil V L , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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, Jun 29, 2023 at 1:30=E2=80=AFAM Conor Dooley wrote: > > So that riscv_fill_hwcap() can use riscv_isa_ext to probe for single > letter extensions, add them to it. > As a result, what gets spat out in /proc/cpuinfo will become borked, as > single letter extensions will be printed as part of the base extensions > and while printing from riscv_isa_arr. Take the opportunity to unify the > printing of the isa string, using the new member of riscv_isa_ext_data > in the process. > > Reviewed-by: Andrew Jones > Signed-off-by: Conor Dooley Reviewed-by: Evan Green