Received: by 10.192.165.148 with SMTP id m20csp1287802imm; Sat, 5 May 2018 08:39:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqha/HnkPxzDf49bY9HEeSuXcaJcZp4s4wwu6YHopMzUdabuphRgigGtVT+YZWs2TTVSVrc X-Received: by 2002:a17:902:a4:: with SMTP id a33-v6mr8313587pla.346.1525534748194; Sat, 05 May 2018 08:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525534748; cv=none; d=google.com; s=arc-20160816; b=ppCvjBNwl2OffWA1vtFP/CUfI+npsQrXfS/SA950YBUtPG4JLFopCpp/A5oEIREUou 8MDOhBEwSLAtGGIsDu4bhDaECrjQQXCMvD6b8Efck7x65rSDcf/WX2SCCa8egJ0vHvVj K1/soF2x+pXc6VoBIuzZH1K3nBIBWlvigTIOXYENkgqsx13GiDzsmIGnEQPHx5cMteO7 wYZtlc6ObFa3pei4cCNYyqTvHtEPksCKwTYBnKX18urYZ2cZl3J68V/6Zs4WU0oHzGFW A19fYko/sSEnSiiFXHPL4COxAlPTvNP1KSUl6MO7x+jWkT2Qpw0UlrCW65o6noG1LzZQ ijcA== 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 :arc-authentication-results; bh=Lr0AVPQDRhwjYbtf4mo4g/FfDB7qpo47F2IyfsT3PNM=; b=JCIeMBAjIOhAVNaq/ePXeLRbqGFaNMMXIiufQlNaOUC/rfm6ZuYky4Bk5mtky5I40I E0CtRVtYAYb2S8DSqUfw35uB3VuGFC5QELn+omJuDvfhm+aSC2sbY+tePJyEcSB/W5Gn /PQM1O9cY6NqFAEM1dAblzRCzrPdyZbq/u1OnZCZ2Q+Q3oWeNRYFUueHOtnj7Jfjb/AE vh8peCH8k1b1jg+1do1TmUzx2Nikvh6pJsvFiMtFLM3TBfoXeLGfUCLNPQDaUb3MF/TO FuENXIPbJRTtFRpNjh1mJ/7J7/8yrWW/iBHAKSAQGx4tJnnyRmtimt9I6vZEFmpW7QFj sJZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=M0TDMBF5; 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 e98-v6si18144082plb.273.2018.05.05.08.38.34; Sat, 05 May 2018 08:39:08 -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=M0TDMBF5; 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 S1751376AbeEEPiX (ORCPT + 99 others); Sat, 5 May 2018 11:38:23 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:33369 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbeEEPiW (ORCPT ); Sat, 5 May 2018 11:38:22 -0400 Received: by mail-qt0-f196.google.com with SMTP id e8-v6so26291319qth.0 for ; Sat, 05 May 2018 08:38:22 -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=Lr0AVPQDRhwjYbtf4mo4g/FfDB7qpo47F2IyfsT3PNM=; b=M0TDMBF5oCXkNMNrGA7my3qStIr211THK276SKh6IQ71yA6eL6HUFuB2EM5nEWYoYT BizZeomnMh3Brw55fn6o6Hu4klAsw3/8WqpHZ8/IPn8ijhJz3SuaJucTaoe6/Yie3fOC ae0GKBpiJsf1WC8smZE1KBxKl+nwXQOzjUvJY= 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=Lr0AVPQDRhwjYbtf4mo4g/FfDB7qpo47F2IyfsT3PNM=; b=WQcNTpTU/x2tAGWcveZu/aDlLQJxYFhBjLblELIlQcP3mIcccaF+XV/Y6u1PbBy87r CP1o+oplCxdCwGvPLCX8vnq2exVk9gaGWhZkxVM6GwkdLjaOreBn5fYIgLscgKdnf7uN 8IrdRoDKeO1CQ0YbK6V8U6bRt3BBEOMDPvzIFmmjB/a/P5sKOVz/aeJ0tkQX9cDPBkqW OIc6UzPSBnkKXJeUSgu3B/2Pwc+cnnpdJzQi2AjBwY9s+fR7/fmtKxpYmtaiuf1wWjgl yXdqutuey6q9PV1MMpTcodn8+V7k/kdukSQL5VXLyN2wodrWkOJ5LUlixmwY2r3kN7CS mdOA== X-Gm-Message-State: ALQs6tAWguOPCMj5G4cLCvTtB9F6LYgOoVAzTNGrDmpMm1MrHb9HLUCw q2GrdPS3SAPfTLiEtszZsedcrNWu X-Received: by 2002:ac8:4583:: with SMTP id l3-v6mr26294415qtn.247.1525534701797; Sat, 05 May 2018 08:38:21 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id a47-v6sm17984410qta.17.2018.05.05.08.38.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 05 May 2018 08:38:20 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Sat, 5 May 2018 11:38:16 -0400 (EDT) X-X-Sender: vince@macbook-air To: Josh Poimboeuf cc: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Thomas Gleixner , Andy Lutomirski Subject: Re: perf: fuzzer causes stack going in wrong direction warnings In-Reply-To: <20180504162557.iodmglq3duomz6c2@treble> Message-ID: References: <20180109170716.bqmexpmywwr4bwuv@treble> <20180111052538.2qhj6oxnc24xumhk@treble> <20180111192112.d35nkotzklicd27c@treble> <20180501135850.enx4waqd5d7yowlj@treble> <20180501220458.p3rgwzh3jcqt4jmm@treble> <20180502205009.codkvscnh4j4hm6b@treble> <20180504162557.iodmglq3duomz6c2@treble> 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 Fri, 4 May 2018, Josh Poimboeuf wrote: > > The 'nmi_restore' warning points to a bug in my patch, but the others > are head scratchers. Here's a patch which combines the first two > patches, plus improves the existing warnings a bit. Can you try it? with that updated patch I hit May 4 21:51:20 haswell kernel: [19245.450607] WARNING: stack recursion on stack type 2 May 4 22:21:29 haswell kernel: [21055.268717] WARNING: can't dereference registers at 000000006546ba71 for ip ret_from_intr+0x6/0x1d May 4 22:36:22 haswell kernel: [21948.106762] WARNING: stack going in the wrong direction? ip=native_sched_clock+0xe/0x90 May 4 22:36:22 haswell kernel: [21948.115377] WARNING: stack going in the wrong direction? ip=native_sched_clock+0xe/0x90 May 4 22:36:22 haswell kernel: [21948.124086] WARNING: stack going in the wrong direction? ip=native_sched_clock+0xd/0x90 May 4 22:36:22 haswell kernel: [21948.124088] WARNING: stack going in the wrong direction? ip=intel_pmu_handle_irq+0x12/0x4a0 May 4 22:36:22 haswell kernel: [21948.124097] WARNING: stack going in the wrong direction? ip=native_sched_clock+0xe/0x90 May 4 22:36:22 haswell kernel: [21948.150189] WARNING: stack going in the wrong direction? ip=native_sched_clock+0xe/0x90 May 4 22:36:22 haswell kernel: [21948.150199] WARNING: stack going in the wrong direction? ip=intel_pmu_handle_irq+0xe/0x4a0 the last bit repeated for a few minutes (flooding the log with a few thousand entries that look mostly similar) Vince