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

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

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

2012-09-05 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

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

2012-09-05 Thread Ingo Molnar
* Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com 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-09-05 Thread Peter Zijlstra
On Wed, 2012-09-05 at 08:35 +0200, Ingo Molnar wrote: * Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com 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

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

2012-09-05 Thread Ingo Molnar
* Peter Zijlstra a.p.zijls...@chello.nl wrote: On Wed, 2012-09-05 at 08:35 +0200, Ingo Molnar wrote: * Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com Initializing uncore PMU on virtualized CPU may hang the kernel. This is because kvm does not

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 zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com Initializing uncore PMU on virtualized CPU may hang the kernel. This is because kvm does not emulate the entire hardware. Thers are lots of

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

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 zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com 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

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

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

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.

[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,

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

2012-08-21 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com 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.

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 zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com 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

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 zheng.z@intel.com 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

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 zheng.z@intel.com 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