Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6014333rdb; Thu, 14 Dec 2023 06:15:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuRmiEDl01uw3s3dBAQLGXeaN3mqX3FLzPRq5I4Qzujg083KAFe8j/SVTyzVKEcO+YJcXi X-Received: by 2002:a05:6a20:54a5:b0:18f:97c:9282 with SMTP id i37-20020a056a2054a500b0018f097c9282mr5800466pzk.103.1702563301913; Thu, 14 Dec 2023 06:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702563301; cv=none; d=google.com; s=arc-20160816; b=tmN5xvME8B0s141swnMOmArhv/YBDzq7nCXaxdYa50OyaPnfoOxvP+8MLp7VSIYCRE bjJoT/yx5/WmEmfwWL4usTVFomYzs2dS1Bj/wYMssWTGk4vp3MSl5OleKcS5OeiGR6kK 2sXuU0DjRxLtj07akhNQviLjN15HZYf+OT47qBlaZxsg8EJbbX8H51U7yegUltUMra5e aifchsJ4mWIFAD+uYXTOrMejspTPi+rI75jQyqrC1EohU5WkAn9sWLlX6NPg+/S0lG1N pWdZh64ayXyvlIzwm2duK1L90f17XVaFj2tHkX0tOk95nL1CLoyWrI7az+V/MxxQ/EbH yMxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KdtEY8kDpIdJs7B3qD1E8TwbLAsd9HJEVgN4qbWji4k=; fh=PH436ZB17i4ODQJFBTTTpcbiTIXfwBeo1ip58dmYE9k=; b=bBtE4yZ0yYiF9Gj/fCXpr0Ud1zqIBy5E4PXx5Aw3KAJnJPOpTLgjLaILrUwap3qUun P0l73V+uchFau723FUGntPVNCtiY7sYbJoVto3FaIgWHtoezDrd2w5vYayvbnwKTKbnJ THM96+0BRizeYLBwUgMD9nq1/5hRPmT5MXsbnh7EmwElmL4xqzK6yVrvltZExoZ+cLy2 tw3g0hTm4h1AOc6h0kRcllQz3AIARfQB9sYQBfuF31uP5Yan02U7BVnUwP4gczvuIQd/ u3E5JBVoZIWQN3APBWlCTjwJ9RIRbRJobb+3KhNJgX3LKd2t7dgc3uLw4As5J4LuJRj+ Z0Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fS8GBBui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id m5-20020a635805000000b005c661524f67si11310273pgb.26.2023.12.14.06.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 06:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fS8GBBui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 12E79832CBCA; Thu, 14 Dec 2023 06:14:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbjLNOOl (ORCPT + 99 others); Thu, 14 Dec 2023 09:14:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbjLNOOk (ORCPT ); Thu, 14 Dec 2023 09:14:40 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C377C9C for ; Thu, 14 Dec 2023 06:14:46 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A585C433C8; Thu, 14 Dec 2023 14:14:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702563286; bh=wkD8ZyahJypOO+5Crrc5pRGXWHc7YtwbESGjV16riik=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fS8GBBui8fZG3+8f96qcY5IMX4PbMPLMqMTEUT0/VtNCuTGZirBDWHhvfaObxmfmf uXTfnJlGSsnXI46ykxNASlGPQsIbKbbbzI3t7JUcbzUBOGtz4qNeJBBjf8xQpHQlOe ASWuCCq4XDCftqZJpSYHukyrQdTSr07b/N+gdGGm06BsREXW4HNJc7Derg9wy4y0Z2 Hq0apk2UQkbluBLX7a2qig7SXJsf4RTYCPQ6Fm9iOzf1uydqGQ8hmf1cv/Lv/P5GNO JlkliiUv3RV9P3/iiJdko72B3V2ndILpT+BJtCcVEgpYLXan57PZWg8NXn/XXqzHY+ ZdWkWYrNU5/FQ== Date: Thu, 14 Dec 2023 14:14:41 +0000 From: Conor Dooley To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= Cc: linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Rob Herring , Krzysztof Kozlowski , Robbin Ehn Subject: Re: [PATCH 4/9] riscv: add ISA extension parsing for Zam Message-ID: <20231214-acts-udder-37d0162e4f61@spud> References: <20231213113308.133176-1-cleger@rivosinc.com> <20231213113308.133176-5-cleger@rivosinc.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WZWs6NLSd1UVh/cf" Content-Disposition: inline In-Reply-To: <20231213113308.133176-5-cleger@rivosinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Dec 2023 06:14:54 -0800 (PST) --WZWs6NLSd1UVh/cf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 12:33:00PM +0100, Cl=E9ment L=E9ger wrote: > Add parsing for Zam ISA extension which is part of the riscv-isa manual > but was not added to ISA parsing up to now. This does not appear to be frozen or ratified, NAK. Cheers, Conor. >=20 > Signed-off-by: Cl=E9ment L=E9ger > --- > arch/riscv/include/asm/hwcap.h | 1 + > arch/riscv/kernel/cpufeature.c | 1 + > 2 files changed, 2 insertions(+) >=20 > diff --git a/arch/riscv/include/asm/hwcap.h b/arch/riscv/include/asm/hwca= p.h > index 3b31efe2f716..016faa08c8ba 100644 > --- a/arch/riscv/include/asm/hwcap.h > +++ b/arch/riscv/include/asm/hwcap.h > @@ -85,6 +85,7 @@ > #define RISCV_ISA_EXT_ZVFHMIN 70 > #define RISCV_ISA_EXT_ZFA 71 > #define RISCV_ISA_EXT_ZTSO 72 > +#define RISCV_ISA_EXT_ZAM 73 > =20 > #define RISCV_ISA_EXT_MAX 128 > #define RISCV_ISA_EXT_INVALID U32_MAX > diff --git a/arch/riscv/kernel/cpufeature.c b/arch/riscv/kernel/cpufeatur= e.c > index 3eb48a0eecb3..e999320398b7 100644 > --- a/arch/riscv/kernel/cpufeature.c > +++ b/arch/riscv/kernel/cpufeature.c > @@ -259,6 +259,7 @@ const struct riscv_isa_ext_data riscv_isa_ext[] =3D { > __RISCV_ISA_EXT_DATA(zihintntl, RISCV_ISA_EXT_ZIHINTNTL), > __RISCV_ISA_EXT_DATA(zihintpause, RISCV_ISA_EXT_ZIHINTPAUSE), > __RISCV_ISA_EXT_DATA(zihpm, RISCV_ISA_EXT_ZIHPM), > + __RISCV_ISA_EXT_DATA(zam, RISCV_ISA_EXT_ZAM), > __RISCV_ISA_EXT_DATA(zfa, RISCV_ISA_EXT_ZFA), > __RISCV_ISA_EXT_DATA(zfh, RISCV_ISA_EXT_ZFH), > __RISCV_ISA_EXT_DATA(zfhmin, RISCV_ISA_EXT_ZFHMIN), > --=20 > 2.43.0 >=20 --WZWs6NLSd1UVh/cf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXsN0QAKCRB4tDGHoIJi 0mOAAP9FBVgammIN1Czcclk1+2JsV7aZsiieQoCdaP7DVN3IHAD/bOx6eMuPj4pR So4KVt0UR5nj9k0dkJyitxbhYc2V9w0= =CPjK -----END PGP SIGNATURE----- --WZWs6NLSd1UVh/cf--