Message ID | 20250115-pmu_event_info-v2-9-84815b70383b@rivosinc.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3C76C02185 for <linux-riscv@archiver.kernel.org>; Wed, 15 Jan 2025 18:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kPUioz98ZhrPRJqf/6oKybXZRTa0hkcYNOiKEaOXd0Q=; b=x7NNaqw+ZUMh1s 9rr7LfiMVRG0NmUrsZLAYiF0U0aPWJncylAqJPSrtkixyfYjRgcg9Bb9IN6Bho38k+OGWuIH+in9J ql590oxEFyZusluVPxIGXIfAdMX2oS2Y68j7jJ322QN71OCVM03eQJf3Q6kV/ICmgGLqcYKqIDTc3 44Ku55jk4hQ6fA6CAWtPPfd4NthJEIuqkFASn1AJROep3K9p3VHoWPVnHSBWs5vW8BiD0bJpqOdpr eZFYR/WZJPE226UI5na76wVPtfhnSazR8/ywbPM/UyycKRJVlBd3Vd3F56y5V6vCLI4bf50M6HRNu 6MYOc8VhLFLESfJwlUng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tY8My-0000000CoCW-3iFb; Wed, 15 Jan 2025 18:44:00 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tY8AU-0000000ClJP-2mWJ for linux-riscv@lists.infradead.org; Wed, 15 Jan 2025 18:31:07 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-2165cb60719so129037985ad.0 for <linux-riscv@lists.infradead.org>; Wed, 15 Jan 2025 10:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1736965866; x=1737570666; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=oS1moOcp9ct9rXCWQSjf/GhpQtGR0rWY3wjXVfG0zao=; b=eU2yNMxKD/j807Dtxo+AL6aNF+LSTXcCNsvZY9rlKoTReyGyQxJo7jvogOmA3cKsTy UtMSOUn4oRGqDMAHZGSdB8vLiQWdohAZ1iTsLlnEBAwf/0kBcTsM2ST79Sm8ZYLouaUO HgBobRkUGgKbT3KbrsuPnwGFradvZFc+tQh/B5iCkzKzq5wy4ZJQtI29G8BR9Staf7Si ZN5nzlL9kaztnzODPdq/4dEKUzGd0Cm8jhcTbppSSCKR1UyidIVSrsgJM69li45q/lcv 5KDdbynu5pVaQgev1+MC0Z/t6UG8hhyuqkQLY4pGzjeShjZNNjVFlL17RKObFPEgxn0a 4ZKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736965866; x=1737570666; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oS1moOcp9ct9rXCWQSjf/GhpQtGR0rWY3wjXVfG0zao=; b=Mwb1ScXi0fEvcVqk2S80WzculDXh/0b7Hgv6dD8ttXn+0cqsPUpddnQxbbhGwC7Lvj PiJywS9EF7KnGWRwfyR0w/zQfb+PBW0j2fQE8PkuMJ1uLdSLNgCjI5EAO/XR46dMVp54 b+Ub/iddDYfXn4Ff1EOxq6Vls+hReKjtF1xtIsJfCH5ccJPpNUD7G8K+jhr0xn3OEqxR jBc+4TpuNBhM5QAvdt6dy0NSXE7YJOA1jvIrv3xj249j1aSXcdERBrB4knXLA3Uik0eu GYgsf2SeccJUYZ+dVAaUoi0XppKB7qRiR+zQq5QJWYvglExDESg+DVu6ytD+g9301r9y 8tiQ== X-Gm-Message-State: AOJu0Yzp3pXaBkXoTNhZx5c+FZDEVceIyvdG04uhJOZrP6x20WxO6EyG exdHb1laj15UNB5pldRCRAapx2j2g7zJdBpbP9llWFy/pXVlcla5hG6UBWJQZ83ILHEblGfm9CR E X-Gm-Gg: ASbGncvuyqsxAkKlkwrhH7kt7UDDjHWdY+9jiGvED30JD+wiJU5PaeGDXekhISIZixU CCMvszhk2KDeUUbCFG2H+iwuS2eOqLxxdIgB6Ep+o85XZHO5qnbvWydyrMGT6qaN4jjoTX+MOHX KHEB5xWkmtsVXFoBYkmN3GBuHX/dQwlwMiMiFzyVDGlwybdwAxpTTG1ew7O8X0DNPg2ynF9i2M9 JVoTOD/MutFo75GoSP2WaDul8dJVVk1zYqDEeydRYG1XRkIVFCtdSsbtwcwukcw8IfzVg== X-Google-Smtp-Source: AGHT+IGUgwpGj/plYJTZ8pJ5gD95k5t13F6GWcCCeHibqJhYXgtv9S5eRA0RKAcOGIqFSWIv1IyJjA== X-Received: by 2002:a17:902:fc8f:b0:215:787a:f91a with SMTP id d9443c01a7336-21a83fd1e96mr525986085ad.44.1736965865659; Wed, 15 Jan 2025 10:31:05 -0800 (PST) Received: from atishp.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a9f219f0dsm85333195ad.139.2025.01.15.10.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 10:31:05 -0800 (PST) From: Atish Patra <atishp@rivosinc.com> Date: Wed, 15 Jan 2025 10:30:49 -0800 Subject: [PATCH v2 9/9] RISC-V: KVM: Upgrade the supported SBI version to 3.0 MIME-Version: 1.0 Message-Id: <20250115-pmu_event_info-v2-9-84815b70383b@rivosinc.com> References: <20250115-pmu_event_info-v2-0-84815b70383b@rivosinc.com> In-Reply-To: <20250115-pmu_event_info-v2-0-84815b70383b@rivosinc.com> To: Anup Patel <anup@brainfault.org>, Will Deacon <will@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Mayuresh Chitale <mchitale@ventanamicro.com> Cc: linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Palmer Dabbelt <palmer@rivosinc.com>, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Atish Patra <atishp@rivosinc.com> X-Mailer: b4 0.15-dev-13183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250115_103106_704867_01EC14CF X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-riscv.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-riscv/> List-Post: <mailto:linux-riscv@lists.infradead.org> List-Help: <mailto:linux-riscv-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" <linux-riscv-bounces@lists.infradead.org> Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org |
Series |
Add SBI v3.0 PMU enhancements
|
expand
|
diff --git a/arch/riscv/include/asm/kvm_vcpu_sbi.h b/arch/riscv/include/asm/kvm_vcpu_sbi.h index b96705258cf9..239457b864d7 100644 --- a/arch/riscv/include/asm/kvm_vcpu_sbi.h +++ b/arch/riscv/include/asm/kvm_vcpu_sbi.h @@ -11,7 +11,7 @@ #define KVM_SBI_IMPID 3 -#define KVM_SBI_VERSION_MAJOR 2 +#define KVM_SBI_VERSION_MAJOR 3 #define KVM_SBI_VERSION_MINOR 0 enum kvm_riscv_sbi_ext_status {
Upgrade the SBI version to v3.0 so that corresponding features can be enabled in the guest. Signed-off-by: Atish Patra <atishp@rivosinc.com> --- arch/riscv/include/asm/kvm_vcpu_sbi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)