Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9491734rwr; Thu, 11 May 2023 16:10:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5HRXPZJ7p4Cp0frjm112qBB0mGR8j5a0KLFSM6y0VyLqFlhP1BvCS2XIdlrkLQEEo9rHd0 X-Received: by 2002:a05:6a21:9011:b0:f2:bfe1:4867 with SMTP id tq17-20020a056a21901100b000f2bfe14867mr24074694pzb.17.1683846653353; Thu, 11 May 2023 16:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683846653; cv=none; d=google.com; s=arc-20160816; b=wgT7qjw3Ttuc5V0cKnKo1/o3XqHMDVDtQpDNrhnzMPTzDHitnK3bcTm9QQ4bKlSJi3 Ffm15zTmwExbSyknstoogK+ZzIRcwPpPlLWES0gRpGnE4REMG8fGm/XGYgpCM8ZipFvc ElqolhK56NY8Vi7ESkWtZK+aDRNaTunIrundB5vh6H6q2fubQk0rP5gZYtcZ838t1Njs cbjTg2aIG89gPd//JHm9B1O5xtleK+KJ4ySBeefIaGOBV6ZeQDtP/yzbkxfSWjO6iJ70 Ay4dDMm+8zR3kYZaDFwrtl+P3pXjRZ8Qh2MsZiQDJtEgOkICGvM2vo8dKDUeSuE8k081 Xb1g== 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=rOH5f9jhgIQOxgpJ7gvL6+asAZ61e4aqc8BMhuV/e7w=; b=IY8W9/HbaiImpqrE4tI3xQgygNcO6JJL5RWjefOErpimj+iFI9/l/BaCUaLcwyxMQI Ss9BjfMYnZtPdOeAOBBOQxN9IrVEuDXXw5HthxkPKPIJTyay3Atb0aAYLOGk34haW1Dh nPVn9uGQmnkk8QALwdyH1Ywhr/M4ei4U9mLDrWdN7+rk9IWqI5XLBeiqvUgGjIq2gZbs N4YLMJNU45FQsqXFxaClDx1ss0aWJq/47Z299mCJ5H5PfylmG83sOxtbyFE7rTvRpe3i HHtYINJR/jleafbULDlJHZu5GRpDJKH0mhpfp8U9wdZ9SuoJ4ELVvBADMqL8GT55OQNm 43WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GRFgn1kC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p22-20020a639516000000b005302f7ec8c4si7953911pgd.845.2023.05.11.16.10.38; Thu, 11 May 2023 16:10:53 -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=@kernel.org header.s=k20201202 header.b=GRFgn1kC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239533AbjEKWsR (ORCPT + 99 others); Thu, 11 May 2023 18:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238254AbjEKWsP (ORCPT ); Thu, 11 May 2023 18:48:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06A94496; Thu, 11 May 2023 15:48:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 67E5D6523A; Thu, 11 May 2023 22:48:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 827DEC433EF; Thu, 11 May 2023 22:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683845293; bh=rOH5f9jhgIQOxgpJ7gvL6+asAZ61e4aqc8BMhuV/e7w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GRFgn1kCkG+kTaqkSZD4uqu/lNM4l/xANFvMls4AiGgfWP6ZnvFC5NLld4Vs5Bc0Q Uu4spvSUS9LWhPzXYB1XuGUgYaHNSM/cQGzoH6E/C80QvPUs2qH0L8ttSF+/I6aBK1 J+7JAll49Zrbw52iO6niwiYqQalk42Ut1XNeGHXDWHDW7fHlbntWSoLXpo9hPzlx3P 4/Yu0CRgDOHw2APPp5u/ayBlkaVHzLrVXYoXRBodIZSggId0JODS8/VXySVL0x3c/Y PETM1L0yIurMZgMqbW3LR4iphVQyWfMzeE14/NIPNo51uInGfJiIetfrikF95AukSP M9ezDqy0jqLAw== Date: Thu, 11 May 2023 23:48:08 +0100 From: Conor Dooley To: Haibo Xu Cc: xiaobo55x@gmail.com, ajones@ventanamicro.com, Paolo Bonzini , Jonathan Corbet , Anup Patel , Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , Shuah Khan , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/2] riscv: kvm: Add KVM_GET_REG_LIST API support Message-ID: <20230511-leverage-backspin-34bcde885006@spud> References: <921fc2e1a91887170e277acb1b52df57480a5736.1683791148.git.haibo1.xu@intel.com> <20230511-boozy-comic-5bc8f297dc8e@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KynvZX22npN01eSI" Content-Disposition: inline In-Reply-To: <20230511-boozy-comic-5bc8f297dc8e@spud> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --KynvZX22npN01eSI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 11, 2023 at 11:25:41PM +0100, Conor Dooley wrote: > On Thu, May 11, 2023 at 05:22:48PM +0800, Haibo Xu wrote: > > KVM_GET_REG_LIST API will return all registers that are available to > > KVM_GET/SET_ONE_REG APIs. It's very useful to identify some platform > > regression issue during VM migration. > >=20 > > Since this API was already supported on arm64, it'd be straightforward > > to enable it on riscv with similar code structure. >=20 > Applied on top of v6.4-rc1 this breaks the build :/ I lied, I forgot W=3D1 is enabled for the allmodconfig builds in the patchwork automation. The warnings are trivial to fix, so you should fix them anyway! > warning: Function parameter or member 'vcpu' not described in 'kvm_riscv_= vcpu_num_regs' > warning: Function parameter or member 'uindices' not described in 'kvm_ri= scv_vcpu_copy_reg_indices' > warning: Function parameter or member 'vcpu' not described in 'kvm_riscv_= vcpu_copy_reg_indices' >=20 > You have a bunch of kerneldoc comments (the ones with /**) that are not > valid kerneldoc. Apparently allmodconfig catches that! >=20 > Cheers, > Conor. --KynvZX22npN01eSI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZF1wpwAKCRB4tDGHoIJi 0oATAQD5EHTulvItTCXcBqe+kpBl82E5bTphHX2ZgHgnjZwK6wD+ID3b1Z7gRijz qKmRHxrIJcJtYMnnhHq33dgNdML1aAs= =wPq7 -----END PGP SIGNATURE----- --KynvZX22npN01eSI--