From patchwork Mon Sep 18 18:06:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 724538 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A920CD13D2 for ; Mon, 18 Sep 2023 18:07:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbjIRSHD (ORCPT ); Mon, 18 Sep 2023 14:07:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjIRSHC (ORCPT ); Mon, 18 Sep 2023 14:07:02 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A53C7106 for ; Mon, 18 Sep 2023 11:06:56 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1bf55a81eeaso34994745ad.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=SOk1Vfn1pndBJpXbBlFFLs44tbgjzW2NHUsocvvnn1lDbEh4Pgjltpf1wJ0MaZ2eJu 6vo1nIqHAdV4p3hHy//Ng+fqWuNd+aJlw2866RFL5tKb94a4Rkoyu9QNJHCeXnOQLKPm YRED/VMGKKrXuAVHR82LDZAJlv7/RVj5pgg0tkisMlYMHdqH8vwhMmSa58XOSQ/On9ki z/ihtLnKrW6MaLKSnRhd89T54Jz0bnkT6plhYzG0WT+GJrZZgjcmGRgJLWgaE6eM9U2C oz2Ybn90VmM/eK8mTEv35mhixLirzCm/oZpolun3lO3570rbzox5Ztxd/rtcKhMLRh2e YDgQ== X-Gm-Message-State: AOJu0YztA8MVtfTaSZHSMZOV4kzPwDfc+oUvKJ9wPCJVFY8oDJB9uwmj VmfC1SuFms8ieSKYnPESunewICeouC4pEMF1Wo/vjg== X-Google-Smtp-Source: AGHT+IFZaa75xea6Y0dv1G3itQYg2C5MEWq+6lS/hOtngOACcYMLEDGNJM4QBXNYaWpu4NJMe3mq/Q== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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(-)