Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754159AbbGBTsV (ORCPT ); Thu, 2 Jul 2015 15:48:21 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:35312 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753519AbbGBTsN (ORCPT ); Thu, 2 Jul 2015 15:48:13 -0400 MIME-Version: 1.0 Reply-To: eranian@gmail.com In-Reply-To: References: <20150702164702.GA19282@twins.programming.kicks-ass.net> Date: Thu, 2 Jul 2015 21:48:12 +0200 Message-ID: Subject: Re: perf: fuzzer, lots of warnings From: Stephane Eranian To: Vince Weaver Cc: Peter Zijlstra , LKML , Ingo Molnar , Arnaldo Carvalho de Melo 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: 2058 Lines: 50 On Thu, Jul 2, 2015 at 7:59 PM, Vince Weaver wrote: > > On Thu, 2 Jul 2015, Peter Zijlstra wrote: > > > On Thu, Jul 02, 2015 at 11:42:43AM -0400, Vince Weaver wrote: > > > (#4) > > > > > > [ 1638.702578] WARNING: CPU: 2 PID: 25543 at arch/x86/kernel/cpu/perf_event_intel_lbr.c:349 intel_pmu_lbr_disable+0xbc/0xd0() > > > > > > WARN_ON_ONCE(cpuc->lbr_users < 0); > > > > > > [ 1638.857921] [] intel_pmu_lbr_disable+0xbc/0xd0 > > > [ 1638.864874] [] intel_pmu_disable_event+0xc2/0x130 > > > [ 1638.872125] [] ? __intel_pmu_disable_all+0x49/0x70 > > > [ 1638.879455] [] x86_pmu_stop+0x75/0xd0 > > > [ 1638.885560] [] perf_ioctl+0x40a/0x470 > > > [ 1638.891650] [] do_vfs_ioctl+0x2ba/0x4a0 > > > [ 1638.897945] [] ? vfs_read+0x11c/0x130 > > > [ 1638.904069] [] ? poll_select_set_timeout+0x4d/0x70 > > > [ 1638.911417] [] SyS_ioctl+0x79/0x90 > > > [ 1638.917295] [] entry_SYSCALL_64_fastpath+0x16/0x7a > > > > This might maybe help: > > > > http://lkml.kernel.org/r/20150624144750.GJ18673@twins.programming.kicks-ass.net > > ah, OK, I missed that one somehow. It would also explain the > > [ 3971.156004] Uhhuh. NMI received for unknown reason 21 on CPU 2. > [ 3971.162812] Do you have a strange power saving mode enabled? > [ 3971.169363] Dazed and confused, but trying to continue > > messages I am getting. > > > I'm also still getting a lot of > perfevents: irq loop stuck! Last I saw this was on WSM. I also suspect this may not happen if the event is only measured at the user level. > messages, I thought the workaround for that had gone in for 4.2 but I > guess not. > > Vince -- 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/