Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3143818iog; Mon, 20 Jun 2022 12:22:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uBVTY9A2waw2OdFtawQTn0YDAzSFeOVHYrkagGD/3ADxP51zu2ePRWA5I+wb6ZrczYppxv X-Received: by 2002:a17:90b:4a46:b0:1e8:3d06:66c with SMTP id lb6-20020a17090b4a4600b001e83d06066cmr39861325pjb.6.1655752975234; Mon, 20 Jun 2022 12:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655752975; cv=none; d=google.com; s=arc-20160816; b=u6ASRqgK4K6P6udtE0tw1ogm5XsenhKp9ssAgmpjSKRQaWyHW21TgI2Bth8oTqZLcp Wg2W49SIsfmFmuqv/Hqol5vBrpEs4norhAl7c6WNc7WlNdwL/hVKyRj8ArgHyeRF8vAb mGs58Fr34++wl0LUH9ycOXmNL4fmx2mDW/8QE+TNZpxl1/7mz3/NRvBjqLIojAttQC9e wiTeBODmVbi4JdhxS3CdZYtnLCgpKrgp7Qxu3ciAMERbPowMOFKwz8fv9svr4ac9IIW7 vRT2rmOGJwDHJwLz1utGMitAnwIujr+3bfXBKV+uo/ygYQb5+/VZqIqeGR/Py/k/jd1C d7HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=vNynxaYqyr2RVDIp9MKcC7hRaMgnO6YGziFW+RsJ+NY=; b=Bbepueuxq44v/S+k2NFVGFHj9OCJwUfuQGwWvXnJp2sEeHrhk+d9UR53H0A9SPGQvQ QFGcX8jyI44xmyVfR1yldpLkc7se9rR2yxh/8hcYb6jM1F2zDeXfODCC0/MdU7xx4pwP 5mb4vEOALF6Mv2l7JZEbCZtP/Fk+mUGNgj84w2NezyboI1yRdjpEFjR3R4jIXQgRalnI O4SJBAM7TMVYKfNUEbDf0MS7TeBVOndwGm65OCt7tbCeh9z7YAopSJbjP4OVOGCJ/tz8 4KEUM5HSmobIyP/9MnURq+PcFUSQFGo2Jb1vmmNrSrXUudx1Aaj1wQ1PFFI1zmI0nK2Z Hq3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bRrHV5rO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170902b11100b0016a14cb406esi7710606plr.271.2022.06.20.12.22.43; Mon, 20 Jun 2022 12:22:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bRrHV5rO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343501AbiFTSjI (ORCPT + 99 others); Mon, 20 Jun 2022 14:39:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244951AbiFTSjG (ORCPT ); Mon, 20 Jun 2022 14:39:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EAF71FA5B for ; Mon, 20 Jun 2022 11:39:05 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 25B0761596 for ; Mon, 20 Jun 2022 18:39:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9837BC341C0; Mon, 20 Jun 2022 18:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655750344; bh=vNynxaYqyr2RVDIp9MKcC7hRaMgnO6YGziFW+RsJ+NY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bRrHV5rO+hTCli7L0NKyTBRHLVURSlVN719clWuqm3nED8Kd7RpX0xqRxY+BWgjOc n6P7cVnWuXHiJGf4N02VGNKjgbG1uL0X/9gAYvbkgIazxMD6k5vLZVshU3BGoHr59m zmsjzukcHQO0Pdc5o/Ei4mQfMAgF19aGZK456vlkGy+5dX/r4syKz1155KSKRGgMXO cnus/FxoPNNIOX4YP6GV1IMh/47vaSL5AFqwZdxLw8Gis6SALSEOtABIMaeVkTZ+fT Ml/83TJSVRgJlsnJCo3pRqngUuAYz5r7Neruv2IPCjIU5f5Gb+nfbsI0bNRDo0QJij uf+YWDI0oRDzw== Date: Mon, 20 Jun 2022 20:38:36 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Petr Mladek Cc: Linus Torvalds , John Ogness , Linux Kernel Mailing List , Sergey Senozhatsky , Steven Rostedt , Andy Shevchenko , Rasmus Villemoes , Jan Kara , Peter Zijlstra Subject: Re: [PATCH] printk/console: Enable console kthreads only when there is no boot console left Message-ID: <20220620203836.0f323667@thinkpad> In-Reply-To: References: <20220619204949.50d9154d@thinkpad> <87r13kwawb.fsf@jogness.linutronix.de> <20220620112936.48fcb2a4@thinkpad> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Jun 2022 17:14:27 +0200 Petr Mladek wrote: > The console kthreads uncovered several races in console drivers. > All problems were in situation when a console was being properly > initialized and registered while an early console, using the same > port, was being used. >=20 > These problems are pretty hard to debug because they often result > into silent boot crashes. It would be nice to fix them but it > looks like a can of worms. >=20 > Prevent these problems by delaying the use of console kthreads > after all early consoles are gone. It might later be optimized. > But let's close this can of worms with a big hammer for now > so that they do not break first impression on the kthreads > that solve other real problems. >=20 > Link: https://lore.kernel.org/r/20220619204949.50d9154d@thinkpad > Link: https://lore.kernel.org/r/2a82eae7-a256-f70c-fd82-4e510750906e@sams= ung.com > Reported=3Dby: Marek Beh=C3=BAn > Signed-off-by: Petr Mladek This solves the issue. You have a typo in the reported-by tag ('=3D' instead of '-'). Tested-by: Marek Beh=C3=BAn