Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753151AbcCJQKK (ORCPT ); Thu, 10 Mar 2016 11:10:10 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:35771 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574AbcCJQKG (ORCPT ); Thu, 10 Mar 2016 11:10:06 -0500 MIME-Version: 1.0 In-Reply-To: <20160310135343.GL6375@twins.programming.kicks-ass.net> References: <1457034642-21837-1-git-send-email-eranian@google.com> <1457034642-21837-3-git-send-email-eranian@google.com> <20160303214312.GI23621@tassilo.jf.intel.com> <20160307102413.GB6356@twins.programming.kicks-ass.net> <20160307121840.GF6375@twins.programming.kicks-ass.net> <20160310135343.GL6375@twins.programming.kicks-ass.net> Date: Thu, 10 Mar 2016 08:10:03 -0800 Message-ID: Subject: Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW From: Stephane Eranian To: Peter Zijlstra Cc: Andi Kleen , LKML , Arnaldo Carvalho de Melo , "mingo@elte.hu" , "Liang, Kan" , Jiri Olsa , Namhyung Kim , Adrian Hunter Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 30 On Thu, Mar 10, 2016 at 5:53 AM, Peter Zijlstra wrote: > On Mon, Mar 07, 2016 at 01:18:40PM +0100, Peter Zijlstra wrote: >> On Mon, Mar 07, 2016 at 11:24:13AM +0100, Peter Zijlstra wrote: >> >> > I suspect Andi is having something along: >> > >> > lkml.kernel.org/r/1445458568-16956-1-git-send-email-andi@firstfloor.org >> > >> > applied to his tree. >> >> OK, I munged a bunch of patches together, please have a hard look at the >> end result found in: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core > > So while running tip/master I just triggered the "irq loop stuck" warn > on my IVB, with status==1, and PMC0 didn't look weird at all. > > I've not seen that for a fair while. But it does show it still happens > on not quite antique hardware. Yes, as I said, tip.git is missing something, with Andi's missing 3 patches I do not get that. But with them, I was getting the problem I described earlier, so I just posted a patch to handle that particular case where bit 62 is not set, yet PEBS counters show overflow. Test it. Thanks.