Skip to contentSkip to conversation

x86/vpmu: Drop "VPMU: disabled" message

PATCH In review Andrew Cooper 2 participants 2 messages Sep 13, 2019 – Sep 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/vpmu: Drop "VPMU: disabled" message

Printing "$foo disabled" is unnecessary noise during boot. All other VPMU settings emit a message, so this doesn't result in any ambiguity.

---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>

---
 xen/arch/x86/cpu/vpmu.c | 3 ---
 1 file changed, 3 deletions(-)
xen/arch/x86/cpu/vpmu.c +0 -3
index 375599aca5..f397183ec3 100644
@@ -857,10 +857,7 @@ static int __init vpmu_init(void)
     int vendor = current_cpu_data.x86_vendor;
 
     if ( !opt_vpmu_enabled )
-    {
-        printk(XENLOG_INFO "VPMU: disabled\n");
         return 0;
-    }
 
     /* NMI watchdog uses LVTPC and HW counter */
     if ( opt_watchdog && opt_vpmu_enabled )
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel