Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2953771rdh; Wed, 27 Sep 2023 19:46:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqEBcsZq2f7P69/rb+I/7W0nzXMhIUtIkH9+0igUfT6ThUUAIwEx/8QSQanqc6UNOhbigb X-Received: by 2002:a05:6a21:1f1c:b0:14c:ca25:3b53 with SMTP id ry28-20020a056a211f1c00b0014cca253b53mr768pzb.27.1695869195086; Wed, 27 Sep 2023 19:46:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695869195; cv=none; d=google.com; s=arc-20160816; b=Zxw/T4jhql3iQG7qzqWxkLgqAtA13FYjMQ8wYHbHQ75hYaJngEV6nXy/QlGtFA7/69 UlSH4KkcP0FNxS9xJf5HuWQGPZMi68tfRvs80pWgeEoS7xg8mZHeDci8ePUUqVprb9lP TDt1bpgoS4wQPxwaweJzZSUUwguxJTmZ3VCZScpqgf5nPyxEDjL3Niv7dvTdAXvsV1zH Uf/M9U1cKZ4zCzQrjtuHl2vbN8d79jbs4S5yrsHP2ZPYLLfI9Vulj0QqcCtIm0Y7K6kV bigResI76X7miDJgPbTbyDdsRTNL3YaWKj64JhkeiUlwiRyC3V07BdLeRqFDcHQ+oiuJ d4gg== 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=ijGPnahnzmrBSaCobVNQmuUKYt7yPdCWIYWpIr/wTF8=; fh=Phrl43YLBRSk0e1S1l8fiIYnlWHP7VZMOmMWsIbGTVk=; b=jYNaZGIcqkWMA24TpFcCkomzzuWdi2Vj/A7vZRGYIIYkQ9/vA+XfD8NYdTi05/YT5T hmccYYjJOTjIGYQyyhDBaaJRM8WOmTBYkm5VguupdK+S9JzqT7+hwxrSi15XWZfNlkDK XuIwniSaFWhEQg7WY5Bug+oOrM14sSJs29Qdh0lZF6ptlaHHv34wO1Yhe/UuYImAOUK7 jTN0Zuilk57W/EupZggMDLtNU6OW8jnYGgkV03H1sfGMm6TdAQ5pgNBkLeaH6ju3VJao 91zYQPxxiAl6URBpEgrZzB2D5WePsJbIM7DjRGvXjlFga1GerVqipX6FTV44h1zymUjm HFEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=hjKeOztX; 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 o10-20020a170902d4ca00b001b86ddfd49bsi11265154plg.6.2023.09.27.19.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 19:46:35 -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=hjKeOztX; 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 7BD73802581A; Wed, 27 Sep 2023 08:27:14 -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 S232429AbjI0P0w (ORCPT + 99 others); Wed, 27 Sep 2023 11:26:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232055AbjI0P0u (ORCPT ); Wed, 27 Sep 2023 11:26:50 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38ABD126 for ; Wed, 27 Sep 2023 08:26:48 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-573e67cc6eeso7617227a12.2 for ; Wed, 27 Sep 2023 08:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695828407; x=1696433207; 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=ijGPnahnzmrBSaCobVNQmuUKYt7yPdCWIYWpIr/wTF8=; b=hjKeOztX77x/UgBlb/sOUWMw2NpVfTcL6gcfBxYgDAlEOGlGQzgpcldsOKffgPbLXG Pf5oMfdNRhvBigCN07hCjMRv334euBZhX7mBA1ypLVxXvH4KYq/BrYvuJi94j6abjjLC mNfZLzCJKX8cdREu6Lg9Yll3QThHnZO3M+OSvicXvcXB5igrKf3SxUffcC5fPacsD2O1 K+1BtM/3y/NjDEe6L7S9a1KW9PjBq2A1ezP9fZRqzEW0L+Fii8iTOFC90Iox2hGxSkLh 8CMZ4VzMYHVnS0eHFFLwuLp/Lt0HcUiz2W1EIdP80CIqrop82Lxfm6VBidzQ1zgmqFpG ecew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695828407; x=1696433207; 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=ijGPnahnzmrBSaCobVNQmuUKYt7yPdCWIYWpIr/wTF8=; b=Zhpaz7NkP8048tXFJH5F2EUniq5J9dTBDiCwjpgxrnftDG4caJ5ypGn5XpwZk6hD0a m+gwcqmSdik4msbIgSHNXzAlM458aGvKLoUqJMJUpPtq8LFMgMz55dpJr7ANaXNTVgFw oZLdKLRMZR9zDM8AAoCSNW9r6F5rGQ2xeOKBMf6FGWoNs+W1MXtD9RjFeCADFXSyr5vq brY6XCrGLt89hzgm4d6uNHmGUym6CWMx/z9I4wj/VXzV+jz3a40nZ7DIK5Xb7zQS+MqO C5ynha21YAEjq2+uxFjcw57hEFCNg/fbU1JbvvM7m2O0Nt6L0IR+zBPeZ6T4JfIG29xc 6L9g== X-Gm-Message-State: AOJu0Yx/X1s13LjDxdoSfc2YOxigvxLh7+5zB/KyMUWQAqSuBZEho30R yZtk1gTNQbLnNgq6hT4gO7unJkF/7lkH4VDWcd1UpQ== X-Received: by 2002:a17:90a:4983:b0:268:1b60:5031 with SMTP id d3-20020a17090a498300b002681b605031mr2049707pjh.12.1695828407438; Wed, 27 Sep 2023 08:26:47 -0700 (PDT) MIME-Version: 1.0 References: <20230927-snowcap-stadium-2f6aeffac59e@spud> In-Reply-To: From: Anup Patel Date: Wed, 27 Sep 2023 20:56:35 +0530 Message-ID: Subject: Re: [PATCH v2 0/9] KVM RISC-V Conditional Operations To: Palmer Dabbelt Cc: Conor Dooley , pbonzini@redhat.com, atishp@atishpatra.org, Paul Walmsley , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shuah@kernel.org, ajones@ventanamicro.com, mchitale@ventanamicro.com, 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 08:27:14 -0700 (PDT) On Wed, Sep 27, 2023 at 8:31=E2=80=AFPM Palmer Dabbelt = wrote: > > On Wed, 27 Sep 2023 07:45:28 PDT (-0700), Conor Dooley wrote: > > 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 wrote: > >> > > >> > 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 us= e > >> > > > conditional operations related ISA extensions (namely XVentanaCo= ndOps > >> > > > and Zicond). > >> > > > > >> > > > To try these patches, use KVMTOOL from riscv_zbx_zicntr_smstatee= n_condops_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= PATCH7 > >> > > > 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 crea= te > >> > | their own custom extensions. These custom extensions aren't requi= red > >> > | 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= either: > >> > | > >> > | - Have been officially frozen or ratified by the RISC-V Foundation= , or > >> > | - Have been implemented in hardware that is widely available, per = standard > >> > | 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-da= ta-center-class-risc-v-cpu-product-family/ > >> https://www.embedded.com/ventana-reveals-risc-v-cpu-compute-chiplet-fo= r-data-center/ > >> https://www.prnewswire.com/news-releases/ventana-introduces-veyron-wor= lds-first-data-center-class-risc-v-cpu-product-family-301700985.html > >> > >> @Palmer if the above looks good to you then please ack PATCH1-to-4 > > > > These are announcements AFAICT & not an indication of "being implemente= d > > in hardware that is widely available". > > The second two look to just be news articles quoting the first without > any real new information, at least just from skimming them -- sorry if I > missed something, though. > > The article says "SDK released with necessary software already ported to > Veyron" and "Veyron V1 Development Platform available", but aside from > quotes of the press release I can't find information on either of those > (or anything VT1 related, as there were some naming ambiguities). > > Anup said during the call that they're still bringing up the chip and > haven't started sampling yet, which usually means things are far from > publicly availiable. I thought I heard him say that these press > releases would say the chip is sampling 2H23, but I can't find anything > in them about sampling. > > Anup also said it's availiable as IP and I remember something at Hot > Chips talking about an example place and route for a VT1, which also > sounds very much like a chip that's not availiable yet -- usually if > there's a chip folks are a lot more concrete about that sort of thing. > > So is there you can point to about this chip actually being publicly > availiable? The Veyron V1 chiplet samples are not available publicly at the moment. Being available as an IP is not the same as chiplet samples being available. If this does not satisfy patch acceptance criteria then I will defer/drop the XVentanaCondOps related patches for now. Can you ack PATCH2 and PATCH3 which deals with Zicond ? Regards, Anup