Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp613828rdb; Mon, 15 Jan 2024 07:56:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+jRCqllJU2oxvLyXKRKOaQ8kXMvxSwxQKf8XbPCfQTOvIR0AjY7KPUTctj9F6h6/vGIcX X-Received: by 2002:ad4:5b88:0:b0:681:6884:bd3b with SMTP id 8-20020ad45b88000000b006816884bd3bmr440380qvp.52.1705334160817; Mon, 15 Jan 2024 07:56:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705334160; cv=none; d=google.com; s=arc-20160816; b=I7axbCuW/eIl762IXWBiMWEY6MP8tepmrVYMLqbe1QrNB4Y94WlPQhtIzmiLB9qyKv PL/zncdSHENbmNJFX1PsLt5kvr2NUOT7OyEflemWPYHP+7MHre1c6cBx2LgzHMgTEJ9V HEHJpAP0vdmq+ScKR2wFweLBfYAmHGGi23LOGoGmvBEtAnXIEFlQtcl11mx3XIWKnd9w MJWN2B0drEbX/ZY4SgonoZUqwgLME9d/h1Z+/bB+AAi4ItByMzBcm7N2hIwJmFkMPPJL 3RlNL7LUTYadie/2KDIt7s4Lgcu+SSL2y9YjjDitBpJ5tEKQlRey0d5kSfVyJOomncLM 3CHw== 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=DMrg2ftiySODP1utRQcg6FAO055EYrzqcviBe8d027c=; fh=o6arb0Oc7YD+PvuJ4vL1hcJ9BbY4qApGHA0NMp2kZgY=; b=I/7s6hvM8dTpo0AVttddxPwitlYEpKlUWjFonDbADp/NPvH+1uPnrfNL0yu4ZpCQj0 Am9P8xhzeBiXPDQrGLCHOG8/k4AkSyYTmIeWGtx6kay9t+OfT9BxLT8Jh6TlVi3mO2On PMokJ150kydFYNeu9nsewQR6aHn32ig3QRFwn/5yPDGiGEFtNpLsCDvN7q9rwAWkRIX4 /YJhwB4BFIv4sDOVWjsC+Hipbmqm1ZlJY1A1XeFaAoh6d7tpMwjMpzczVFJE0rVsGbsv 3Pv8rhzti7Lngofy/4ju/qfZr99yb+vRpMEjr3XlVbmnQdvW8w0EIieN3dBmqLu+eyMs SQ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=iDgeT8Ch; spf=pass (google.com: domain of linux-kernel+bounces-26200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26200-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ow26-20020a05620a821a00b007814f7972f9si7955058qkn.542.2024.01.15.07.56.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 07:56:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=iDgeT8Ch; spf=pass (google.com: domain of linux-kernel+bounces-26200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26200-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 90ACC1C21B90 for ; Mon, 15 Jan 2024 15:56:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B12A17999; Mon, 15 Jan 2024 15:55:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="iDgeT8Ch" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 EA04217753 for ; Mon, 15 Jan 2024 15:55:44 +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-ej1-f45.google.com with SMTP id a640c23a62f3a-a28cc85e6b5so1058915866b.1 for ; Mon, 15 Jan 2024 07:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1705334143; x=1705938943; 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=DMrg2ftiySODP1utRQcg6FAO055EYrzqcviBe8d027c=; b=iDgeT8Ch+pR1hGZdkC8kNzwZFKyO/lxrgea/tOv28dgSV5XAKkjYqp/BQCDNArfvo7 jtoxflJnrKQdOaHSTegLy2ooNypZtC0hFcvPiPlDku7Vg+RespmWrCBXHkn7atB+lst9 BMtSA7j5LITXJfR5ZyKVXpgqDrX6WDeypbV8e+ESgSKymKQP78+taMfOG6rKS2t6GaJa VTvPhojF1QGrSksfUemilYcUpM5V0FO5aVDu8AoUQoHxbqBw0wZS2JzMDhKDLcchjXi1 fIA48A1Ts5DVspAbRth8UDZaW9dtmwAOasPtBfadTtmPdItkIgFaFingQRCFumlgCnoW 5y/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705334143; x=1705938943; 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=DMrg2ftiySODP1utRQcg6FAO055EYrzqcviBe8d027c=; b=ClArVQhcvnDQixQRNyXkF1KRp6ZZyRzY/3QfIZAcFXXdpcTtV8m8jKZYsVi1L2JKEv cFzXo5aBcGuWY/+xWsaxDbx6pAYJ0GVEiDuAO4H1WDXzvcx2rEm9zfc11ckjkE/4cqkg /6A37L3hXXNLuhhWZ+3yBFH+JnGLD/lgNwUUoTNwT7mtPJyCK8nl3azZYDJM6OxT+TXQ hR2xLxq83Gy8H8C0BA3NR7NrAp3jXcbAvHSCICI4sWAufwbPzzk44bgMT1/Sa9aDlTQ2 IdxLtSYkvs9VW2GVqIjk7/T61Roj3SCdG9DZRuV3SBUpaXt9YTYuwfH1NsZxzQdh/oBQ WmRg== X-Gm-Message-State: AOJu0YxPp+8tsrZsKtDle7uJrFi0AwPs3QCk/KS3rDV7h/WFSfYcWWIy rIYuppYu6raIQcc3RtV49BqONso64CxZ0Q== X-Received: by 2002:a17:906:fc10:b0:a2c:43d:3fa with SMTP id ov16-20020a170906fc1000b00a2c043d03famr1870560ejb.122.1705334143308; Mon, 15 Jan 2024 07:55:43 -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 v1-20020a17090606c100b00a2a04754eb1sm5430467ejb.8.2024.01.15.07.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 07:55:42 -0800 (PST) Date: Mon, 15 Jan 2024 16:55:42 +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 08/15] RISC-V: KVM: Allow Zfh[min] extensions for Guest/VM Message-ID: <20240115-a20755a0a5fe14b342814b16@orel> References: <20231128145357.413321-1-apatel@ventanamicro.com> <20231128145357.413321-9-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-9-apatel@ventanamicro.com> On Tue, Nov 28, 2023 at 08:23:50PM +0530, Anup Patel wrote: > We extend the KVM ISA extension ONE_REG interface to allow KVM > user space to detect and enable Zfh[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