From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753125AbdBPEYn (ORCPT ); Wed, 15 Feb 2017 23:24:43 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35629 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635AbdBPEYl (ORCPT ); Wed, 15 Feb 2017 23:24:41 -0500 Date: Thu, 16 Feb 2017 13:25:00 +0900 From: Sergey Senozhatsky To: Tony Lindgren Cc: Sergey Senozhatsky , Sergey Senozhatsky , Petr Mladek , Steven Rostedt , Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Russell King Subject: Re: Regression in next with use printk_safe buffers in printk Message-ID: <20170216042500.GC772@jagdpanzerIV.localdomain> References: <20170213185956.GM3897@atomide.com> <20170214160140.GA401@tigerII.localdomain> <20170215180158.GO21809@atomide.com> <20170216013109.GA772@jagdpanzerIV.localdomain> <20170216040335.GR21809@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170216040335.GR21809@atomide.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (02/15/17 20:03), Tony Lindgren wrote: > * Sergey Senozhatsky [170215 17:32]: > > On (02/15/17 10:01), Tony Lindgren wrote: > > [..] > > > Below is another issue I noticed caused by commit f975237b7682 that > > > I noticed during booting. > > > > do you mean that with f975237b7682 you _always_ see that illegal RCU > > usage warning? > > Yeah on every boot on devices using cpuidle_coupled. does this mean that with the printk-safe patches reverted (so, basically, the same conditions module 4 printk patches) you don't see illegal RCU usage reports? at the moment I can't see any connection between f975237b7682 and RCU usage from idle CPU. [..] > > --- > > > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > > index 7180088cbb23..34da86e73d00 100644 > > --- a/kernel/printk/printk.c > > +++ b/kernel/printk/printk.c > > @@ -1563,7 +1563,7 @@ static void call_console_drivers(const char *ext_text, size_t ext_len, > > { > > struct console *con; > > > > - trace_console(text, len); > > + trace_console_rcuidle(text, len); > > > > if (!console_drivers) > > return; > > > > --- > > > > > > I need to look more at this. > > That fixes it for me thanks, so feel free to add: > > Tested-by: Tony Lindgren thanks. -ss