Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4468306rwl; Mon, 3 Apr 2023 05:34:50 -0700 (PDT) X-Google-Smtp-Source: AK7set9KV9Zc8zuKSRnAD5pD6LZM+Dr/l9RMJ32TWSutGtQVxFg7W+aqKSDvtMEKMcSe4twCKkRN X-Received: by 2002:a05:6a20:bf26:b0:d5:635c:eaa2 with SMTP id gc38-20020a056a20bf2600b000d5635ceaa2mr30518253pzb.14.1680525289968; Mon, 03 Apr 2023 05:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680525289; cv=none; d=google.com; s=arc-20160816; b=KS8b4qbv9FIa+FExluFpJ3Kc6Sg+AHC43kDtGECdsE1SSG3RBfFhHoP77pR0SoDdgw Qj78tdDeoWlhItjYTqTchw4sPbY6WhY5MBRkckuCGupAbh2GEfszuvmqOXNPty2uHBtf ykbNU6w7T3MGlNwWJSwcB9bpr0Qd3SuwsloDg2iCl8YE0JElPihWpnUOgBcwC7bHWkwt sc2y58YlSOQrXXqyYjqeBnSPpfYhT0UMzhYPRntDbi8oS16PmUnOhpaMNxp+n5kiRpyJ InOLE8Q2l/HHsJ8TRn264vAITMCawni4EO9BOL8u2wl4f+2gWEEtSlv1jb6knSVXtvHN skSQ== 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=VxqO2IX/lOxdyOopfgbP40oTI1EeUwuWoB1FSfdYqqY=; b=m6l3fbST8s6KT1Ki0oKKlV6XUmvv7WwPFoV5u60y3vVhW9t7x14QN4xYR30bCMkbEq N8Z5iSnKjvN+bgkTa+FUD1hYUV4lXZ6GlH1zvf5cCnxLL0W5geu7eWSbJzGPA0s0SW9g SvTTu7gJQsZ63TayhmGmFvAeGi1F1ADGOXmgbILNwzA+h1UgWDT9uezl7rcs/VFhrgtS fpxc/Ybn450E/MD5zmbXJWi3kQu5VIwIIOKlePjoy56QwROn14QS5c9gm15ZeP+qPOgg GahDofrByCWAOauO8Aj1qtMrIZCkulc+gQEAXOvBvto4JNgijFbox+01IIMdAnYZB2VE 8Rkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=LwR9i9ZC; 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 w2-20020aa79a02000000b00627ed1bc5fdsi7976710pfj.153.2023.04.03.05.34.38; Mon, 03 Apr 2023 05:34:49 -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=LwR9i9ZC; 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 S232359AbjDCM1r (ORCPT + 99 others); Mon, 3 Apr 2023 08:27:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232238AbjDCM1q (ORCPT ); Mon, 3 Apr 2023 08:27:46 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79350113EA for ; Mon, 3 Apr 2023 05:27:44 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id n10-20020a05600c4f8a00b003ee93d2c914so19387796wmq.2 for ; Mon, 03 Apr 2023 05:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1680524863; 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=VxqO2IX/lOxdyOopfgbP40oTI1EeUwuWoB1FSfdYqqY=; b=LwR9i9ZCwIynxLtQb6FQaFGe+/+1Np1vHT66lBjNQ4A3obHiN3EfpVZ3oil192Ng0M W8WqxBNP6kb/4Xui4QYKaEaVAyHV1egHkOsb/HhY42jGt7TV7D+EwlO4VxH/7p5e7ugF wOghWg/YTPx5nrZSzCp92+ljn7EVVqgg/NmqGiiMR4FSevXoKTemvsnj6yhYB5Fpptpu 7Q5eB/4hSeMoeyyv09YaJQEFZcXq+9wwRlfjvLtoC9vVHsIWseaV+X6pdrduPTUvy/RW BD75a13P16aa4bOlSNPTbEUYL/86i1Uw2mJ8JZQcTJgg469ub9r4Y/Zmtax/yxjh6azL ZQmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680524863; 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=VxqO2IX/lOxdyOopfgbP40oTI1EeUwuWoB1FSfdYqqY=; b=4mg9VWi5V5fDBuFqWM1+vnJrfQJFp7up73lJVwOB2J500F1J6R9w/KyER6alb6677P 61wWWTRJagF2YtkfbKkZ4900BjBkAi6pFBw09fdwIxFpR20obMrqNlZuLA1WaWTwsZgG bj986vyLGcxDG5BkzfU/FYMYisFRrKjaIzWGnJTo9hDBVUe27Fcl9vmOgbvrya5aDcl0 rP+0xFHq6891h9KSTpUEeLmjlh3Ko6f+NuOrJIvDc3ci3yBI5Ub/hdBzfldTvDHq1IjA xaA/C5SdAuAifLzCNolzvp+jgX/EaA1/l262vAp7798v4yrcwY+W1chePdwfbwmSHr7m HOlw== X-Gm-Message-State: AO0yUKXuKtYnHdkBlkChh9LYtFBNoarb/vVCiL8kYwdpq0v/FcNiftjq nXRNJmyTaOBIWn1ik/7qh4v7WA== X-Received: by 2002:a1c:f619:0:b0:3ed:514d:e07f with SMTP id w25-20020a1cf619000000b003ed514de07fmr27877312wmc.3.1680524863019; Mon, 03 Apr 2023 05:27:43 -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 l32-20020a05600c1d2000b003f0321c22basm17875591wms.12.2023.04.03.05.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 05:27:42 -0700 (PDT) Date: Mon, 3 Apr 2023 14:27:41 +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 v3 6/8] RISC-V: KVM: Add ONE_REG interface for AIA CSRs Message-ID: References: <20230403093310.2271142-1-apatel@ventanamicro.com> <20230403093310.2271142-7-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230403093310.2271142-7-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 Mon, Apr 03, 2023 at 03:03:08PM +0530, Anup Patel wrote: > We implement ONE_REG interface for AIA CSRs as a separate subtype > under the CSR ONE_REG interface. > > Signed-off-by: Anup Patel > --- > arch/riscv/include/uapi/asm/kvm.h | 8 ++++++++ > arch/riscv/kvm/vcpu.c | 8 ++++++++ > 2 files changed, 16 insertions(+) > Reviewed-by: Andrew Jones