From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AAC4C6FA82 for ; Fri, 23 Sep 2022 15:30:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232626AbiIWPaP (ORCPT ); Fri, 23 Sep 2022 11:30:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231864AbiIWPaL (ORCPT ); Fri, 23 Sep 2022 11:30:11 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03B4A9FAB5 for ; Fri, 23 Sep 2022 08:30:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AD6CFB80B3A for ; Fri, 23 Sep 2022 15:30:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 545E4C433C1; Fri, 23 Sep 2022 15:30:04 +0000 (UTC) Date: Fri, 23 Sep 2022 11:31:07 -0400 From: Steven Rostedt To: John Ogness Cc: Thomas Gleixner , LKML , Petr Mladek , Sergey Senozhatsky , Linus Torvalds , Peter Zijlstra , "Paul E. McKenney" , Daniel Vetter , Greg Kroah-Hartman , Helge Deller , Jason Wessel , Daniel Thompson , John Kacur , "John B. Wyatt IV" , Sebastian Andrzej Siewior Subject: Re: printk meeting at LPC 2022 Message-ID: <20220923113107.79d3e013@gandalf.local.home> In-Reply-To: <875yheqh6v.fsf@jogness.linutronix.de> References: <20220910221947.171557773@linutronix.de> <87h71cr1gb.fsf@jogness.linutronix.de> <875yheqh6v.fsf@jogness.linutronix.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Sep 2022 16:55:28 +0206 John Ogness wrote: > All other consoles could then be tried as a "last hope" at the very > end of panic(), after all records have been flushed to reliable > consoles and when it no longer matters if a console kills the CPU. For > non-panic emergencies (warn, rcu stalls, etc), there may be other > flags that would be needed. I think we may need to check if kexec is involved. We don't want one of these "last hope" consoles to lock up the system preventing kexec to occur. But if there's no kexec, and the system is just going to lock up anyway, then sure go ahead and call the unsafe consoles. -- Steve