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 A26BAC43334 for ; Tue, 21 Jun 2022 11:35:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349302AbiFULfi (ORCPT ); Tue, 21 Jun 2022 07:35:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348826AbiFULfg (ORCPT ); Tue, 21 Jun 2022 07:35:36 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60AF91AF0A for ; Tue, 21 Jun 2022 04:35:35 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1655811331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YRR+VIP54qAipl6tCkuIBM7tblExjyxMWMduPdccz6w=; b=Xxygc4k7zvydCJOiBQDYetRRx2dro61hC9179fn0DBlZ8NbxnBox0sr+Owzhuc4qZ+GxOl x2rkNNlRakazP3FYLb0InB78IErnz+NrJbrVlPoB1yDVKke3kF1XJJqwOPvpBAwunDnU6F 7y/l/GLX7vyFVfoKzlYgJ68gBN3tGfDSEWv3QtEb+NM/CnPMuSZeoaa7s4Xjsdw2iMYLRm BNeIyEJi4Y/F7W9PBAaocbcWYS8KqRIMKC2kO6yJjgFyAxD6kw6sRLD2XEzpF5auxQiCu6 5rbMLitBmfJ+IQoJ7aLNkiY+If73R1Npo7tJ7qMI9f2Vz15tSxSuZ07E6+0vUw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1655811331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YRR+VIP54qAipl6tCkuIBM7tblExjyxMWMduPdccz6w=; b=FN9gMQcfMrbSJMdwyN2Dl04Oj7J0dzFWmpIPvl4alHTxdSI/m7BzykfmlBkw0GVBSlNAMt DaC+c7+drEyQ3RAQ== To: Petr Mladek Cc: Marek =?utf-8?Q?Beh=C3=BAn?= , Linus Torvalds , Linux Kernel Mailing List , Sergey Senozhatsky , Steven Rostedt , Andy Shevchenko , Rasmus Villemoes , Jan Kara , Peter Zijlstra Subject: Re: [PATCH v2] printk/console: Enable console kthreads only when there is no boot console left In-Reply-To: <20220621090900.GB7891@pathway.suse.cz> References: <20220621090900.GB7891@pathway.suse.cz> Date: Tue, 21 Jun 2022 13:41:30 +0206 Message-ID: <877d5az1tp.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-06-21, Petr Mladek wrote: > Threaded console printing does not take into consideration that boot > consoles may be accessing the same hardware as normal consoles and thus > must not be called in parallel. > > Since it is currently not possible to identify which consoles are > accessing the same hardware, delay threaded console printing activation > until it is known that there are no boot consoles registered. > > Link: https://lore.kernel.org/r/20220619204949.50d9154d@thinkpad > Link: https://lore.kernel.org/r/2a82eae7-a256-f70c-fd82-4e510750906e@sams= ung.com > Link: https://lore.kernel.org/r/20220619204949.50d9154d@thinkpad > Reported-by: Marek Beh=C3=BAn > [john.ogness@linutronix.de: Better description of the problem.] > Signed-off-by: Petr Mladek > Tested-by: Marek Beh=C3=BAn Reviewed-by: John Ogness