Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp344342rdb; Thu, 5 Oct 2023 07:36:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtR+2nKwNrvp5sk5Sp3BESKMSPm2wKbyG8aiclmSRXUw0srFHa3ZoITs6nI7VAD0FowpNb X-Received: by 2002:a05:6a20:2451:b0:14d:5580:8ff0 with SMTP id t17-20020a056a20245100b0014d55808ff0mr6058764pzc.25.1696516611183; Thu, 05 Oct 2023 07:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696516611; cv=none; d=google.com; s=arc-20160816; b=0ewSSmbblFfpdrHCa2EYpdb0nRK6rbdDpB7bSJXLfp1DTZSKbNHceYJi7Xod8tyR3Q i6E/05YsjbYlW4OfE5G6O9QHQYzsaEpHpGB2IT2qZEXMJg6A4mr3uVnlxkpTQmRoED/4 vhDahDhHiKBa/4/9ToQ6vCE+q8hA+hO9Qt83APw4XPXxWPUwMZKACQHUaYpKqqC+Eu7k KLQYuY2NtMFFgnYJsaEOnoah0p9zJRNdHKwN2APsbKLq9WuD5qdkk+fnRkIDM740ynNn 8lH7vfvSS3PyUfRVkrPBv1CJCR/sqvq65ddY8kTfp3R2vzDkfV3bMt43mj0/150mS3qu yszw== 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=i+OzM9WN1Dh21ubOEAVeEY0lIe+PfmIXwuMmmkct6SM=; fh=jYo+Uph0vQgyrtsS23VKeS4UvXJ1o4RVmi8ClaqOi6U=; b=y7g01N4UuSVc5coqnL93x/ktaX8lPIBXQWtuQ6SxkoA7d9nmhEz97X2nGyYGSFmlq0 tC+jKzR9ObJr0T95lset11p6xI+z0OYnsLPtJwALG0Y+k+6kyCHUkXbqcj7HR78d0uM4 awqzCSVcCswNOQ1OE6llbyYt59EgCarmbsgfZ2CkGeaU6UvVThfv0urM7gBhB5M73p91 CDVQt6KKvm3bhKpyJu/SzTUUoUtUFn+rQhsVdzZW3OuzLhMd4ElJDlQccMhxS8yPJaOt 3EWxuaNcS7UO8yH66Hezdc9d57KiS8VXxY6134Hmt/2Dchtkk4xIlLrOgGD7abOmQGIY vqUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=3epmcksz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id fc41-20020a056a002e2900b0068e3950c705si1566958pfb.24.2023.10.05.07.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=3epmcksz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id C38478027462; Thu, 5 Oct 2023 07:36:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235404AbjJEOff (ORCPT + 99 others); Thu, 5 Oct 2023 10:35:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235276AbjJEOeG (ORCPT ); Thu, 5 Oct 2023 10:34:06 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F926184 for ; Wed, 4 Oct 2023 23:06:01 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1c5ff5f858dso4267085ad.2 for ; Wed, 04 Oct 2023 23:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20230601.gappssmtp.com; s=20230601; t=1696485960; x=1697090760; 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=i+OzM9WN1Dh21ubOEAVeEY0lIe+PfmIXwuMmmkct6SM=; b=3epmckszdy4PjWzn5YVDphkhm9OrhQM7y7LAUm4eew3ZWJ6bwKrZlEq+Umbmmz5raV vQm8MSbe6MN5MA4J4DVh5+RVZp+a4R5+/kLoMdCJVRupOLMQI4sxF65IdguQAMN/+ubT BbonGFbERKH/jLvTjtE0H+chxQRxMlYOremQIcjTNpU56P0tNbIyZyLlYrDWMB+xvcT9 pioobganbB3Ey9jmXZRFQlnj3K3WZzE6PKBgdJYbHqTgHsB6R+GjNEh1NKaK8ohq77x0 saCP6CEtk4x5f6BIWhgmGAnbJtOwe4mFIGW7ayR1mZ165u7hQQdUzViADIkKXqcP1Eyj uOAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696485960; x=1697090760; 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=i+OzM9WN1Dh21ubOEAVeEY0lIe+PfmIXwuMmmkct6SM=; b=kGrCe3J8zz+BVh+vS3V0b/Pww8ZhiDv/0TSNyYJSws0tMFCvW1MrFQ5PYM5d16h/rl dmiViToDbLx5qLoVNR3SinuElN7+4snf/TNWQ5LRmuLonJa50zQn9ZDTG0+dmH15wF5O 9dX0Xs8fInxZBeTvvXzLvgF3TXCpP9qP8vUFiDrw1VJ3SPo1S+SzDgllBDUz4xs8XCcf uT8hlschUZP5bZOboWIFqsV5eSeaf2adTsvHopPhAqUKmCbJKgzEAH2aav8/182cFI6R iuV+ikdnD5tfaB5VveJjvexqKVqRai6NIXqmFAJB5FmsL9Av1bX9BUc8DVZ1ID8PvZmN YgpA== X-Gm-Message-State: AOJu0YzqwObf58SkqPb1US8Obw6nj2h0shvb5dLeEuH+RwkeN8TrFkIt eA78UCKjgyyQHdWmhZJkENeCGRlNi5x3zARuiM5rxw== X-Received: by 2002:a17:90b:84:b0:268:15dd:c5c7 with SMTP id bb4-20020a17090b008400b0026815ddc5c7mr3855515pjb.40.1696485960557; Wed, 04 Oct 2023 23:06:00 -0700 (PDT) MIME-Version: 1.0 References: <20231003035226.1945725-1-apatel@ventanamicro.com> In-Reply-To: <20231003035226.1945725-1-apatel@ventanamicro.com> From: Anup Patel Date: Thu, 5 Oct 2023 11:35:50 +0530 Message-ID: Subject: Re: [PATCH v3 0/6] KVM RISC-V Conditional Operations To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Palmer Dabbelt , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:36:06 -0700 (PDT) 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_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_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 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 >