Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4235657rwl; Mon, 3 Apr 2023 01:48:32 -0700 (PDT) X-Google-Smtp-Source: AKy350ZL0L5oZFp6d8+n8KO0OOAQpyy0kGVY4jFQMxhYoXPhezH7kNFvinFzdr87eR0iff6eLUAg X-Received: by 2002:a17:90a:5e4d:b0:23f:58a2:7d6d with SMTP id u13-20020a17090a5e4d00b0023f58a27d6dmr40248123pji.6.1680511711750; Mon, 03 Apr 2023 01:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680511711; cv=none; d=google.com; s=arc-20160816; b=giIv4oXXMc7tLwRKPO+Y9Ebwt5Y9hsnuGGyk/9Af1KUmf698UBN6N2+PmhOPz8x0hm 8tC5xB/Qpc8DKN1zjq6L5V7+KkAy0Gz+hf0KdVtH9jhtK3NXFQtEV8nxxDx/15+2RLQP +AZPooUZVqAxNtAcA2ePg/CpeQwGqtgCTlf1j8UsxY2VbXFiDxeir5YkFMJ9wB8txdbW PesGBtj7MNPlyXbGcPQpcSXun5kZMtHJx/eJ1MJ3gXN7bdPBmfymi8pgARmC8kGAq3kO xuxsWQW+ecRCQZlF4EKY9MW4HTH8fv49555SE45N7JasTPjpj1TE+9mQctNakUwJmUnp 42jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bo4Kh55NPoZNDEs55iiMa2VaQMiKh1GEZppniETDTdQ=; b=DNRAdRCLVDrcgoDRYae1cP8wlLScEld7DVJAyqzPlqoScKcRnmbUV2Eott88a+C+Bg yeGOET0fA2N1iS6zD0SJ3glBR1vOQQDeMSEy8+oD6h5D70O6KJQNU30fz2U3Oq7IHYbG jxuKQgb3ZEcdgzCJtv3hIFDyp7jUSqIT7z2uNcrCq839N5gwvIbw3LOc4O8NRh91Z8Yb WR9lBhcHYofqEwKK9CF0VdWkvASZyUG8a7Qx/JXy2wsn01B6znxH6Epj3LEuaVsmr5nz Nu4UHT9YRM4SHNWaG325iujBABS3pVIwWQuCAKA4AQcodqC2qNPYq7/TJdlttkE4hecF altA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=DeVMQ+mq; 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 s4-20020a17090a5d0400b002333adf6321si11843356pji.47.2023.04.03.01.48.20; Mon, 03 Apr 2023 01:48:31 -0700 (PDT) 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=DeVMQ+mq; 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 S231899AbjDCIol (ORCPT + 99 others); Mon, 3 Apr 2023 04:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbjDCIo3 (ORCPT ); Mon, 3 Apr 2023 04:44:29 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24C7683F1 for ; Mon, 3 Apr 2023 01:44:16 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id i5so114360245eda.0 for ; Mon, 03 Apr 2023 01:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1680511454; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=bo4Kh55NPoZNDEs55iiMa2VaQMiKh1GEZppniETDTdQ=; b=DeVMQ+mqOgyHAFdWNlxlUKRQbmaWxS4oHLa0DNQNDHcuB9Aznlh6j73OLWloGV9bPy pH0HpKuvlzcTYF6wQXpfVJC2svpyUt7AFdCJF1MMoFSsvrr4TsEX/e3Z590Y1A8gOt4E Cr1YOVNR9ZA0ov5swgOWYbyKzoKmt1XJyGPMvX3p5RoF01aebn9R9AamX869Bm/+czTn qjUZz0UDun8aA633TUMSITrP3GWMMi51jVMunoHpnUZ99aBm6cxemR5Q5Zifc3LSsQjp abHJ9+ldNFn9bffRw03hxOs3t3yXETGXW9qN39qzpTXZqJWQX/TLm6GoslOePacVxKmc perw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680511454; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bo4Kh55NPoZNDEs55iiMa2VaQMiKh1GEZppniETDTdQ=; b=6Ktyz/5JipM6z/VHoM3+G7+D2SNaU7kSzYOgwZEbcjVl9ZEOO5ZrQWuEvL2tfk0eJH LNniWh2YoFbUOxgGwKRz4mYzPb8eV8VQCv6+sMoYWiBNZrsVUVOwCabRzjhV393Lm75N ktICnvaVY7P3z9cuclF63Ieybftea5uMNSFGg71yYlplXKjgOoxBxl/GTmIONe/+Czn1 +LHAhh4eXg4sQ3/SDHATJ7UNW+amuIsHGHqi98jyyA81wFSib6R7+bxh5fhu3yBXV5lZ /ll5Ze+I8ip0K8FkB/YyWVT0oqj7MC95ChFeaB+Q9GoDLmcZKM8h9uV/bUAbBb2qby1y n7Hg== X-Gm-Message-State: AAQBX9d8EVrlSnpHAWG1ioNp84c7dx8/L1g7lcR4wIKndl5fj3c3kkc7 xIADAoBOQDsUnd89tMz6mMQ4kg== X-Received: by 2002:a17:906:5d14:b0:92f:e7e2:b7b3 with SMTP id g20-20020a1709065d1400b0092fe7e2b7b3mr43452702ejt.5.1680511454672; Mon, 03 Apr 2023 01:44:14 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id y20-20020a170906519400b00930569e6910sm4308835ejk.16.2023.04.03.01.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 01:44:14 -0700 (PDT) Date: Mon, 3 Apr 2023 10:44:13 +0200 From: Andrew Jones To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Palmer Dabbelt , Paul Walmsley , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] RISC-V: KVM: Allow Zbb extension for Guest/VM Message-ID: References: <20230401112730.2105240-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230401112730.2105240-1-apatel@ventanamicro.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 01, 2023 at 04:57:30PM +0530, Anup Patel wrote: > We extend the KVM ISA extension ONE_REG interface to allow KVM > user space to detect and enable Zbb extension for Guest/VM. > > Signed-off-by: Anup Patel > --- > arch/riscv/include/uapi/asm/kvm.h | 1 + > arch/riscv/kvm/vcpu.c | 2 ++ > 2 files changed, 3 insertions(+) > Reviewed-by: Andrew Jones