xen/PMU: Log VPMU initialization error at lower level
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 21 Jun 2016 14:17:33 +0000 (10:17 -0400)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 6 Jul 2016 09:34:48 +0000 (10:34 +0100)
This will match how PMU errors are reported at check_hw_exists()'s
msr_fail label, which is reached when VPMU initialzation fails.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/pmu.c

index 9466354d3e4962f14cdae33b09378a73f9c51a5d..32bdc2c902978517983a26a8f2161bb7f7f1ad2c 100644 (file)
@@ -547,7 +547,7 @@ void xen_pmu_init(int cpu)
        return;
 
 fail:
-       pr_warn_once("Could not initialize VPMU for cpu %d, error %d\n",
+       pr_info_once("Could not initialize VPMU for cpu %d, error %d\n",
                cpu, err);
        free_pages((unsigned long)xenpmu_data, 0);
 }