Commit 6ab9507e authored by Boris Ostrovsky's avatar Boris Ostrovsky Committed by David Vrabel

xen/PMU: Log VPMU initialization error at lower level

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: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent ecb23dc6
...@@ -547,7 +547,7 @@ void xen_pmu_init(int cpu) ...@@ -547,7 +547,7 @@ void xen_pmu_init(int cpu)
return; return;
fail: 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); cpu, err);
free_pages((unsigned long)xenpmu_data, 0); free_pages((unsigned long)xenpmu_data, 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment