Skip to content

Commit 97d9f1c

Browse files
olafheringliuw
authored andcommitted
x86: hyperv: report value of misc_features
A few kernel features depend on ms_hyperv.misc_features, but unlike its siblings ->features and ->hints, the value was never reported during boot. Signed-off-by: Olaf Hering <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent 3e0d377 commit 97d9f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/kernel/cpu/mshyperv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ static void __init ms_hyperv_init_platform(void)
227227
ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES);
228228
ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO);
229229

230-
pr_info("Hyper-V: features 0x%x, hints 0x%x\n",
231-
ms_hyperv.features, ms_hyperv.hints);
230+
pr_info("Hyper-V: features 0x%x, hints 0x%x, misc 0x%x\n",
231+
ms_hyperv.features, ms_hyperv.hints, ms_hyperv.misc_features);
232232

233233
ms_hyperv.max_vp_index = cpuid_eax(HYPERV_CPUID_IMPLEMENT_LIMITS);
234234
ms_hyperv.max_lp_index = cpuid_ebx(HYPERV_CPUID_IMPLEMENT_LIMITS);

0 commit comments

Comments
 (0)