Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp333127rdg; Thu, 12 Oct 2023 07:04:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQYNXGzZgu2Pi/N1QKkqHhGU2Qi8qs/bur5omY32uH3BlPCwbjWGMXkQfh+glpq/C1pnSU X-Received: by 2002:a17:90b:947:b0:27c:f486:3af8 with SMTP id dw7-20020a17090b094700b0027cf4863af8mr6696051pjb.39.1697119493808; Thu, 12 Oct 2023 07:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697119493; cv=none; d=google.com; s=arc-20160816; b=sSMyv28b/ucSblE517mr5dHJaDx0B5WBkdCfD7ZGChS3Ac77YkdN8BUH4QhzZOaGXZ 7AXLbetY/LEo96Q1yqFbjIdC7uvQ2r8oCLUXxy3GM/NcDQmxeJU5zcl6nQYfIPjfPwbN 86bf5vGtxqGh+wC6xhrM3bk3SaD4Zd/gRu2ElhkelTwr2dQOt7GXZbk/Elbb9Nd3BAFz +jIOqCwbRAhUbplERFvhKEZxI9ZmS4yRngPWrK2xyYRtIc65Xc/eA1iBcrRUPGXbk1/l nfdNhS6RIgXTFmECJsAh64q1wdILkailDDHX3nZG1tY3bHK9eFfrj6wTNyR59YHhOeiu k8/w== 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=q3ropCljelAQ4xMLZKutsQltAGHtknBuH4fIH4/voyA=; fh=DxQ+V54gUqIE2yPemOjpQjT0ASGEZamzwTUDpMv59/4=; b=s3WtkV0OSiTR/5wuT5eGSiD/Jhiy5FDPjayrPZ51iusE8sIMKxlsXVCe8dr3WuWzc6 g5gsgoHEvizhxQSQzeIcqVv+UgU0tiQWi/bScHIarEc/LernjYwAh11+MD8u7H1zGY7D bMhL9ejwNK2utayM2Yb/hESurx4iPhcfbEBSR4JJTDH9BCNTsCdMeEanxqQs17XTqSzS biFbHcjvj9f6s6n0kT2otFGsQa6MSnJt7Fv+IG8yywKE29dNpRo3ND/uGU1sq5Gzsdbn 36oqyYLQJh7MsAtHi5Vif1ApU5Xjqsy6kOd6lr34/xEQLguvkC1mRWecGmhToyO+AB1T wBaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=CgvDTUxg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 24-20020a17090a191800b0026d01e90c10si2293452pjg.65.2023.10.12.07.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 07:04:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=CgvDTUxg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 28A2F825CEDB; Thu, 12 Oct 2023 07:04:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378880AbjJLOEm (ORCPT + 99 others); Thu, 12 Oct 2023 10:04:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235570AbjJLOEl (ORCPT ); Thu, 12 Oct 2023 10:04:41 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95401B8 for ; Thu, 12 Oct 2023 07:04:39 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-68fb85afef4so846489b3a.1 for ; Thu, 12 Oct 2023 07:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20230601.gappssmtp.com; s=20230601; t=1697119479; x=1697724279; 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=q3ropCljelAQ4xMLZKutsQltAGHtknBuH4fIH4/voyA=; b=CgvDTUxgRcPBjvvF2097VDXV5sKlAs5zL8jKsivI/j+YQ+cl2UaJdgrkQTAbZpzZcq rLHv7TjDQnMa9mWvk9dqsTTWKYNVYcooAGR9cNYYI38hRIwDM4ABa3ilj0e2G5VIf7rl DK6Zg5ZhuQg696sEBw1s7xgzyWFQKLoY1xqq/lDjl3ZM035WZUDNMPjyTAsiZMViqz9X qcUQQ+p/WcjZW+4LHAPM7XQD2IG9BfMImqHvVMK9bn7rL7OzhAfELd3052v8ue1VghJI jvEzKm4kGaimY4UiQzkZAvlAT4XH5UqCYuefNqOSBM2T4sHiaHYUump6qVnX+tPHcVfL VYQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697119479; x=1697724279; 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=q3ropCljelAQ4xMLZKutsQltAGHtknBuH4fIH4/voyA=; b=cOSjwxk6XjtDJ4T850iEtV2kJumIb/xnc319k5KDJVrlF/Dul3rkLTO0JIZGGKat17 nElMst2GSZPnXBBG2AVp2UuqyUzGSkP9GNkqyzAerA+O2C8p7uqIIRrOQM8wYQkEIWXM 1xJKjvZgsz/lVpbDGaT5ozNQwDKFwEmHMsO5hhzydP4i/14EG+c7t0JKYN+MimKF7XzU reMP6p8+ouUj4pacEFQL7kQPvqHGiLv0LSYTplEguRJY2NOe1oCe1TSp3XHtI4sr1DBc o7bPLpT226cc6+QbuaC+p87/TZGi4cBjuuSfaMBfMnJ2EETDqY3MY9pcEqYpcSUQ85oT Q0uw== X-Gm-Message-State: AOJu0Yzl7TnIBgZbkOtZIeTrOvXL0IoFx8nhs12AK07SlAXpHbsjO4sk gX92ls/zLh4ulmhpznk3goLM7ur/EZetbv/rMG8NV1D//Mq4bHk0AMI= X-Received: by 2002:a05:6a20:c518:b0:14b:7d8b:cbaf with SMTP id gm24-20020a056a20c51800b0014b7d8bcbafmr18395717pzb.57.1697119478939; Thu, 12 Oct 2023 07:04:38 -0700 (PDT) MIME-Version: 1.0 References: <20231003035226.1945725-1-apatel@ventanamicro.com> In-Reply-To: From: Anup Patel Date: Thu, 12 Oct 2023 19:34:27 +0530 Message-ID: Subject: Re: [PATCH v3 0/6] KVM RISC-V Conditional Operations To: Palmer Dabbelt , Paolo Bonzini Cc: Atish Patra , Paul Walmsley , Conor Dooley , 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, Anup Patel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 07:04:51 -0700 (PDT) Hi Palmer, On Thu, Oct 5, 2023 at 11:35=E2=80=AFAM Anup Patel wr= ote: > > On Tue, Oct 3, 2023 at 9:22=E2=80=AFAM 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_condo= ps_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_v3 branch at: > > https://github.com/avpatel/linux.git > > > > Changes since v2: > > - Dropped patch1, patch2, and patch5 since these patches don't meet > > the requirements of patch acceptance policy. > > > > 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 (6): > > dt-bindings: riscv: Add Zicond extension entry > > RISC-V: Detect Zicond from ISA string > > RISC-V: KVM: Allow Zicond extension for Guest/VM > > KVM: riscv: selftests: Add senvcfg register to get-reg-list test > > KVM: riscv: selftests: Add smstateen registers to get-reg-list test > > KVM: riscv: selftests: Add condops extensions to get-reg-list test > > Queued this series for Linux-6.7 I have created shared tag kvm-riscv-shared-tag-6.7 in the KVM RISC-V repo at: https://github.com/kvm-riscv/linux.git This shared tag is based on 6.6-rc5 and contains following 4 patches: dt-bindings: riscv: Add Zicond extension entry RISC-V: Detect Zicond from ISA string dt-bindings: riscv: Add smstateen entry RISC-V: Detect Smstateen extension Thanks, Anup > > Thanks, > Anup > > > > > .../devicetree/bindings/riscv/extensions.yaml | 6 +++ > > arch/riscv/include/asm/hwcap.h | 1 + > > arch/riscv/include/uapi/asm/kvm.h | 1 + > > arch/riscv/kernel/cpufeature.c | 1 + > > arch/riscv/kvm/vcpu_onereg.c | 2 + > > .../selftests/kvm/riscv/get-reg-list.c | 54 +++++++++++++++++++ > > 6 files changed, 65 insertions(+) > > > > -- > > 2.34.1 > >