* [PATCH] mshv: Fix VpRootDispatchThreadBlocked value
@ 2025-10-14 18:20 Nuno Das Neves
2025-10-14 22:58 ` Wei Liu
0 siblings, 1 reply; 2+ messages in thread
From: Nuno Das Neves @ 2025-10-14 18:20 UTC (permalink / raw)
To: linux-hyperv, linux-kernel
Cc: kys, haiyangz, wei.liu, decui, skinsburskii, mhklinux,
Nuno Das Neves
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@linux.microsoft.com>
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] mshv: Fix VpRootDispatchThreadBlocked value
2025-10-14 18:20 [PATCH] mshv: Fix VpRootDispatchThreadBlocked value Nuno Das Neves
@ 2025-10-14 22:58 ` Wei Liu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2025-10-14 22:58 UTC (permalink / raw)
To: Nuno Das Neves
Cc: linux-hyperv, linux-kernel, kys, haiyangz, wei.liu, decui,
skinsburskii, mhklinux
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@linux.microsoft.com>
> Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-14 22:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-14 18:20 [PATCH] mshv: Fix VpRootDispatchThreadBlocked value Nuno Das Neves
2025-10-14 22:58 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).