Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751495AbbHGJGF (ORCPT ); Fri, 7 Aug 2015 05:06:05 -0400 Received: from casper.infradead.org ([85.118.1.10]:48871 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbbHGJGB (ORCPT ); Fri, 7 Aug 2015 05:06:01 -0400 Date: Fri, 7 Aug 2015 11:05:53 +0200 From: Peter Zijlstra To: "Liang, Kan" Cc: Matthew Leach , Ingo Molnar , "linux-kernel@vger.kernel.org" , "linux-ia64@vger.kernel.org" , "eranian@google.com" , "'Andi Kleen'" , "'Bjorn Helgaas'" , "'Vince Weaver'" , "'Sonny Rao'" Subject: Re: [BUG]: Intel uncore boot warning introduced in 4.1 Message-ID: <20150807090553.GC16853@twins.programming.kicks-ass.net> References: <1438853676.3139.20.camel@mattleach.net> <87bneko0o5.fsf@mattleach.net> <37D7C6CF3E00A74B8858931C1DB2F077018D32C2@SHSMSX103.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37D7C6CF3E00A74B8858931C1DB2F077018D32C2@SHSMSX103.ccr.corp.intel.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1388 Lines: 36 On Thu, Aug 06, 2015 at 06:10:40PM +0000, Liang, Kan wrote: > The issue may be caused by uncore box initialization. > > For preventing the potential issues of uncore box initialization, I once > moved the uncore_box_init() out of driver initialization in commit > c05199e5a57a579fea1e8fa65e2b511ceb524ffc. > > However, it cause some desktop crash, because the box initialization > codes were moved in IPI context. > > For fixing the crash issue, we had two choice at that time. > - Simply revert the codes. That's where is > 15c1247953e8a45232ed5a5540f291d2d0a77665 from. > - Move uncore_box_init out of IPI context to uncore event > init. I provided a patch for it. https://lkml.org/lkml/2015/4/28/21 > Stephane Eranian also verified it on his platform > > At that time, we chose first option. But it looks there is some > issue now. I guess we may try the second option this time. > > Matthew, > > Could you please revert > 15c1247953e8a45232ed5a5540f291d2d0a77665 > and apply the patch https://lkml.org/lkml/2015/4/26/294? > See if it works? That patch is wrong though; how can even publish a PMU which is not initialized? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/