[Xen-devel] [PATCH] x86/vpmu: Drop "VPMU: disabled" message

Andrew Cooper posted 1 patch 4 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20190913161621.1120-1-andrew.cooper3@citrix.com
xen/arch/x86/cpu/vpmu.c | 3 ---
1 file changed, 3 deletions(-)
[Xen-devel] [PATCH] x86/vpmu: Drop "VPMU: disabled" message
Posted by Andrew Cooper 4 years, 7 months ago
Printing "$foo disabled" is unnecessary noise during boot.  All other VPMU
settings emit a message, so this doesn't result in any ambiguity.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wl@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
---
 xen/arch/x86/cpu/vpmu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/xen/arch/x86/cpu/vpmu.c b/xen/arch/x86/cpu/vpmu.c
index 375599aca5..f397183ec3 100644
--- a/xen/arch/x86/cpu/vpmu.c
+++ b/xen/arch/x86/cpu/vpmu.c
@@ -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 )
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] x86/vpmu: Drop "VPMU: disabled" message
Posted by Jan Beulich 4 years, 7 months ago
On 13.09.2019 18:16, Andrew Cooper wrote:
> Printing "$foo disabled" is unnecessary noise during boot.  All other VPMU
> settings emit a message, so this doesn't result in any ambiguity.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Jan Beulich <jbeulich@suse.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel