mshv: Fix VpRootDispatchThreadBlocked value
Subsystems (2)
PATCH 1/1 mshv: Fix VpRootDispatchThreadBlocked value
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 <[email protected]>
Signed-off-by Nuno Das Neves <[email protected]>
--- drivers/hv/mshv_root_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hv/mshv_root_main.c +1 -1
@@ -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
Signature · 1 line
2.34.1
Quoted 9 lines · 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 <[email protected]>Signed-off-by Nuno Das Neves <[email protected]>
Applied to hyperv-fixes. Thanks.
Quoted 20 lines
--- drivers/hv/mshv_root_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hv/mshv_root_main.c +1
-1@@ -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 Signature · 1 line
2.34.1