Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2913263rdh; Wed, 27 Sep 2023 17:41:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8rSMTHdKZuCNa6SwROgo1iWRGf2wfk94PARNaD7gPMDXhZZARdw8lO7Kq/32pp+EGYUkQ X-Received: by 2002:a17:90a:b396:b0:274:7db1:f50f with SMTP id e22-20020a17090ab39600b002747db1f50fmr6088638pjr.15.1695861675630; Wed, 27 Sep 2023 17:41:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695861675; cv=none; d=google.com; s=arc-20160816; b=lVkOTDvierhzwXesFIxL4HTm0qsR19YAU1Ajr0nRyqwNQMSBFaae+nZiSrcqyl75et mrOHRkcv13+SWgH2eXVquIGZUp3Zwqdep4XDzfC70vkzdpZg45gKEjSAkJQlUdnGimdM o5IL7KheyZlJtA2bdts9gmzaIhjuVCXvf7Nn4Pj8lFHyNgqywRtz7V3c3a9r6bwnKWBQ kq4eHcEVijC5UZ8GNOcSh9GHn6nROgVQ25J3K3EuYXCy4cOoCecY+Z7h/52r+5tfTWtR SceTmlN1CuP3XsVZcuQUIq/9NuRVNasNCVKW+FopwCJxOtJMwJUVgie609A1xWOEArZc 0ecg== 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=9zBtvWgKmM9zJhcy404AwOZ/qden8YZEKEMkYgmkSGM=; fh=hd9NF+t4lKlRuT12ofvv539fV0zDSs+gvh1zzR8z1bw=; b=Fvnk/CwrhneHL84CuRVqM6MJPWWvPiOA3LL9W++7EV28LedKA/5GSJKycX7AVPVCwZ miW3nF+fvA1pfr/TlsKzVLlBVeOyEGHry2gjZsmoiOoY8kE8i1m9J9hofy+uaRGMLSem YUtgOcWHOHM3ktjnfTmzdhH+qkx/NEHtA+co7fNfPA2b/4oNPLjZYUcY5phMG/V8SWu0 32GnXB7KEkqknMdvJfqDSnCVZmxFby/+V5cK9r2vOEtABkUhu3r833zOB9Ax1rrxs4Cn uUKrBAb1nvb3SsMbSxRJgELlpqx9oAviXvlfjFH3OPOilkCY9JIgHsKsxUOdmKMjf/Gn poNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=GK05OGmB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id oa14-20020a17090b1bce00b002773b2dd112si12916371pjb.54.2023.09.27.17.41.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 17:41:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=GK05OGmB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 2817A805FD57; Wed, 27 Sep 2023 07:25:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbjI0OZF (ORCPT + 99 others); Wed, 27 Sep 2023 10:25:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbjI0OZE (ORCPT ); Wed, 27 Sep 2023 10:25:04 -0400 Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 559D8F3 for ; Wed, 27 Sep 2023 07:25:02 -0700 (PDT) Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-7a893053770so7143468241.0 for ; Wed, 27 Sep 2023 07:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695824701; x=1696429501; darn=vger.kernel.org; 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=9zBtvWgKmM9zJhcy404AwOZ/qden8YZEKEMkYgmkSGM=; b=GK05OGmBn9NauqSyZ/dBElRXNYu+qYfbBeP+LcSD3l0URYLmzbf+t4duZRs8f2ijwW N6ZPesGjhfIBzI67k1ypnpEzGOWAPDI3l9NHDF8hpigyH0HgAp5YgTFx67bVd66X1Vqq 9uCevoPL2nkGEYuNSRL+IUE71vdocQ2zaEhGKjPLaIzHszKZFmUk07Yi2GJI4NMuZI1j h8S/2Xa7ZYNCBVpQPojhdLJ1mzizCeqWjmFA0FDbkiNbvh/9sfmTlHAJYi/oR72m1bhO yBTK0503QD6kzMMC0KuNqW4Bu3HvojHpDe37uwtcTfEi+5Ep4Ox/2UW9hCGEDZCPoV7M yCCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695824701; x=1696429501; 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=9zBtvWgKmM9zJhcy404AwOZ/qden8YZEKEMkYgmkSGM=; b=QaZbfjVVaNZXHQpVuddKm4XCyFT2ERlZV6kh9J3IzQ+f/24YAy27X4YtYqgBKrg0py 6dlYPYtHeThGE8aU1KKmXSoiKB4WWYoEzigAafxP2dClBTd3tnbOoXEFvfVaE5JNNJW9 qWZHeo2GmHcC+TUbhGAreZwiU4Om9kX4wb7LlZlbR1iAUekvRytEvCmIKq4Yjtk3rNu2 F3JbzupV7/FjteEfyBfBVwsPai30RKXTdWqGH5SYk8tl1e69bO/eS0MRNkUY0juNTqps 8mqusJJQUclh3z9BCv9U4wIH01jdfHv6LVYg7VxcZorsL9LEm1pDLJXToeiJNnNXMPKh dTlA== X-Gm-Message-State: AOJu0YyuALlKy9Hb/dzyEIuAuF/9UtCCR/zYxJdjrJMNEqD+BAbzfTjH OsZWZijMpGYI24U1ZrYvxM/CJeVzL7R+v7f9nuOTzA== X-Received: by 2002:a05:6102:3f05:b0:452:79da:94a with SMTP id k5-20020a0561023f0500b0045279da094amr3772881vsv.4.1695824701267; Wed, 27 Sep 2023 07:25:01 -0700 (PDT) MIME-Version: 1.0 References: <20230925133859.1735879-1-apatel@ventanamicro.com> <20230925-gorged-boxer-3804735e2d18@spud> <20230925-reappear-unkind-7f31acdd82de@spud> In-Reply-To: <20230925-reappear-unkind-7f31acdd82de@spud> From: Anup Patel Date: Wed, 27 Sep 2023 19:54:49 +0530 Message-ID: Subject: Re: [PATCH v2 0/9] KVM RISC-V Conditional Operations To: Conor Dooley , Palmer Dabbelt Cc: 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 27 Sep 2023 07:25:25 -0700 (PDT) On Mon, Sep 25, 2023 at 9:07=E2=80=AFPM Conor Dooley wro= te: > > 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 XVentanaCondOps > > > and Zicond). > > > > > > To try these patches, use KVMTOOL from riscv_zbx_zicntr_smstateen_con= dops_v1 > > > branch at: https://github.com/avpatel/kvmtool.git > > > > > > These patches are based upon the latest riscv_kvm_queue and can also = 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 PATC= H7 > > > 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 this= . > 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 eith= er: > | > | - Have been officially frozen or ratified by the RISC-V Foundation, or > | - Have been implemented in hardware that is widely available, per stand= ard > | 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? 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-ce= nter-class-risc-v-cpu-product-family/ https://www.embedded.com/ventana-reveals-risc-v-cpu-compute-chiplet-for-dat= a-center/ https://www.prnewswire.com/news-releases/ventana-introduces-veyron-worlds-f= irst-data-center-class-risc-v-cpu-product-family-301700985.html @Palmer if the above looks good to you then please ack PATCH1-to-4 Thanks, Anup