Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1690647ybb; Thu, 9 Apr 2020 07:15:43 -0700 (PDT) X-Google-Smtp-Source: APiQypIM7WU3vI9SynE4Z/cZIeeKlS3wnhoRwut3JPvpyj/Huw803Kn9b7EDfDB/+mPYqdKc3kdj X-Received: by 2002:ad4:5544:: with SMTP id v4mr204201qvy.53.1586441743717; Thu, 09 Apr 2020 07:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586441743; cv=none; d=google.com; s=arc-20160816; b=LO4UL4aCOF0qQ/I0ldkjPm/rVhTTBeOOf9kXOWMOuGeVhAXuduNSBtvemV5QIA9C11 RxQ/yRMrO+z4rM0+D9/NZc2hqTA1wN/3rfletJJMsHfMFjT7QM7R6t/MRobUGMGjX0WC PHWD0VGpypmXuAoXTSlSa88QX6SnYni6phfVwPDGRWf3p5bMrtBmB5K1g/tq9RbCKNYL 7GAWiXsegGAER/q0u6Bqbdv2UNicN6xDfjZBHt/oxsmXDrX5bquWZZYvAJr20eHthnAp k2ihxr56M/7rabeqVn0r5QH3TYA/OTMSSvrwnuV8vVmLknsITHTsvwABmqs1yG7d5BAF 5QUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=AaC0Fgn7K3G0EaPoJmXW1zsgGD28ALkrLRUJbq81mmc=; b=mROkfFKNOHm/S+PlGzQDpXHNjgJLmUe01wVOILpUd/yHY+IyT4HeBPrv3BhQ5aho1r LX3jOJ+tOH6fqhWv+gaiqapsrQJEtDmfMK54R7SnoTKlc47TV/4dKYMygag8K37tBAi+ HBLgUcVwdxdSGvlj4JRMRTCrSCDSc7yTU3owWg/y35PQ1n6G167DVVExxk+zW9kchoE0 qygG/OOQO/pfD8YH1j483D/9uHN8T30AOPR3GtAxkqYboUY1deJs/XeUte5nCI3SbZS4 qP4xrncSe5epzJxuzVO4pQa+U2MAZ86lieWtcGu89GUZeTh6/XRMmxJittISiKyY9NHA HzDA== ARC-Authentication-Results: i=1; mx.google.com; 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 l13si5503042qtq.394.2020.04.09.07.15.28; Thu, 09 Apr 2020 07:15:43 -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; 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 S1727614AbgDIOOQ convert rfc822-to-8bit (ORCPT + 99 others); Thu, 9 Apr 2020 10:14:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:37220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727526AbgDIOOP (ORCPT ); Thu, 9 Apr 2020 10:14:15 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9C2212083E; Thu, 9 Apr 2020 14:14:14 +0000 (UTC) Date: Thu, 9 Apr 2020 10:14:13 -0400 From: Steven Rostedt To: Qian Cai Cc: Michael Ellerman , Nicholas Piggin , linuxppc-dev , LKML Subject: Re: Linux-next POWER9 NULL pointer NIP since 1st Apr. Message-ID: <20200409101413.35d9c72d@gandalf.local.home> In-Reply-To: References: <15AC5B0E-A221-4B8C-9039-FA96B8EF7C88@lca.pw> <87eeszlb6u.fsf@mpe.ellerman.id.au> <0675B22E-8F32-432C-9378-FDE159DD1729@lca.pw> <20200407093054.3eb23e45@gandalf.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Apr 2020 06:06:35 -0400 Qian Cai wrote: > >> I’ll go to bisect some more but it is going to take a while. > >> > >> $ git log --oneline 4c205c84e249..8e99cf91b99b > >> 8e99cf91b99b tracing: Do not allocate buffer in trace_find_next_entry() in atomic > >> 2ab2a0924b99 tracing: Add documentation on set_ftrace_notrace_pid and set_event_notrace_pid > >> ebed9628f5c2 selftests/ftrace: Add test to test new set_event_notrace_pid file > >> ed8839e072b8 selftests/ftrace: Add test to test new set_ftrace_notrace_pid file > >> 276836260301 tracing: Create set_event_notrace_pid to not trace tasks > > > >> b3b1e6ededa4 ftrace: Create set_ftrace_notrace_pid to not trace tasks > >> 717e3f5ebc82 ftrace: Make function trace pid filtering a bit more exact > > > > If it is affecting function tracing, it is probably one of the above two > > commits. > > OK, it was narrowed down to one of those messed with mcount here, Thing is, nothing here touches mcount. > > 8e99cf91b99b tracing: Do not allocate buffer in trace_find_next_entry() in atomic Touches reading the trace buffer. > 2ab2a0924b99 tracing: Add documentation on set_ftrace_notrace_pid and set_event_notrace_pid Documentation. > 6a13a0d7b4d1 ftrace/kprobe: Show the maxactive number on kprobe_events kprobe output. > c9b7a4a72ff6 ring-buffer/tracing: Have iterator acknowledge dropped events Reading the buffer. > 06e0a548bad0 tracing: Do not disable tracing when reading the trace file Reading the buffer. > 1039221cc278 ring-buffer: Do not disable recording when there is an iterator Reading the buffer. > 07b8b10ec94f ring-buffer: Make resize disable per cpu buffer instead of total buffer Resizing the buffer. > 153368ce1bd0 ring-buffer: Optimize rb_iter_head_event() Reading the buffer. > ff84c50cfb4b ring-buffer: Do not die if rb_iter_peek() fails more than thrice Reading the buffer. > 785888c544e0 ring-buffer: Have rb_iter_head_event() handle concurrent writer Reading the buffer. > 28e3fc56a471 ring-buffer: Add page_stamp to iterator for synchronization Reading the buffer. > bc1a72afdc4a ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance() Reading the buffer. > ead6ecfddea5 ring-buffer: Have ring_buffer_empty() not depend on tracing stopped Reading the buffer. > ff895103a84a tracing: Save off entry when peeking at next entry Reading the buffer. > bf2cbe044da2 tracing: Use address-of operator on section symbols Affects trace_printk() > bbd9d05618a6 gpu/trace: add a gpu total memory usage tracepoint New tracepoint infrastructure (just new trace events for gpu) > 89b74cac7834 tools/bootconfig: Show line and column in parse error Extended command line boot config. > 306b69dce926 bootconfig: Support O= option Extended command line boot config > 5412e0b763e0 tracing: Remove unused TRACE_BUFFER bits Removed unused enums. > b396bfdebffc tracing: Have hwlat ts be first instance and record count of instances Affects only the hard ware latency detector (most likely not even configured in the kernel). So I don't understand how any of the above commits can cause a problem. -- Steve