From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3qlLwT6yWLzDq5k for ; Wed, 13 Apr 2016 21:21:29 +1000 (AEST) Received: by mail-wm0-x242.google.com with SMTP id n3so13044241wmn.1 for ; Wed, 13 Apr 2016 04:21:29 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 13 Apr 2016 13:21:22 +0200 From: Ingo Molnar To: Michael Ellerman Cc: Srikar Dronamraju , Anton Blanchard , Peter Zijlstra , tglx@linutronix.de, efault@gmx.de, htejun@gmail.com, linux-kernel@vger.kernel.org, tj@kernel.org, torvalds@linux-foundation.org, zhaolei@cn.fujitsu.com, yangds.fnst@cn.fujitsu.com, hpa@zytor.com, Stephen Rothwell , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] sched/cpuacct: Check for NULL when using task_pt_regs() Message-ID: <20160413112122.GA2513@gmail.com> References: <20160404140312.GA28495@linux.vnet.ibm.com> <20160406065436.GB3078@gmail.com> <20160406203219.788ae7cf@kryten> <20160406110803.GI2906@worktop> <20160406215950.04bc3f0b@kryten> <20160406132637.GA2108@linux.vnet.ibm.com> <20160413074319.GA8968@gmail.com> <1460545318.24090.1.camel@ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1460545318.24090.1.camel@ellerman.id.au> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Michael Ellerman wrote: > On Wed, 2016-04-13 at 09:43 +0200, Ingo Molnar wrote: > > * Srikar Dronamraju wrote: > > > > > * Anton Blanchard [2016-04-06 21:59:50]: > > > > > > > Looks good, and the patch below does fix the oops for me. > > > > > > > > Anton > > > > -- > > > > > > > > task_pt_regs() can return NULL for kernel threads, so add a check. > > > > This fixes an oops at boot on ppc64. > > > > > > > > Signed-off-by: Anton Blanchard > > > > > > Works for me too. > > > > > > Reported-and-Tested-by: Srikar Dronamraju > > > > Could someone please re-send the fix, because it has not reached me nor lkml. > > It did hit LKML: > > http://lkml.kernel.org/r/20160406215950.04bc3f0b@kryten > > But that did have some verbiage at the top. > > Anton's also resent it directly To you. So it was in my Spam folder, due to the following SPF softfail: Received-SPF: softfail (google.com: domain of transitioning anton@samba.org does not designate 198.145.29.136 as permitted sender) client-ip=198.145.29.136; have the patch now. Thanks, Ingo