From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796354019; b=Ch9+FDYWalGfIyQg7HLp4GhAAZL695Hz4BG36uHfDCPp5EUNZmWQgUBlK3jMVtdlYxY7 5retJQB/QRJfeP7QIUV3hODKn5a20YYJ2BRMRS4SIjRCzNlONde8f/kORd3ap9GUQcuw/ hEtwUuBA7g0DtSwKFQj51a49nv9WYePe2gIlMvN4Ch3paomGunzLIoqPdN2q0UmhWVw44 Mqlgu2W84zxhUHA9/OGalxj3HYW6EPb6jqNIBpenRg7ZkKxmQ7fbMDIPbMmV4rsYBFFaN vjr70Q0RSB3AZUiACYTx6tUOJYsHteEUmuNcF1w2OdwzU17FBPW0TL028l6q3R3n4gw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796354019; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=kHHT4uk3hV1Pu7Atht7iqn0MpKg3rQfc7AfK9CgoT6A=; b=MjVdKNvHctlZli9h5Z+VJs+R29rrk/JE6as3viPGxyKecBeyQdKYFRM/eSJHNB2PNP1g F47NXNeEJLEdUSrhn2sa/12DPCibTBtLSDFL324l4TzaJ7XeY1LA2WpF/pWSgM3b/YKkO K2dytLgtjDA60bSLGgMka+CHTPfNIFpg0W1CAMRv+9yZ8ZFanha/DTteukKUluCYuxnQj ju+DcyWupqKrpVOF0nbJDYW17qKVm3k4lgdsByI2jd01KR7zlXYd0LGW5a4pR5XI8qgCp UyACfMmA1BS5ER/Tnq0sC40wgkL20mPBbmLcDuWhR9iytuyfczMy+4uN4QJSCWcQTow== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bjk1SbOv; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6973606A32D for ; Fri, 4 Dec 2026 03:13:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bjk1SbOv Received: by smtp.kernel.org (Postfix) with ESMTPSA id 717571F000C2; Fri, 4 Dec 2026 03:13:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796354019; bh=kHHT4uk3hV1Pu7Atht7iqn0MpKg3rQfc7AfK9CgoT6A=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=bjk1SbOvPfLzuR1ag4oo9hileWF3mi+QijSamWkjP9lHpNcgu9Fq816D+SpMMtX3L NiNNbPi/jhkMRWrsUvFqV7ACJF87qZnTf9hx1P/Q8TtaboGriQvNFOjFe+5mVke2VO Ss+sah+SZZ5SW79xbVszXSrksJa9IpzGEun8As8Wm+xM9RJD9LpZSTwC+6ZqfrY1by qNGNJEcsem24sobWXKlJyxj0s0zYG7j2JWPlzjAb+hncHFsqg/A0z4d0lyVviOul9k 5+ULubx1MnMW93UmK4GeFKda2zg413jQjqcyB2hZr+1Z6dLRNbuetVMeGtXUCm5yr/ KsQnhkxkw8+Tw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 2/3] Drivers: hv: Create REP_COUNT define Reply-To: sashiko-reviews@lists.linux.dev To: "Mukesh R" , linux-hyperv@vger.kernel.org In-Reply-To: <20261204025836.3855312-3-mrathor@linux.microsoft.com> References: <20261204025836.3855312-1-mrathor@linux.microsoft.com> <20261204025836.3855312-3-mrathor@linux.microsoft.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 03:13:38 +0000 X-Mailing-List: linux-hyperv@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] hv: commit message misstates REP_COUNT macro additions and usage -- commit d129b966732e944a64145e4d392d66acc76d0cf3 Author: Mukesh R Drivers: hv: Create REP_COUNT define This commit adds HV_HYPERCALL_REP_COUNT_OFFSET and HV_HYPERCALL_REP_COUNT_MASK for Hyper-V repeat hypercall inputs and updates kvm_hv_hypercall() and hv_do_rep_hypercall_ex() to use HV_HYPERCALL_REP_COUNT_OFFSET. > count is part of the input struct at same bits. However, the same > COMP_MASK is used to set it. This maybe confusing for anyone reading > the code. Add HV_HYPERCALL_REP_COUNT_MASK and use it for counts > instead of REP_COMP. [Severity: Low] Does the commit message accurately describe the macros added and updated here? hv_do_rep_hypercall_ex() and kvm_hv_hypercall() previously used HV_HYPERCALL_REP_COMP_OFFSET, not HV_HYPERCALL_REP_COMP_MASK (which is only used for output status in hv_repcomp()). This patch adds both HV_HYPERCALL_REP_COUNT_OFFSET and HV_HYPERCALL_REP_COUNT_MASK, and updates those two call sites to use HV_HYPERCALL_REP_COUNT_OFFSET rather than HV_HYPERCALL_REP_COUNT_MASK. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204025836.3855= 312-1-mrathor@linux.microsoft.com?part=3D2