Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp514847lqg; Fri, 1 Mar 2024 11:58:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWoD1DvMYRCRTjFKHipEu1aO7nOpkONTmXAJgw4fYLARbZ1lAmdWw3HEbb/lONBRdu/TtCdyXbfqm/bpbTIkM9OgygeAwjHvuSmR2kTBQ== X-Google-Smtp-Source: AGHT+IHISt3MTJr5uIFVbX+By3W5sw2PzLzDFniMp+VFGxthXxPQ0Z8Ibs17QGbncJAe2sriCbUm X-Received: by 2002:a17:903:246:b0:1db:fa72:25eb with SMTP id j6-20020a170903024600b001dbfa7225ebmr2850613plh.52.1709323097682; Fri, 01 Mar 2024 11:58:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709323097; cv=pass; d=google.com; s=arc-20160816; b=jdh5FL2wkv+SOEtFikKXxaf9TGaSe2IxkiWFuAZIAEvDcwcfs4E3wh/4d/cQZKXopx eYqhUy2j6g25LZDiQtm4QIPxVyL8hvWwoYJrlSUxBW+E4HC4mFnmn+wxybtZgeHVyfPI WAwV82RZM6zm810vWJ8v5sQMWu8YQA79dg00fRsjkwvmwRk+t1vJr+PrQa9+D0dk07d0 hY0m6V/Lkco4UPIKTag01jeBQDUeH7L1aS+ZIAhHRkcMkMDmqUg3nzalhMJLD+3uFq74 m0rFZJobDYV5nZICjEtfMLrDNgKCRA2dTopGiMaoEiHML5nGXXayHO8Va7DHAVEdpz+8 Xilg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=0xpVEUPupFJ4mY5Qxb0D2y0+A3GchrSV23FNcC1i+jo=; fh=qM0diKxT94ClPPJ2TbxjiamzeLFeb1XjijcbGTCBty4=; b=BM0hhYyCsJiriGYiqhEW20W4f6EumJgtHytW5rXmr7LJAx677kf74x7xUBxz7xwgxJ cU5RgHRDXo4JcllymJOvBw/+67heqLcZau4jNreHzlX2LCIaGlppxgK7+SL3NLXKVOYn jcZm12xtmI85C7xvQth8dSmEdt0Eq3KTVPilFyl/s6KbVePEHOu2cg/fUAnJ5e663ySj F5osNhZ6+MmWxlRkhE6eW2LzC7YkkFyQQr4qu1x0HNtKusFR/E27526phahtPKV0WTWv FbxPXHxUP5SykoTUJGI0tAIb4Sj9+BnIiKc95jfcfSLTWQjcOrQfKAAhtUF9SlmC0fDF mrYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=Rw3Dwuqs; arc=pass (i=1 dkim=pass dkdomain=brainfault-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-88743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88743-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w16-20020a1709029a9000b001dcb654d1b6si3945016plp.168.2024.03.01.11.58.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 11:58:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=Rw3Dwuqs; arc=pass (i=1 dkim=pass dkdomain=brainfault-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-88743-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88743-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D1461B241BF for ; Fri, 1 Mar 2024 16:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 534FC200C8; Fri, 1 Mar 2024 16:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=brainfault-org.20230601.gappssmtp.com header.i=@brainfault-org.20230601.gappssmtp.com header.b="Rw3Dwuqs" Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF12E225D0 for ; Fri, 1 Mar 2024 16:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311238; cv=none; b=ATjvJWsPVwDMLt4v4cv4KpbmmJ/EIqXqFtThsuSmUmUTUanyTVumyEFztfDOUJMBbrGMCXsTZsQW/z6HgsLNUcdcPNvobi+j+if1tfx/LA+nXN3LHINQzd2o5AX/qY3wiApMF8uapUDpEn/CF80qLao5AaXbns+q92r/6JI8JYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311238; c=relaxed/simple; bh=1DFl0ZbNmoHHCDx2NBctdiyCsC0l1eSWBPINNTEml0Q=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dJ1oqAoa14eq6E4PZc0t7acTnHe9wRkf4BRrhUnmTnUzEq/JRkjxsDBaC8/51KZgVa+Fjom6BT7RfIkpv055lXA1TlTz8uzbVJAsYAm4+6q6mBNDsz2I5gpZv4Je/po52fpIGbrv7mdi3XC484GVpuQmeLZ4cauay9AM26scUXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=brainfault.org; spf=none smtp.mailfrom=brainfault.org; dkim=pass (2048-bit key) header.d=brainfault-org.20230601.gappssmtp.com header.i=@brainfault-org.20230601.gappssmtp.com header.b=Rw3Dwuqs; arc=none smtp.client-ip=209.85.166.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=brainfault.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=brainfault.org Received: by mail-io1-f45.google.com with SMTP id ca18e2360f4ac-7c82cab0494so7083439f.3 for ; Fri, 01 Mar 2024 08:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20230601.gappssmtp.com; s=20230601; t=1709311236; x=1709916036; 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=0xpVEUPupFJ4mY5Qxb0D2y0+A3GchrSV23FNcC1i+jo=; b=Rw3DwuqsCzOiiHT9eSWMkJ0EoDc2l/s02nmZMNiKrWNT0TvusHRfdWpiAQ83kdmuRx rUHmdSHs/wzp72ezfdcdGhWx8w8MDKJFExTF/BVL9ObWk8mXTOULJ737uoNBfJxUOken AiTV8q3mNkZ1c9K6xH8aKqxzMzX8qXX+PFKtvpMClg/RnXdDgd583FGupCY0obX4Bg/p V1/gvvPIdh0MB7Lg1TsUEDxm8w2it0DaUVIor6lX6mHmUv74yizHzVqA9zdpxgEb03ym qD722WaHHwtLNJs2904i9eyEUjdJhQEGe1oPLVABAAR/bTjjSvUdERHeHKW2Chwm+RVJ dH4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709311236; x=1709916036; 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=0xpVEUPupFJ4mY5Qxb0D2y0+A3GchrSV23FNcC1i+jo=; b=PeW6vmnhWg+7/HbTYbV0prCGWQ+YIZZe5v8sX+3mG7nOy0K5t7qXwH+yvKqa7o3/x/ ZTVTEnfYWGXtlS50CmRUPF8l4j8NbPTgvpnHxJ4zFAK6Ri+Iu1tvjsy5rdUOO1Fo7JjT p6WZkxVJh0WyP2cJHu8a5ScncWNecsDq/zV7CorN1W3g+fPLtdwAnN/PHAifqqjTZWos jnK51c9oXq7ljxRd/OBYXNq9dpwVTC0u5Opm7RFT0CsrAT7Ztow0+bK1Jq8SHEfS6Hwf qQbQAscOTii30aiODHLj3fZGD4umGAFmxeGW6xagHwA5icIs0kVVfKQhFe03xpR/dZ3O tOgQ== X-Forwarded-Encrypted: i=1; AJvYcCWi5HCfcTu5PaTk2VN4rmi6g0NRSpnCQgePIN1ophuESzyoiZq676eLQLOQOgL/Ualz4BwQCVVw6KyO9PPfO4wyETwCOAAdtfnFWKtU X-Gm-Message-State: AOJu0YyiT+togc+U08TWuzjhhdd0hJEPvjBHqbE3ysTqoRkmzz0EeWC5 yT/38HV8QlVQ58HhOZuc3jOEAzaqRFKLap6tB6LOVKnhVQbAposqw9j48CiobxYTjJclCpSmIv+ r/ApDvIB2w26qnbh5yGkRP+R4Amca064k2m8RRA== X-Received: by 2002:a92:c24e:0:b0:365:c1fc:dc07 with SMTP id k14-20020a92c24e000000b00365c1fcdc07mr2509460ilo.0.1709311235987; Fri, 01 Mar 2024 08:40:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240214123757.305347-1-apatel@ventanamicro.com> In-Reply-To: <20240214123757.305347-1-apatel@ventanamicro.com> From: Anup Patel Date: Fri, 1 Mar 2024 22:10:25 +0530 Message-ID: Subject: Re: [PATCH 0/5] KVM RISC-V report few more ISA extensions through ONE_REG To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Shuah Khan , Palmer Dabbelt , Paul Walmsley , Andrew Jones , 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 On Wed, Feb 14, 2024 at 6:08=E2=80=AFPM Anup Patel wrote: > > This series extends the KVM RISC-V ONE_REG interface to report few more > ISA extensions namely: Ztso and Zacas. These extensions are already > supported by the HWPROBE interface in Linux-6.8 kernel. > > To test these patches, use KVMTOOL from the riscv_more_exts_round2_v1 > branch at: https://github.com/avpatel/kvmtool.git > > These patches can also be found in the riscv_kvm_more_exts_round2_v1 > branch at: https://github.com/avpatel/linux.git > > Anup Patel (5): > RISC-V: KVM: Forward SEED CSR access to user space > RISC-V: KVM: Allow Ztso extension for Guest/VM > KVM: riscv: selftests: Add Ztso extension to get-reg-list test > RISC-V: KVM: Allow Zacas extension for Guest/VM > KVM: riscv: selftests: Add Zacas extension to get-reg-list test Queued this series for Linux-6.9 Thanks, Anup > > arch/riscv/include/uapi/asm/kvm.h | 2 ++ > arch/riscv/kvm/vcpu_insn.c | 13 +++++++++++++ > arch/riscv/kvm/vcpu_onereg.c | 4 ++++ > tools/testing/selftests/kvm/riscv/get-reg-list.c | 8 ++++++++ > 4 files changed, 27 insertions(+) > > -- > 2.34.1 >