Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4031697yba; Tue, 9 Apr 2019 09:39:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTAUMNPsXLTtmjTdoEmAnacLruRbOb+H9VFeNMUw+dNcBX9w3qI7BMIbyr+CvMGEk6iCvI X-Received: by 2002:a63:4b21:: with SMTP id y33mr36148247pga.37.1554827974332; Tue, 09 Apr 2019 09:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554827974; cv=none; d=google.com; s=arc-20160816; b=gDDOOu8BqCU/YkipakKHNZEro5QfJZPcDhyvaagYFzeCIoC+VwugJRxZCyH5Age2EP O2twtCALBtjuzwebqiKo9ZIW6p9MCAaOfBU5kxagAWl1FX2vcJhSe8m/qPfTJLQiGaMy HLXrrjzNUTQfjRn5KBjrOR1G/ICKM7cLjq6IAb+LoGSt9JtcLWtVTlbniXHaIsWElJbx EfhfniH+XQP88SL0osNXIanBOq2kVZMXcZQG9On2rXdtc4tgBxi/kaJRlCGWuezHSjtC gEtf1paRw8TBIv/3HOscCKprmczKLgSVkoLxL0xSTIxOPXvE93ryjlqpbtM/nYBFGCXM XGVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature; bh=TygSzTJ+I/CEp5Mg1tpP59nPmXk+fXHFoMxmiRUysyM=; b=v3h2vR8hdxCTl4JI6RhojmhNcWQHNMWEu+JikJ/Ztab/cojYfGHeOwL2yP6HLm9rvS sH3UGp395SuMzSgO+BTKS86m1ElxxRUe+Gd00ubptuJTViuPHjSgdgCOwnfukhL0V5fF EA+3suNCRCxTsWml8ZJFQxsYn5J5iNSl65XzCLkOJ5by/+TAq5OzkCiCOwNIpRBLZnFi 68eGMWfPx+p383byPj++6WBfRNzCpbfqk6WIK7M0IiRu4vQEtmBPVas2w/3JlnJy3bPw fkUNxOLSZHSnAqajyarIgEOGpO06UkA90CJIp0RoUPAklpHH3Ou+1PhUAw1Jj3HBQt/Z mNDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=JQNFumXC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a82si17209808pfj.255.2019.04.09.09.39.17; Tue, 09 Apr 2019 09:39:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=JQNFumXC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726582AbfDIQic (ORCPT + 99 others); Tue, 9 Apr 2019 12:38:32 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:39558 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726493AbfDIQic (ORCPT ); Tue, 9 Apr 2019 12:38:32 -0400 Received: by mail-qt1-f194.google.com with SMTP id t28so20544284qte.6 for ; Tue, 09 Apr 2019 09:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=TygSzTJ+I/CEp5Mg1tpP59nPmXk+fXHFoMxmiRUysyM=; b=JQNFumXCfRo/hz/ku/JRPbbR0nKnmcT+L5xWQemqh7s0rFh8Dd6pkKg6baQ32ZfXTC FLWfIfzZeMSpUIQZIMOpd3m2VrdLFO4DcQcafceu8ZAOXHrBMFcyhaiqT1pLEvveBen1 wBjnhs1QiOPgAwofwc5wEpPH7WBNqAnWgT5nM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=TygSzTJ+I/CEp5Mg1tpP59nPmXk+fXHFoMxmiRUysyM=; b=kBjQ4/0HqdUc81wPRBzp3xZ8Zs847fFdKyOyrJg6TYRVQKaeVOBzBv9uwkxS4tc9Xh c//DEtZukV6pWrRQtFhKNi5u/3Nl1L88Spopb1WrgSnlDRFE704aNTlo9pph3woduQLv fVtw+5r8JLxx+j31mohuol7sL/YcIAsS/uPYToCn9eBTWWDBv6irZLFWhXtvLxXm3fYz zX76zqOLe7hBffo90uLn4IS17yb07CckY7HEE5NCTYW5D7ECbKWzBPP+Tx8Dmtuf2/bl 6cMVyPMCUMtmjdrDGJ0IzeNuloqAKkZOCnbUNOwadjMAYidR5lNfxVXQUg/eys5Rwhck d9oA== X-Gm-Message-State: APjAAAWnSt2UtdCorfDEpAWs/PHcnWx8bZxxKwDZquH9OqXkm4Qtt0Ei 4i7n8iL0dxufxixUzMvfiW2pwg== X-Received: by 2002:aed:23b4:: with SMTP id j49mr30593955qtc.175.1554827911030; Tue, 09 Apr 2019 09:38:31 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id c207sm17799868qkg.14.2019.04.09.09.38.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 09:38:29 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Tue, 9 Apr 2019 12:38:25 -0400 (EDT) X-X-Sender: vince@macbook-air To: Cyrill Gorcunov cc: Vince Weaver , Peter Zijlstra , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Alexander Shishkin , Ingo Molnar , Borislav Petkov , Namhyung Kim , Thomas Gleixner , Jiri Olsa , Stephane Eranian Subject: Re: perf: perf_fuzzer crashes on Pentium 4 systems In-Reply-To: <20190407202055.GX1421@uranus.lan> Message-ID: References: <20190403191944.GH1421@uranus.lan> <20190403203144.GI1421@uranus.lan> <20190404133327.GP1421@uranus.lan> <20190404164700.GR1421@uranus.lan> <20190404202038.GT1421@uranus.lan> <20190407202055.GX1421@uranus.lan> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 7 Apr 2019, Cyrill Gorcunov wrote: > Vince, could you please disable alias events and see if it change > anything, once you have time? Note once we've aliases disabled the > counter for cpu cycles get used for NMI watchdog so PERF_COUNT_HW_CPU_CYCLES > won't be available in "perf" tool itself, but I guess perf_fuzzer uses > direct kernel syscall. > --- > arch/x86/events/intel/p4.c | 2 ++ > 1 file changed, 2 insertions(+) > > Index: linux-tip.git/arch/x86/events/intel/p4.c > =================================================================== > --- linux-tip.git.orig/arch/x86/events/intel/p4.c > +++ linux-tip.git/arch/x86/events/intel/p4.c > @@ -622,6 +622,8 @@ static u64 p4_get_alias_event(u64 config > u64 config_match; > int i; > > + return 0; > + > /* > * Only event with special mark is allowed, > * we're to be sure it didn't come as malformed > It still crashes at the same place with this patch and my reproducible test case. Vince