Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1474073pxb; Wed, 2 Feb 2022 05:53:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzM/zyONcP5WQY55wla4iFLrwFwdCFG1exLDAk7svhrAshaJuUIrsbbZA72MHYrO6frnuEH X-Received: by 2002:a17:903:18b:: with SMTP id z11mr30510602plg.94.1643810024738; Wed, 02 Feb 2022 05:53:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643810024; cv=none; d=google.com; s=arc-20160816; b=NXrk4ihVog1t7JVHQVXt7pEDJiaEP3Y+NM0cHCx7AhgWKQBNuevHlQh5p1nSSc4hPH E3t3J0r9G6nlD8yvPVMAk9keSTdKnVsbHefRNFU5Osk9RNvz0Z6ag+lhxhjGcKIXDAr3 HEaqSOrnat4TZgaeejAacpu49mPGJQIZVVOFwQQCCzI5DTJRFqHVnXdViNKYvScicP/k 1/g6zQrQM3Nz18WpJ7vJcfKtr1eiTosS/DE8mFnyfEcu9wofyRxbDOjPL0GXKWq46iEV ExgV6OElsyP3bL2Trea+xKpQl3oltAfR0vOlSYPbg/1EphhYW1uRI8aEMPRZSzMW78B0 5kNQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=moWXwRufmzv2uumLJS/9LAZ+TSxfYh9+Zsj12AAFml0=; b=vK7/zpc+HG1HqZLnqjdXqBMBwLS47TW6EhtmGdreXj54aj5euKO5KoRbj1stWtX2l8 ZFQEzN5uNT+nfLQKVgKsRjqA2UeFXOdfH4YGNzHJyLOMwz6xuawyBPp8P0FJsxQaGIkW xmPBZKMsNlxrv60NCMHm3NhTOQ20DUY6myWykTEmp5i7/sjB5pt6BGRF3nSKHLY8c9BS AK6Fq/qhzGxLRVuM8IH/ReypSEkP7z/9d+ZHliNv3tv4gaiFblAOrjdEb9NIMXyPviHe jwFiS6oyWM1IaRAhzH0+ZlcFcxUpdFqp2JI6CFxfuurdPpRKD2DEMFJXpGR9QbjDFYSP w6uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="megPh/BG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj8si5292710pjb.85.2022.02.02.05.53.33; Wed, 02 Feb 2022 05:53:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="megPh/BG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234651AbiBAIXv (ORCPT + 99 others); Tue, 1 Feb 2022 03:23:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234409AbiBAIXt (ORCPT ); Tue, 1 Feb 2022 03:23:49 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3842CC06173E for ; Tue, 1 Feb 2022 00:23:44 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id k25so51269774ejp.5 for ; Tue, 01 Feb 2022 00:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=moWXwRufmzv2uumLJS/9LAZ+TSxfYh9+Zsj12AAFml0=; b=megPh/BG5oFnZ49v1LXD50Xj/andQy3srFKAFC+gMyPjfTvGoYsIG3hfLiq4hYxtIB 8iuFJWW+cp099IAO893rjhKCAI7teY/UWouMMrE7TJQehbHyaDR3nAqwlqxmsgfSwBli 9f/DFJf4yXzoSnJA0VHLwRjiWbGW8jspI/EAtajH8hxW6yn7RfRW7Xs7xN/8j5u1MRLU sneA5mmfSueXTPSQvo+Qh1VoTKL8YJLj8VRO6qzHXLnTzddiOV77AdPRdMooMWFT/Wvf Rjubq2A6dSjKTSCKaLs390u3FQ7a+IlROa9jV9cSkyXu/5MwrnSW32MKoIqsVH+LaJf5 oR3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=moWXwRufmzv2uumLJS/9LAZ+TSxfYh9+Zsj12AAFml0=; b=f9SDTi7BLfH+VeYWcnFVlps5T4PoDq7+iI1Lea0JFMxmPCcs273cIRwTitt2K2ckp3 nnTIkuy4mhXAU1osto15N3Gr6yioOOufpduOcM0HfCLlm7dB7Yhl7/yfh0ofnb8ZlYKg XWN+wwMxXWPd2zvsn2QcHcZ3B660sLk642nxOjKInkcQRqR1PjtnT9PGyu3WoICiIkER 6gPwd8vJP20JGCMGU3ZRfbN6ax0ORS8uYtwZyPOjKZ+tIZd7LQ7wXEeTpLqLMsW0aMri O4wD6Ksk3aZtLBcrJJkmOhoIVT6/qzaLO05BDmPfuF+v/daipaA5yH/4jiqw+/kVJycM 7akQ== X-Gm-Message-State: AOAM532Tc84TkbhxpHu7QSqtM0sSytDIAHzc0kc0Sx4M2e7S9QktlSc3 XUcDqRlBnWsLVenDN75LPFLMVQ== X-Received: by 2002:a17:907:1b16:: with SMTP id mp22mr20683012ejc.537.1643703822407; Tue, 01 Feb 2022 00:23:42 -0800 (PST) Received: from localhost.localdomain ([122.179.76.38]) by smtp.gmail.com with ESMTPSA id w8sm14312133ejq.220.2022.02.01.00.23.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 00:23:42 -0800 (PST) From: Anup Patel To: Paolo Bonzini , Atish Patra Cc: Palmer Dabbelt , Paul Walmsley , Albert Ou , Alistair Francis , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH 1/6] RISC-V: KVM: Upgrade SBI spec version to v0.3 Date: Tue, 1 Feb 2022 13:52:22 +0530 Message-Id: <20220201082227.361967-2-apatel@ventanamicro.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220201082227.361967-1-apatel@ventanamicro.com> References: <20220201082227.361967-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We upgrade SBI spec version implemented by KVM RISC-V to v0.3 so that Guest kernel can probe and use SBI extensions added by the SBI v0.3 specification. Signed-off-by: Anup Patel --- arch/riscv/include/asm/kvm_vcpu_sbi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/include/asm/kvm_vcpu_sbi.h b/arch/riscv/include/asm/kvm_vcpu_sbi.h index 76e4e17a3e00..04cd81f2ab5b 100644 --- a/arch/riscv/include/asm/kvm_vcpu_sbi.h +++ b/arch/riscv/include/asm/kvm_vcpu_sbi.h @@ -12,7 +12,7 @@ #define KVM_SBI_IMPID 3 #define KVM_SBI_VERSION_MAJOR 0 -#define KVM_SBI_VERSION_MINOR 2 +#define KVM_SBI_VERSION_MINOR 3 struct kvm_vcpu_sbi_extension { unsigned long extid_start; -- 2.25.1