From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: perf uncore & lkvm woes Date: Thu, 16 Aug 2012 11:46:06 +0400 Message-ID: <20120816074606.GC32081@moon> References: <1345101585.31459.112.camel@twins> <502CA368.8050404@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Yan, Zheng" , Peter Zijlstra , Sasha Levin , Asias He , Ingo Molnar , KVM General , Avi Kivity To: Pekka Enberg Return-path: Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:52625 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753340Ab2HPHqK (ORCPT ); Thu, 16 Aug 2012 03:46:10 -0400 Received: by lagy9 with SMTP id y9so1301122lag.19 for ; Thu, 16 Aug 2012 00:46:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Aug 16, 2012 at 10:41:53AM +0300, Pekka Enberg wrote: > 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. > > On Thu, Aug 16, 2012 at 10:38 AM, Yan, Zheng > wrote: > > The Intel uncore doc does not specify how to check if uncore exist. > > How about disabling uncore on virtualized CPU? > > (CC'ing Avi.) Why not simply add bootline option for that? Would it be acceptible? Cyrill