Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754324AbbKWJbK (ORCPT ); Mon, 23 Nov 2015 04:31:10 -0500 Received: from mail-yk0-f182.google.com ([209.85.160.182]:36687 "EHLO mail-yk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753639AbbKWJbF (ORCPT ); Mon, 23 Nov 2015 04:31:05 -0500 MIME-Version: 1.0 X-Originating-IP: [195.54.192.103] In-Reply-To: <1448235359.18775.1.camel@ellerman.id.au> References: <1446145810-5383-1-git-send-email-kda@linux-powerpc.org> <1446545202.2801.2.camel@ellerman.id.au> <1448235359.18775.1.camel@ellerman.id.au> Date: Mon, 23 Nov 2015 12:31:05 +0300 Message-ID: Subject: Re: [PATCH] powerpc: tracing: don't trace hcalls on offline CPUs From: Denis Kirjanov To: Michael Ellerman Cc: linuxppc-dev@ozlabs.org, "Paul E. McKenney" , Anton Blanchard , Steven Rostedt , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1367 Lines: 40 On 11/23/15, Michael Ellerman wrote: > On Fri, 2015-11-20 at 15:22 +0300, Denis Kirjanov wrote: >> On 11/3/15, Denis Kirjanov wrote: >> > On 11/3/15, Michael Ellerman wrote: >> > > On Thu, 2015-10-29 at 22:10 +0300, Denis Kirjanov wrote: >> > > > ./drmgr -c cpu -a -r gives the following warning: >> > > > >> > > > [ 2327.035563] RCU used illegally from offline CPU! >> > > > >> > > > Make the hypervisor tracepoints conditional by introducing >> > > > TRACE_EVENT_FN_COND similar to TRACE_EVENT_FN >> > > >> > > We've fixed other cases like this with RCU_NONIDLE(), but I assume >> > > that >> > > doesn't work here because we're actually offline? >> > >> > Yes, in this case we're moving the complete core offline through >> > dlpar... >> > >> >> Hi Michael, >> Could you pick this patch? > > It's mostly a tracing patch, so I'd need an ACK from Steve at least. > > It would probably be best if you split it into a "tracing: .. " patch which > adds the new macros and then a powerpc patch which uses them. Ok, sounds reasonable. Thanks! > > cheers > > -- 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/