Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2888451ybh; Mon, 16 Mar 2020 11:37:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtF7DxtNDyLGrxu1d0XNQ9J7l88p3pxj8dFesn77M6dq5m84seyYv0uwopPXLfHNhKooER8 X-Received: by 2002:aca:1903:: with SMTP id l3mr67578oii.126.1584383847803; Mon, 16 Mar 2020 11:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584383847; cv=none; d=google.com; s=arc-20160816; b=CNe55eBIE1KrMPlBLKiP4yFM4hGqAk8JaVLuux5sTFjb5I/SWfflR2zBvFyVuKCRdu AxVLIYHZkTJone6CsR1lN8dqPTiRUsPFB+45cgVGm09Gccn19WLCtvIKKNpbCndCYMYH RfO8VAd+ACi4kQyJvoatYXfkrXRrrfoGBgYfiYmqQWjf5ywewuk1qmiSyKXeRMa5yyL/ kBfkylgotkfgEP4uZgL/UXKrX/67y8s59raypRNrtCRG2qhyYfw+DS/M4wi1KMWI+fL6 +pXMjpnQQT6N2Ju2bbefeeELRaG1CWij+SYf8Yuo8miaZ9z399K1XH12v4ccIlh9rDoX q61A== 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=z0R33vGcJ/kvvXBs+gUHJ74UIHuEhDJCYeCzJfTCMHc=; b=ipjKCIeWu8iKN4IM8QaqjFeLCDEjdkwFnoRYZd4kIky0bmbXfv19gs6CCjD3Gw1iFK BiSyV+wQX9VCQsNRow9pdLxpDsoiMHpXXCMLa1JmCK6YMyDF1NGCr3AO4qPURy31kINo B5SZhrjAYXBtDTPOlO41zaXLCG54MLjzJ6IZSYRuy4Mn7kJbcJ6wr2aAe9a4JttgyKr9 vJmWhiIVSHeHQvTVwTqe8QdtLF+zO13qTGQSflYczgOZrFVxfmoSipzZIsk8NZuF159u lJmWKb3fP2kWzRAylN/TNApX/Rcj2D8tj/tJvFr4hRqalWISyBXEwKb9ahxGBmBGuDy+ cHxw== 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 d21si343139otq.72.2020.03.16.11.37.14; Mon, 16 Mar 2020 11:37:27 -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 S1732342AbgCPSfV (ORCPT + 99 others); Mon, 16 Mar 2020 14:35:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:33180 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731967AbgCPSfV (ORCPT ); Mon, 16 Mar 2020 14:35:21 -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 4C38620674; Mon, 16 Mar 2020 18:35:19 +0000 (UTC) Date: Mon, 16 Mar 2020 14:35:17 -0400 From: Steven Rostedt To: Eugeniu Rosca Cc: linux-kernel@vger.kernel.org, Petr Mladek , Sergey Senozhatsky , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Jisheng Zhang , Valdis Kletnieks , Sebastian Andrzej Siewior , Andrew Gabbasov , Dirk Behme , Eugeniu Rosca Subject: Re: [RFC PATCH 0/3] Fix quiet console in pre-panic scenarios Message-ID: <20200316143517.651abbeb@gandalf.local.home> In-Reply-To: <20200315170903.17393-1-erosca@de.adit-jv.com> References: <20200315170903.17393-1-erosca@de.adit-jv.com> 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=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 15 Mar 2020 18:09:00 +0100 Eugeniu Rosca wrote: > Dear community, > > The motivation behind this seris is to save days/weeks, if not months, > of debugging efforts for users who: > > * experience an issue like softlockup/hardlockup/hung task/oom, whose > reproduction is not clear and whose occurrence rate is very low > * are constrained to use a low loglevel value (1,2,3) in production > * mostly rely on console logs to debug the issue post-mortem > (e.g. saved to persistent storage via e.g. pstore) > > As pointed out in the last patch from this series, under the above > circumstances, users might simply lack any relevant logs during > post-mortem analysis. > > Why this series is marked as RFC is because: > * There are several possible approaches to turn console verbosity on > and off. Current series employs the 'ignore_loglevel' functionality, > but an alternative way is to use the 'console_loglevel' variable. The > latter is more intrusive, hence the former has been chosen as v1. > * Manipulating 'ignore_loglevel' might be seen as an abuse, especially > because it breaks the expectation of users who assume the system to > be dead silent after passing loglevel=0 on kernel command line. > > Thank you for your comments! I don't see any issues with this patch set. What do others think? Acked-by: Steven Rostedt (VMware) [ Note, I only acked, and did not give a deep review of it ] -- Steve > > Eugeniu Rosca (3): > printk: convert ignore_loglevel to atomic_t > printk: add console_verbose_{start,end} > watchdog: Turn console verbosity on when reporting softlockup > > include/linux/printk.h | 10 ++++++++++ > kernel/printk/printk.c | 30 ++++++++++++++++++++++++++---- > kernel/watchdog.c | 4 ++++ > 3 files changed, 40 insertions(+), 4 deletions(-) >