Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753090AbbGBPgi (ORCPT ); Thu, 2 Jul 2015 11:36:38 -0400 Received: from mail-ig0-f171.google.com ([209.85.213.171]:38009 "EHLO mail-ig0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752784AbbGBPg3 (ORCPT ); Thu, 2 Jul 2015 11:36:29 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Thu, 2 Jul 2015 11:42:43 -0400 (EDT) To: linux-kernel@vger.kernel.org cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian Subject: perf: fuzzer, lots of warnings Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3547 Lines: 74 So this does seem to have gotten worse with 4.2-rc0. Four warnings are triggered more or less immediately after starting fuzzing. (#1) WARNING: CPU: 0 PID: 32434 at arch/x86/kernel/cpu/perf_event.c:1219 x86_pmu_start+0xaa/0x100() if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) [ 224.158535] [] x86_pmu_start+0xaa/0x100 [ 224.164401] [] perf_ioctl+0x429/0x470 [ 224.170101] [] do_vfs_ioctl+0x2ba/0x4a0 [ 224.176012] [] ? mntput+0x24/0x40 [ 224.181343] [] ? __fput+0x17a/0x1e0 [ 224.186858] [] SyS_ioctl+0x79/0x90 [ 224.192275] [] entry_SYSCALL_64_fastpath+0x16/0x7a (#2) [ 584.352324] WARNING: CPU: 2 PID: 18924 at arch/x86/kernel/cpu/perf_event_intel_ds.c:1198 intel_pmu_drain_pebs_nhm+0x283/0x2e0() (this one was described in a previous e-mail) (#3) [ 1210.501445] WARNING: CPU: 6 PID: 0 at arch/x86/kernel/cpu/perf_event.c:1307 x86_pmu_stop+0xb8/0xd0() WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); [ 1210.653328] [] x86_pmu_stop+0xb8/0xd0 [ 1210.659466] [] x86_pmu_del+0x46/0x140 [ 1210.665607] [] event_sched_out.isra.80+0x124/0x320 [ 1210.672924] [] ? __perf_event_disable+0x53/0x130 [ 1210.680097] [] group_sched_out+0x48/0xc0 [ 1210.686530] [] ? native_sched_clock+0x28/0x90 [ 1210.693445] [] __perf_event_disable+0xfe/0x130 [ 1210.700408] [] ? cpu_clock_event_start+0x40/0x40 [ 1210.707550] [] remote_function+0x42/0x50 [ 1210.713942] [] flush_smp_call_function_queue+0x7b/0x170 [ 1210.721762] [] generic_smp_call_function_single_interrupt+0x13/0x60 [ 1210.730679] [] smp_trace_call_function_single_interrupt+0x38/0xb0 [ 1210.739467] [] trace_call_function_single_interrupt+0x6b/0x70 [ 1210.747820] [] ? cpuidle_enter_state+0xf4/0x220 [ 1210.755614] [] ? cpuidle_enter_state+0xd0/0x220 [ 1210.762708] [] cpuidle_enter+0x17/0x20 [ 1210.768966] [] call_cpuidle+0x3b/0x70 [ 1210.775135] [] ? cpuidle_select+0x13/0x20 [ 1210.781637] [] cpu_startup_entry+0x245/0x310 [ 1210.788411] [] start_secondary+0x120/0x130 (#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 -- 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/