mirror of https://gitee.com/openkylin/linux.git
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: 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>
This commit is contained in:
parent
ecb23dc6f2
commit
6ab9507ed9
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue