Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp300545rdb; Mon, 18 Sep 2023 16:00:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKpUZ5F+BREWD6mFiFd0L1H31GJCGvP1Bi0tr8s6TASN3wS6wbGuX5UTOzcFqaZXPCMHJc X-Received: by 2002:a17:902:d506:b0:1c3:83e2:d0c6 with SMTP id b6-20020a170902d50600b001c383e2d0c6mr10134191plg.52.1695078033287; Mon, 18 Sep 2023 16:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695078033; cv=none; d=google.com; s=arc-20160816; b=hleRQzUjsJuR/ixa3tYemczZyJDphRQp5QGTVH0/4UebazJnemv28ZB6PyTOwwLsVp 4eNEmE2+F9Jlro23UnUzaUgGy3xD8DwqhogaDyVSfpTXmxenjSdETon/dLRU4x1odZK2 NZ9RRCmToTJDNwDzgbNUxvJVidIPvI3qAPuJjZ/pZzz4DKZF7LX8fl9bKTNZGJAfrRdf /O5ZduDjlo05g9C5ROyK5aFTGH4zxaVuCHKGIHGXw1Rezhz8yukuRB9/vXEX/Em/mDZT 0QRPoPkfPDtD2WAJaUPvqFtJqIFk0/UDEEFJNkw7O35GJRe4UNjadeDrA+yqat4QkslK KNpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FCpDJhkkPZXZzEKCkdvjugeVs9PL39Lrqr1o9f4MEek=; fh=2S+54NKBCousR9yNCeiEbYlRCvnfU9LmKXxbaD6jKe8=; b=AomfgD8AvRt8j+LUv8hyCkHIU/mmznLGhJMK0GoF7VfM51xxubfLPh11sY41IXXMW/ sDREeHO/5xb7V0jvoPPofd08tHgTmmajNhf/yJK6P5pE34QOUq84nHfbSVrIW3P/qaQv wdK6cUoHTz9uHMW7B2dHfE+PNYRFB0bTLxwYLHcpYhjvALslJIVHYAB/bsoahI6j9CjE /pJHS+ke/NxiXRbCe6f0k+Eu++5BBuyJRsJt3j8m+YvDUj+E0qiMoI/SNN4Izvj8ODPp d+PXtyFmircxtq2/4H+jQCr0TWT/g4182/xPLMRXqQCkcpNVv0aaR9KHlfamd/qc4Ot4 ebdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=V6c+qLIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n1-20020a170902d2c100b001b811261289si9185790plc.482.2023.09.18.16.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 16:00:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=V6c+qLIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 216C781C57EE; Mon, 18 Sep 2023 11:07:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229460AbjIRSHE (ORCPT + 99 others); Mon, 18 Sep 2023 14:07:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjIRSHC (ORCPT ); Mon, 18 Sep 2023 14:07:02 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5930112 for ; Mon, 18 Sep 2023 11:06:56 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1bf55a81eeaso34994735ad.0 for ; Mon, 18 Sep 2023 11:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695060416; x=1695665216; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FCpDJhkkPZXZzEKCkdvjugeVs9PL39Lrqr1o9f4MEek=; b=V6c+qLIj4CeTwuFa7HO3owk+o5WNKQ0S12szjj/z/FR5Lrmsm6OJ+fEpdY1KXxKX0K k0GuI6BWfaKDC5hstYn0K9i0OXimZHh59kPQeaaQ8k5RemA8770tAFyWHN1eRWEHYsDr ubA2VAj0KBlizJXuE86WzwtxBGkkAc9/zDDApHVQFPTPmcABcBIk5olrwjzKRJIRn9Q5 C2MjiG4lNx5L+slMpOI/XxvfODL9ilhAqMCgvxeKPUQ11cTxYPzX5T+iiLttyOPJlW7Z QtfpFKFy7g0g+y0V2xXEWgM2ZJt262TbYwXwXONc975kmv97hWKouB3Od6FMgdnTgG3p b+Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695060416; x=1695665216; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FCpDJhkkPZXZzEKCkdvjugeVs9PL39Lrqr1o9f4MEek=; b=nS2gYvmA9mL0RFl7Cj20qO8TXdT58QLfGzX2rjg6t9VspaWJoAneOmdgwHueHfjs1R JP8wuEbioYCFZCO43oitIAB0/58N5XU4oLUAgnLEguGAQRi3415IItX7lhnfhgfWxAIO fXTaip1RoaTLDrmfnhtWNneFJzBXzREOVMws8Q7hFPE0tfoljUq9ixGEM19eAzr2jop9 XNOCRWFdq1XJT8m6vkDV6DRErNMpeNzK/o2A68RTyXN3QRtFdhffyCdImGgkTPgQHE+a 1qYrO0OB6LDwZBS6N/IpD7h2AVAwC2u3igqv1bS4AAbQ2kgzku/xrQLYReCqFRr+Q5FD jlgA== X-Gm-Message-State: AOJu0YyfXS8SVp02RN+AetYQtAb44sykjF9HUA5zH+ev9fnHaFLOQRWw K3xhi8jqgkfVWYUpfVJO/TcW1Q== X-Received: by 2002:a17:903:120e:b0:1c1:fe97:bf34 with SMTP id l14-20020a170903120e00b001c1fe97bf34mr10291276plh.24.1695060415995; Mon, 18 Sep 2023 11:06:55 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id h7-20020a170902704700b001aaf2e8b1eesm8556720plt.248.2023.09.18.11.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 11:06:55 -0700 (PDT) From: Anup Patel To: Paolo Bonzini , Atish Patra , Shuah Khan Cc: 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, Anup Patel Subject: [PATCH 0/4] KVM RISC-V fixes for ONE_REG interface Date: Mon, 18 Sep 2023 23:36:42 +0530 Message-Id: <20230918180646.1398384-1-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 11:07:49 -0700 (PDT) This series includes few assorted fixes for KVM RISC-V ONE_REG interface and KVM_GET_REG_LIST API. These patches can also be found in riscv_kvm_onereg_fixes_v1 branch at: https://github.com/avpatel/linux.git Anup Patel (4): RISC-V: KVM: Fix KVM_GET_REG_LIST API for ISA_EXT registers RISC-V: KVM: Fix riscv_vcpu_get_isa_ext_single() for missing extensions KVM: riscv: selftests: Fix ISA_EXT register handling in get-reg-list KVM: riscv: selftests: Selectively filter-out AIA registers arch/riscv/kvm/vcpu_onereg.c | 7 ++- .../selftests/kvm/riscv/get-reg-list.c | 58 ++++++++++++++----- 2 files changed, 47 insertions(+), 18 deletions(-) -- 2.34.1