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:16:33 +0400 Message-ID: <20120816071633.GA1209@moon> References: <20120816070743.GB32081@moon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , Asias He , Ingo Molnar , Peter Zijlstra , KVM General To: Pekka Enberg Return-path: Received: from mail-lb0-f174.google.com ([209.85.217.174]:60122 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751606Ab2HPHQh (ORCPT ); Thu, 16 Aug 2012 03:16:37 -0400 Received: by lbbgj3 with SMTP id gj3so1315200lbb.19 for ; Thu, 16 Aug 2012 00:16:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120816070743.GB32081@moon> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Aug 16, 2012 at 11:07:43AM +0400, Cyrill Gorcunov wrote: > On Thu, Aug 16, 2012 at 10:01:58AM +0300, Pekka Enberg wrote: > > Hello, > > [ 0.248962] Pid: 0, comm: swapper/0 Not tainted 3.6.0-rc1+ #24 > > [penberg@tux ~]$ cat perf-kvmtool-issue > > Hello, > > > > 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. > > Hi, I guess some cpuid/msr bit is not cleared again ;) I'll take a look > once time permit. If only I'm not missing something we've two options 1) either tune up cpu model via cpuid interception in lkvm (which is bad I think) 2) provide some new kernel boot line option to not use unboxed pmu. Cyrill