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 67E06EB64DD for ; Thu, 29 Jun 2023 23:11:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231214AbjF2XL5 (ORCPT ); Thu, 29 Jun 2023 19:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231393AbjF2XLx (ORCPT ); Thu, 29 Jun 2023 19:11:53 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CF6A9E for ; Thu, 29 Jun 2023 16:11:51 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b6c3921c8bso20004341fa.3 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=l4VqcANNHSNx7XdFlgyO26WNUz6ta/jVTGr88ofIYDq0zpoH8RLP68wYMtdwW8cGvH 3+F/e7amNMcBSghRrBVPvfhncRNit2NxkhiFGd5rd0pMWt7GvN3GEERHycLjvzCtf4w3 xnxfjCzBkpoICe6lYv4ivAK7EGPv7RZYV7HIMp2ltvlroaHhIiC5ORwY8MJN5NWMlNB9 5Bs5mFXrYb6SnqlSu/f4JlPrioZokxYTYRTwRPai9O7Yvs+LDn80JUpQ3/PPHxOwYKRD S8kuLSPUCJkSBIq/3PcCsHOovoJCjdXsjsPXqUGlpBda+WDIpIrNNa6S3Fop5B3FVlN7 nSVQ== X-Gm-Message-State: ABy/qLYbAEzdbJxwmlUJpgHwaPBEfrZ9eHerKJHKUvBfR4gM57apL3wp znQUuZJQo7iHKfdFJYoN/EBHIjbjisCt4uFNPv/F1A== X-Google-Smtp-Source: APBJJlEormRhYZj0EFdg0C2hSimV6mwbCVwMKhCmJtPD2zLVec2g2bUJ3Bf7W/ZELa2aDVv6DlEX77bSge/z43MCKh8= 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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