Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9461277rwr; Thu, 11 May 2023 15:36:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RoBo48QD3RNrVcsNONX9hbPn5s3D0VMCg1Qe6gbKYSbS74f9Ec09x/wxnCXy5i4rH2aJo X-Received: by 2002:a05:6a20:7494:b0:102:19b9:25c7 with SMTP id p20-20020a056a20749400b0010219b925c7mr9521162pzd.6.1683844563365; Thu, 11 May 2023 15:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683844563; cv=none; d=google.com; s=arc-20160816; b=xfPYJGGxiwQbvzgDoeCy+8yc/eD0plZ86V/DCYp/S1mPdRRg3lhDLi0ak6T4hMvn5n pfh6gdDGe02GIfoOHDFlFMvRoA86z7DNeUqU9EsiJuMBUxfFf4GHWdYQqKuCGQyuJ1ix KF6nYV2HqwEgLczTUM6E7cRnXkWzu494tgGALkNHxNlFbClmWsfDR2+t7/Q9mAb3QSQM /JCswQLjYo4sDraGjQqkp5KTUKZrv/heoqu0KIhw1x9Mu49g1KzcQLlcZMiw6JhSYBEe RTrrIDSVUBSAdVPVh7kml/EF4XO4PfBzWsqlt2Gpxt+szMfSZxoVYJR31Lun5Zcoa8V/ dWWw== 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=ULMjF1ezqz7St5bBienNvAvCIvE4TfTmf4qQzCY13so=; b=NVTBVCbrhoH7llMj9EEaNNPk7VA1iYRqjvNuFBEponOp9+Dx03DnYI6HhGB5rQDEr7 icYYX9Y2BNkBA5ZfkTVLf/xeXR6aozzUIo3Z1hAvgmaJV/Di7Ppb4DYfs8OuePmHDhHZ aqZtmbq9VU0AqStGfDQbUx1qxwOj2nzfUwEV1uCY5p1QedFAXJQSg8E550iXB0ntAc/H 0vWrBOsKHYN7wb+KphGCGc5IlvOQjpuPAVwza5Gy87Mry14wfxLJbBPUgmLPzu0rrZyW 0bNctck+QENQF+6hWO8omAXS0GX2g9DXvlVdHgAJgckgeoLcxmlwHIlY4AuUanZexjJ3 uYRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U1RbWwzc; 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 j65-20020a638b44000000b0051b10b20ceasi8311690pge.893.2023.05.11.15.35.49; Thu, 11 May 2023 15:36:03 -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=U1RbWwzc; 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 S239281AbjEKWZu (ORCPT + 99 others); Thu, 11 May 2023 18:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231446AbjEKWZs (ORCPT ); Thu, 11 May 2023 18:25:48 -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 24DA33AB7; Thu, 11 May 2023 15:25:48 -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 9D56864FBB; Thu, 11 May 2023 22:25:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B72C6C433EF; Thu, 11 May 2023 22:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683843947; bh=ULMjF1ezqz7St5bBienNvAvCIvE4TfTmf4qQzCY13so=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U1RbWwzc6MezmvlRhRRnsO95dj3YkJq+62PP/cg5FMd8pWxUwNUsLntuUej2yq4KM xQNLHGFZ9tGMQyoxW7EKYCTO0HBldYt2xkhCBvjDliCDHJJgeJAzd1f4AjDQhcpG6Q ja4az/oPKzw4SHyTdqe6Avn+GWzA/+BGLsX6p/RPX49hIBo0t+owGFffsNTCuBzgJ5 6dcBeJVOAbm9tPxrqayleNlt8pmVLRJFfEzblYtRBD1SK4PQrho39rOInBII4u8pGa yVFJI1Ma76nGq+MaFpAAD/p5ZfIAgeVK54EY6T6OuQboHiQNlqOOHJU2lOCUKK/tbJ BYCQbCeuExJzA== Date: Thu, 11 May 2023 23:25:41 +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-boozy-comic-5bc8f297dc8e@spud> References: <921fc2e1a91887170e277acb1b52df57480a5736.1683791148.git.haibo1.xu@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LWGkwE7Vf2rchKRZ" Content-Disposition: inline In-Reply-To: <921fc2e1a91887170e277acb1b52df57480a5736.1683791148.git.haibo1.xu@intel.com> 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 --LWGkwE7Vf2rchKRZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Applied on top of v6.4-rc1 this breaks the build :/ warning: Function parameter or member 'vcpu' not described in 'kvm_riscv_vc= pu_num_regs' warning: Function parameter or member 'uindices' not described in 'kvm_risc= v_vcpu_copy_reg_indices' warning: Function parameter or member 'vcpu' not described in 'kvm_riscv_vc= pu_copy_reg_indices' You have a bunch of kerneldoc comments (the ones with /**) that are not valid kerneldoc. Apparently allmodconfig catches that! Cheers, Conor. --LWGkwE7Vf2rchKRZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZF1rZQAKCRB4tDGHoIJi 0usNAP0Ykfrz+puD2zn8HGUFz+2fk3qtGa/XYSypVrpgWvW7BgD/T7PlZYcevlSv hezVcWDYRkavqca+yLrT0grdcCTiBgI= =ARK0 -----END PGP SIGNATURE----- --LWGkwE7Vf2rchKRZ--