From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yan, Zheng" Subject: Re: perf uncore & lkvm woes Date: Thu, 16 Aug 2012 15:38:16 +0800 Message-ID: <502CA368.8050404@linux.intel.com> References: <1345101585.31459.112.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , Sasha Levin , Asias He , Cyrill Gorcunov , Ingo Molnar , KVM General To: Peter Zijlstra Return-path: Received: from mga09.intel.com ([134.134.136.24]:9684 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850Ab2HPHim (ORCPT ); Thu, 16 Aug 2012 03:38:42 -0400 In-Reply-To: <1345101585.31459.112.camel@twins> Sender: kvm-owner@vger.kernel.org List-ID: On 08/16/2012 03:19 PM, Peter Zijlstra wrote: > On Thu, 2012-08-16 at 10:01 +0300, Pekka Enberg wrote: >> Has anyone seen this? It's kvmtool/next with 3.6.0-rc1. Looks like we >> are doing uncore_init() on virtualized CPU which breaks boot. > > I think you're the first.. I don't normally use kvm if I can at all > avoid it. > > But I think its a 'simple' matter of kvm not emulating the entire > hardware. Afaik the uncore isn't enumerated and we simply assume MSR > presence based on cpu model. The Intel uncore doc does not specify how to check if uncore exist. How about disabling uncore on virtualized CPU? Regards Yan, Zheng