Re: [PATCH] mshv: Fix VpRootDispatchThreadBlocked value

From: Wei Liu

Date: Tue Oct 14 2025 - 18:58:17 EST


On Tue, Oct 14, 2025 at 11:20:17AM -0700, Nuno Das Neves wrote:
> This value in the VP stats page is used to track if the VP can be
> dispatched for execution when there are no fast interrupts injected.
>
> The original value of 201 was used in a version of the hypervisor
> which did not ship. It was subsequently changed to 202 so that is the
> correct value.
>
> Signed-off-by: Stanislav Kinsburskii <skinsburskii@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx>

Applied to hyperv-fixes. Thanks.

> ---
> drivers/hv/mshv_root_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/mshv_root_main.c b/drivers/hv/mshv_root_main.c
> index e3b2bd417c46..8a42d9961466 100644
> --- a/drivers/hv/mshv_root_main.c
> +++ b/drivers/hv/mshv_root_main.c
> @@ -41,7 +41,7 @@ MODULE_DESCRIPTION("Microsoft Hyper-V root partition VMM interface /dev/mshv");
> /* TODO move this to another file when debugfs code is added */
> enum hv_stats_vp_counters { /* HV_THREAD_COUNTER */
> #if defined(CONFIG_X86)
> - VpRootDispatchThreadBlocked = 201,
> + VpRootDispatchThreadBlocked = 202,
> #elif defined(CONFIG_ARM64)
> VpRootDispatchThreadBlocked = 94,
> #endif
> --
> 2.34.1
>