Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2619595rdh; Wed, 27 Sep 2023 07:57:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/BqQ76I/SGgGqUBK6Tv4ziv2NsKdcbnfi7frTgd9nrPUGkTBUWoxufiA4XDFEF04bdCLc X-Received: by 2002:a17:90a:ead7:b0:26f:2c5a:bbb3 with SMTP id ev23-20020a17090aead700b0026f2c5abbb3mr1883853pjb.40.1695826634467; Wed, 27 Sep 2023 07:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695826634; cv=none; d=google.com; s=arc-20160816; b=OZUaMM3yS7TKGo8tImAIypA1pPNKpvnH0NQlhbJBsQifapGwFfisxJs4pQIm0BCwpE q/s4dYJaCpRY45IsaJbwtIvRHGXEqq817wYMN0+3ZdSfD68JHbPsFJj6P6Pg7t9LF4Gq CY01ct1jBnV3Dxlcw61RW+7s3OLOOpaW+pFmFZHFHPqoaA1za1DWIGQ6abDknRYFFemY VwZZUDhlHzF60KRFXEH5cvjYSa2aL2BjkfutTjFuqjWLT1/WsOD0ImYrn7VXgYCq0QGU CaQVbiDpLBw209uI7A6sqCSymCuX6n8bx5UIL+UYPPvO8UthKhrTspR3t/fmqXB6uXmI 9Hkw== 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=agQuhYtAQ0vAO/L+o6ZRN8s9kHXDpFcLSS0C8IRWG44=; fh=X5WnsfPMuWnqtIuuRsNG7dXQm/9dNYOd3WuDdn57xmc=; b=D07iACIO1c0ud1g6tw9vZzYDXK0mw88U5AtfZXyfQ7LnthsHQVjUXYib1si5YfrrYd Jbcd2yglwfOpUp7bQkhZKvoxv5nPcY0bsqd5LRT8uyZh0ytl+nSYfoeqMJyGAxC1Hcya S9uMS2AXLBheeLkcd5bwGbgifzRs05LHbOdUUk45KySL3rQ24m+d89HlUGeuYut+ogWQ Orw95rsDN5LY0bdC2Oilg7nd/0fglZLDScy6+gIm5j1gkbQ/8yQ8VmNWnJrXC8w2Aj9U h7HdVfJ6CiEE3nT3J042Q+APIkeyx+r7eGNKUrVNJIl/f6iaHmadlteXY1Hnx8Plon2z uJ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S7rMseEE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id na5-20020a17090b4c0500b002613720fcd5si20066625pjb.35.2023.09.27.07.57.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 07:57:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S7rMseEE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id B8F48804B3B2; Wed, 27 Sep 2023 07:45:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232161AbjI0Opg (ORCPT + 99 others); Wed, 27 Sep 2023 10:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbjI0Opf (ORCPT ); Wed, 27 Sep 2023 10:45:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45ABAF4; Wed, 27 Sep 2023 07:45:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB4E7C433C8; Wed, 27 Sep 2023 14:45:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695825933; bh=u5mSK+ETqJiKORZJywzslvagA7g/tSjSxUTNQ6vOmcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S7rMseEE9HGEpW+317qdYZUAuRIVkN72nhW/YDjgrNoY+f/EpZ31mTeCmKgCbLV1F 4zX5Mhm7n3HumvTTiJGm9fgQckcOw6lEg6W7ns2XTshG2VSkAR8fgREeYBgmOOZOme T19mfTu1SGJS/hE0pfDZU4kbfCKNVSFGPhMLghB0kvaqhM8ZOGspji6+IoRlXpV0kS NGuOYyK+bPo5UNf0JpWoZw1nxS5cYihIWATMpx+tv59rl7Qsimjw5ypD1haDdrl/Mz +rLlQ6tcbrHpsZ1Lp1nXc/KY+jHuWWfzw6ZbzWRDRm4grJhGVoZ3xJx3BrvqOBNhC/ IdVvZtUfNHigA== Date: Wed, 27 Sep 2023 15:45:28 +0100 From: Conor Dooley To: Anup Patel Cc: Palmer Dabbelt , Paolo Bonzini , Atish Patra , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Shuah Khan , Andrew Jones , Mayuresh Chitale , devicetree@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 0/9] KVM RISC-V Conditional Operations Message-ID: <20230927-snowcap-stadium-2f6aeffac59e@spud> References: <20230925133859.1735879-1-apatel@ventanamicro.com> <20230925-gorged-boxer-3804735e2d18@spud> <20230925-reappear-unkind-7f31acdd82de@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iiRtwGBozE76B1Lv" Content-Disposition: inline In-Reply-To: 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 07:45:58 -0700 (PDT) --iiRtwGBozE76B1Lv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 27, 2023 at 07:54:49PM +0530, Anup Patel wrote: > On Mon, Sep 25, 2023 at 9:07=E2=80=AFPM Conor Dooley w= rote: > > > > On Mon, Sep 25, 2023 at 04:33:15PM +0100, Conor Dooley wrote: > > > On Mon, Sep 25, 2023 at 07:08:50PM +0530, Anup Patel wrote: > > > > This series extends KVM RISC-V to allow Guest/VM discover and use > > > > conditional operations related ISA extensions (namely XVentanaCondO= ps > > > > and Zicond). > > > > > > > > To try these patches, use KVMTOOL from riscv_zbx_zicntr_smstateen_c= ondops_v1 > > > > branch at: https://github.com/avpatel/kvmtool.git > > > > > > > > These patches are based upon the latest riscv_kvm_queue and can als= o be > > > > found in the riscv_kvm_condops_v2 branch at: > > > > https://github.com/avpatel/linux.git > > > > > > > > Changes since v1: > > > > - Rebased the series on riscv_kvm_queue > > > > - Split PATCH1 and PATCH2 of v1 series into two patches > > > > - Added separate test configs for XVentanaCondOps and Zicond in PA= TCH7 > > > > of v1 series. > > > > > > > > Anup Patel (9): > > > > dt-bindings: riscv: Add XVentanaCondOps extension entry > > > > RISC-V: Detect XVentanaCondOps from ISA string > > > > dt-bindings: riscv: Add Zicond extension entry > > > > RISC-V: Detect Zicond from ISA string > > > > > > For these 4: > > > Reviewed-by: Conor Dooley > > > > Actually, now that I think of it, I'm going to temporarily un-review th= is. > > From patch-acceptance.rst: > > | Additionally, the RISC-V specification allows implementers to create > > | their own custom extensions. These custom extensions aren't required > > | to go through any review or ratification process by the RISC-V > > | Foundation. To avoid the maintenance complexity and potential > > | performance impact of adding kernel code for implementor-specific > > | RISC-V extensions, we'll only consider patches for extensions that ei= ther: > > | > > | - Have been officially frozen or ratified by the RISC-V Foundation, or > > | - Have been implemented in hardware that is widely available, per sta= ndard > > | Linux practice. > > > > The xventanacondops bits don't qualify under the first entry, and I > > don't think they qualify under the second yet. Am I wrong? >=20 > The Ventana Veyron V1 was announced in Dec 2022 at RISC-V summit > followed by press releases: > https://www.ventanamicro.com/ventana-introduces-veyron-worlds-first-data-= center-class-risc-v-cpu-product-family/ > https://www.embedded.com/ventana-reveals-risc-v-cpu-compute-chiplet-for-d= ata-center/ > https://www.prnewswire.com/news-releases/ventana-introduces-veyron-worlds= -first-data-center-class-risc-v-cpu-product-family-301700985.html >=20 > @Palmer if the above looks good to you then please ack PATCH1-to-4 These are announcements AFAICT & not an indication of "being implemented in hardware that is widely available". --iiRtwGBozE76B1Lv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRRACAAKCRB4tDGHoIJi 0qQEAQDTNOG4ag8LjtNZMYFOnkSFGHrw50GOrUOnnHOGQ9gTaAEA4l7aRLFtSW8o WiJV1zWNZaMssu0BppMJh3/v3IudAw4= =xlPj -----END PGP SIGNATURE----- --iiRtwGBozE76B1Lv--