From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBB2EC77B7C for ; Thu, 11 May 2023 22:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239096AbjEKWsR (ORCPT ); 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> Precedence: bulk List-ID: X-Mailing-List: linux-doc@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--