Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-09-05 Thread Andi Kleen
On Wed, Sep 05, 2012 at 08:35:24AM +0200, Ingo Molnar wrote: > > * Yan, Zheng wrote: > > > From: "Yan, Zheng" > > > > Initializing uncore PMU on virtualized CPU may hang the kernel. > > This is because kvm does not emulate the entire hardware. Thers > > are lots of uncore related MSRs, making

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-09-05 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, 2012-09-05 at 08:35 +0200, Ingo Molnar wrote: > > * Yan, Zheng wrote: > > > > > From: "Yan, Zheng" > > > > > > Initializing uncore PMU on virtualized CPU may hang the kernel. > > > This is because kvm does not emulate the entire hardware. Thers > > > are lot

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-09-05 Thread Peter Zijlstra
On Wed, 2012-09-05 at 08:35 +0200, Ingo Molnar wrote: > * Yan, Zheng wrote: > > > From: "Yan, Zheng" > > > > Initializing uncore PMU on virtualized CPU may hang the kernel. > > This is because kvm does not emulate the entire hardware. Thers > > are lots of uncore related MSRs, making kvm enumer

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-09-04 Thread Ingo Molnar
* Yan, Zheng wrote: > From: "Yan, Zheng" > > Initializing uncore PMU on virtualized CPU may hang the kernel. > This is because kvm does not emulate the entire hardware. Thers > are lots of uncore related MSRs, making kvm enumerate them all > is a non-trival task. So just disable uncore on virt

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-08-31 Thread Pekka Enberg
On Tue, Aug 21, 2012 at 12:08 PM, Yan, Zheng wrote: >> From: "Yan, Zheng" >> >> Initializing uncore PMU on virtualized CPU may hang the kernel. >> This is because kvm does not emulate the entire hardware. Thers >> are lots of uncore related MSRs, making kvm enumerate them all >> is a non-trival t

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-08-21 Thread Pekka Enberg
On Tue, Aug 21, 2012 at 05:08:37PM +0800, Yan, Zheng wrote: >> From: "Yan, Zheng" >> >> Initializing uncore PMU on virtualized CPU may hang the kernel. >> This is because kvm does not emulate the entire hardware. Thers >> are lots of uncore related MSRs, making kvm enumerate them all >> is a non-t

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-08-21 Thread Andi Kleen
On Tue, Aug 21, 2012 at 05:08:37PM +0800, Yan, Zheng wrote: > From: "Yan, Zheng" > > Initializing uncore PMU on virtualized CPU may hang the kernel. > This is because kvm does not emulate the entire hardware. Thers > are lots of uncore related MSRs, making kvm enumerate them all > is a non-trival

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-08-21 Thread Pekka Enberg
On Tue, Aug 21, 2012 at 12:08 PM, Yan, Zheng wrote: > From: "Yan, Zheng" > > Initializing uncore PMU on virtualized CPU may hang the kernel. > This is because kvm does not emulate the entire hardware. Thers > are lots of uncore related MSRs, making kvm enumerate them all > is a non-trival task. S

[PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-08-21 Thread Yan, Zheng
From: "Yan, Zheng" Initializing uncore PMU on virtualized CPU may hang the kernel. This is because kvm does not emulate the entire hardware. Thers are lots of uncore related MSRs, making kvm enumerate them all is a non-trival task. So just disable uncore on virtualized CPU. Signed-off-by: Yan, Z