Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp614822rdb; Mon, 15 Jan 2024 07:58:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IEBgzxKQKU2pWNQS9fWDqjE3H6cCRalpFICHEfmmWKNhBne1lsApEqP64XmKA3Cjg+w0XOH X-Received: by 2002:a17:903:22cf:b0:1d4:40f3:7ab9 with SMTP id y15-20020a17090322cf00b001d440f37ab9mr4518674plg.40.1705334301345; Mon, 15 Jan 2024 07:58:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705334301; cv=none; d=google.com; s=arc-20160816; b=RcnGE9bTF/ovu7x4bCaa4ViDGiFJj3Xp+EQ24c0JWZXWWx6j2flEoV1rxSHEKKow8p /H6F8gfeZTeNUg//eOoznjZ7eQth6Nf1IthsksNRM3f4PCi9G5M9mr6FvncVPVRghrQt 8Pla7aIm25DAtyRL/HHRBaFyzpXWiRMEsPIWX+A3n5eUtGxDa8lTChOHOvEjH3n4CrVw v3k+Ps9q0vgbjI2vzMKGG0rqTi0gmsLf/32wuCjq6y3OAEl0PHzGjOafUotDmihWNYAY crIeYlBfl5SdvA/341aOmaXbXBjFNdp1zV6cbXBcsR6Dz/jVrf9RfBnmjeo1qgutc1WM F/og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pSX8YdFzGW82k1HdFW0Ew9PXwzmjRfEttmlS+50xEwQ=; fh=o6arb0Oc7YD+PvuJ4vL1hcJ9BbY4qApGHA0NMp2kZgY=; b=DUO5hCAQxIFTdnv+gSyoezKaFvk4eOomFM9Yd30oVbP8gxauDZGnMpNZtvGjPGttE4 asL9iQzQJAM+savLc3jEvx0vzY1b/zqnLtp5VsMgD3TggWNhP1JU8X7X4xE040p6WAI4 fP7giQiAwkf7O4axPA35ycsFhcpxZD3HyTf3LkiMaKGIIqlUC07zN5/GLf0s3EHd/LKX XyxOWOhqHCCyVxKHTYjag231QR9LygOcFGkVjfMSOg2oeQSE9gFapgf2l4y/+aizIgC5 BcvLhYc5LxDpU7+myNvwFKJWiPW0xH/FiAXI0si50Fo5PKtKaS5gxtknz88SRbVfc9YC Z3ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=LP0YHGQm; spf=pass (google.com: domain of linux-kernel+bounces-26206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26206-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u12-20020a170902e80c00b001d4af9e9278si10069578plg.276.2024.01.15.07.58.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 07:58:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=LP0YHGQm; spf=pass (google.com: domain of linux-kernel+bounces-26206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26206-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 68E40282910 for ; Mon, 15 Jan 2024 15:57:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9371E18627; Mon, 15 Jan 2024 15:56:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="LP0YHGQm" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65FB018629 for ; Mon, 15 Jan 2024 15:56:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40e586a62f7so65663935e9.2 for ; Mon, 15 Jan 2024 07:56:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1705334186; x=1705938986; darn=vger.kernel.org; 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=pSX8YdFzGW82k1HdFW0Ew9PXwzmjRfEttmlS+50xEwQ=; b=LP0YHGQm8PcxkRd7m63lrnURJ2YZI8XrNrBvgfr22uzg4bLj7SUxOIMM1xxFdwow+Y iA5Emi0tISf8e37sPu4Ur8CVBKXZan9P/1LyNZ2dFpX+IQQt2uuSHCs9mqLopISBd/xY E4pgA10T9Q5QcZ5zZk6o0v7UQytSHZte6gfdCQDjNh9ANvH7p8CGssccSDmKUM7pZv+/ S6Bx89+3Ks9960fuHFti8PR8e1y11le3s5m5cpJLk/dS2j7XYJ/rMijadOhupEMYMBpC vGKrhvRHJQlgf+tgocD1ozmYpn6K5WEuUwV4RctJV0oJE1BXJjXrl1X4LwtM785xTBZ6 3UHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705334186; x=1705938986; 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=pSX8YdFzGW82k1HdFW0Ew9PXwzmjRfEttmlS+50xEwQ=; b=Xa83QkcMy5EWRlp3dKEf8eBu+2EmMujzErvM2y+pf1bDwEIi+cMOoERPyGDGqYQpi2 V0xu6R4VtqdQd/JJHoqY71y4bZImOBnV1amv9Qlc/WibbxDcaBxyIzqbYCvN1FuQlWGL Q62FPgVrOfyw1rN/qeKqt4cTdIGQvVbf4r1euyGXQpIVTpCovn62EHw/NdrB0BFdANtY L33ojrVjih/suROjO9bh8+LBy99n11H+Z46I/I1RwusXIYj0vLqsk247GfJmdp36GkhZ 9WwrsfuVtgjdArNSuzK0IlCMvQ1kyU3Kh1fewQe1VVBhGY0BwC0vbnEtjTXmcPz1SHRX DCMg== X-Gm-Message-State: AOJu0YwwfumzUjAO3CDoDYPSWBVwUkYslJdwRCet+tQb2hijpYe5lr/2 V7yW9aP4sjYO6gVAbwuIAwelOqrhivsBQQ== X-Received: by 2002:a05:600c:5246:b0:40d:ecd9:bb99 with SMTP id fc6-20020a05600c524600b0040decd9bb99mr3395375wmb.124.1705334186521; Mon, 15 Jan 2024 07:56:26 -0800 (PST) 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 m23-20020a17090607d700b00a233efe6aa7sm5410163ejc.51.2024.01.15.07.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 07:56:26 -0800 (PST) Date: Mon, 15 Jan 2024 16:56:25 +0100 From: Andrew Jones To: Anup Patel Cc: Paolo Bonzini , Atish Patra , Palmer Dabbelt , Paul Walmsley , Shuah Khan , Anup Patel , devicetree@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 12/15] RISC-V: KVM: Allow Zvfh[min] extensions for Guest/VM Message-ID: <20240115-51aee57d7e62ee212cc86f31@orel> References: <20231128145357.413321-1-apatel@ventanamicro.com> <20231128145357.413321-13-apatel@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231128145357.413321-13-apatel@ventanamicro.com> On Tue, Nov 28, 2023 at 08:23:54PM +0530, Anup Patel wrote: > We extend the KVM ISA extension ONE_REG interface to allow KVM > user space to detect and enable Zvfh[min] extensions for Guest/VM. > > Signed-off-by: Anup Patel > --- > arch/riscv/include/uapi/asm/kvm.h | 2 ++ > arch/riscv/kvm/vcpu_onereg.c | 4 ++++ > 2 files changed, 6 insertions(+) > Reviewed-by: Andrew Jones