Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1627642rdb; Wed, 20 Sep 2023 15:00:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmQhg5R4mBpY9WeYSkJC0H1cyupudq+oyj4rLkTyBLjztoOPnVWP1Mvnk0nIqc4RSwcsUs X-Received: by 2002:a17:90a:c08a:b0:268:553f:1938 with SMTP id o10-20020a17090ac08a00b00268553f1938mr3919327pjs.4.1695247247571; Wed, 20 Sep 2023 15:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695247247; cv=none; d=google.com; s=arc-20160816; b=GQIt99zUZQSNE/rah0GNQesxAEN+A4nWxWHd6XxNU1+DGMGC+WqP6RvV0Sn1anFbuF 0q7NK2i8OCnEJGVdbWYwYhQIm5+Jlh/pQFB2lXkwFtC7sxFYyfcsGuq8QxS449d7kKHf BB44FQbEEQqlaEgOPmZyET3nd224XURZHfaAZ3CmzFVU/wfZQ0hFCuUSVTIRQU0TIomk MjhqNypWYcEye3bopO6eV/f85Et79a1OmMhhijKJPSXXgl+MZxpcVx2BMWCiD7SG4AeT MzjKj3ZLHRYotdvW9Gpx5GB70UkHNq49CM8wfUFyJoGPEouKRI3DORKk2692Em4YS36C Q3fw== 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=HIC1z+Y5X7nE4BXr1975QA3QvmpInOTVPTiyv7G4DQk=; fh=2S+54NKBCousR9yNCeiEbYlRCvnfU9LmKXxbaD6jKe8=; b=ISRt92DgjAq4QVG7TkRu30hvlPERjDZFlU8yYgCz6fk2DgNtK2iY5td6hgtH2O0TwX dQ7qSCD5EURfVFAdmPBtsrjmGhfo6ov1E51CDCBTC22JA0vNUT4eusPm18iic1hcllHW +vpkofuzcSiZi20rookd9sHr/k+LaJqmBDXJF2tM1UrTCsR6VCyJt0LZitTpnDbvbV1x dh/zMPvUAkoeCom7TPSVr+2iqIQcwEf/c1Kwi7Hqx1h+KXYMNgKiSiKrH+xAXgBDEnKC OxUJ9SKoxEsbVXDBAGL3bClCVO2YLaV3uW7O5MZESmEPwT/bEeruUTuPvC5M5M73w1g/ Hq9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=Zc4mumcs; 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 cs23-20020a17090af51700b002680b23aff7si146458pjb.161.2023.09.20.15.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 15:00:47 -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=@ventanamicro.com header.s=google header.b=Zc4mumcs; 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 897FE8250243; Wed, 20 Sep 2023 08:46:47 -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 S236757AbjITPqa (ORCPT + 99 others); Wed, 20 Sep 2023 11:46:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235458AbjITPq3 (ORCPT ); Wed, 20 Sep 2023 11:46:29 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46683A9 for ; Wed, 20 Sep 2023 08:46:24 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1c453379020so33310935ad.1 for ; Wed, 20 Sep 2023 08:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1695224784; x=1695829584; 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=HIC1z+Y5X7nE4BXr1975QA3QvmpInOTVPTiyv7G4DQk=; b=Zc4mumcs4PLbklSIehlaVVP4N/0QW604dbJlsdHfeJjeTzimaTiUyYP4lJMPUwb2Wj K/0oPDgTqY8Wed0KEqKrKdqiX2PaP9a3/FgYWzVj3gCQuNSDMjlEZfW7uKh5LpDv0geh hs1HHCQTxWLHGQLSZOg9bH/Z7oTdbVI2OJAQdJwCsyv4dgwEdiwYiEkjFReXahFuUuCK MCczDjB3xIqRcKkpafTDMC73usHZi58yIVHJS4odLzidZTJhkBLBjkt7kOnqCuhgyH3z yzPoBjmPmFWWzmXUVv1ZT5ZJ3iP4P1Y7dHR8q2KQpM5py2xDU0kM6vRcAyru5sKpdGvo 0ang== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695224784; x=1695829584; 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=HIC1z+Y5X7nE4BXr1975QA3QvmpInOTVPTiyv7G4DQk=; b=UiB7QVK/8FREBtczzQ9OSgenBFgMcSZrkouiQxtp0JVRSKbz4Kg9zXlsHVp9QkmrKl QsjPG+nGjPtMaK3J5AGI4HROURucw6vC0eNReDQM24dKQZ55lyGKc23WYbSD2SAUewO0 r1V12eACSTV8D8rE6oW4VIDXedtS7Fnp+98o0HxNeENr3m2gzDgExnCe0VJYnk9yUyUo mg+UagfyhoG8fRK7MZSM8nDqNm/U7Tqdd6F1wImCqJIzcUBavFdn4rqplkRMXRltgiw3 ZEcykpdpPRGtUnd8a+lw239TIotoZoavbaT1oaowNN3Qh3LrUdhBAPr9tFt9DyA4YB5E zbZA== X-Gm-Message-State: AOJu0YxHyTBHCUBVbvD/XrXkznbcSmy7YZB2lfw39y1FcF9aoEkCVLWZ Dg5+m/DhRtJDxy+Y28Zdtlp8gw== X-Received: by 2002:a17:902:dad2:b0:1c4:c92:2320 with SMTP id q18-20020a170902dad200b001c40c922320mr3107163plx.31.1695224783665; Wed, 20 Sep 2023 08:46:23 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([171.76.85.109]) by smtp.gmail.com with ESMTPSA id m7-20020a170902db0700b001c0de73564dsm11995153plx.205.2023.09.20.08.46.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 08:46:22 -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 v2 0/4] KVM RISC-V fixes for ONE_REG interface Date: Wed, 20 Sep 2023 21:16:04 +0530 Message-Id: <20230920154608.1447057-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 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]); Wed, 20 Sep 2023 08:46:47 -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_v2 branch at: https://github.com/avpatel/linux.git Changes since v1: - Addressed Drew's comments in PATCH4 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