]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mshv: Fix VpRootDispatchThreadBlocked value
authorNuno Das Neves <nunodasneves@linux.microsoft.com>
Tue, 14 Oct 2025 18:20:17 +0000 (11:20 -0700)
committerWei Liu <wei.liu@kernel.org>
Sat, 15 Nov 2025 06:18:14 +0000 (06:18 +0000)
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>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/mshv_root_main.c

index e3b2bd417c46405f27159080f7411035915697fc..8a42d996146666561f0b19587148d895f8feb496 100644 (file)
@@ -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