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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9F9AC79F8C for ; Mon, 5 Jan 2026 14:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Kq3TtsxUy/q4IZcqauYlg+KhZOOjIgyB7YRbMBjceZQ=; b=MOxkayRHAhjgWquY4naqILjgZX LVSE93EBRcRfB0w8kg75uX322XsRVbBjVG5u1PgHOEv6PhqGhiCVyCggSAip7UElRQF8NQWQKws+5 9JMDQ9mCi844s/5UMhD3VqUS1SzkrdiArVoRYIbTE1NtGMVGmZ7hKnVJEERx0LiRyczhgjALBcioM wBEB71RWj5NDGjkOi/DU8OaPUI9uhXM7PEj418Qi8tckKGsZ58egVNKjHtVh04L5FASp6TaQp5JEI CzyKwgMtmwEnwWGLbEhtwzTaqGYAzr8IsToSmS5ROGPYDYjXBzrqIbbtak5qV+AZjck/lT1jgkeJy l2nGkL0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vclG5-0000000BWGu-3LPv; Mon, 05 Jan 2026 14:08:33 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vclG3-0000000BWG1-2EPe for linux-arm-kernel@lists.infradead.org; Mon, 05 Jan 2026 14:08:32 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-4308d81fdf6so6752267f8f.2 for ; Mon, 05 Jan 2026 06:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1767622109; x=1768226909; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Kq3TtsxUy/q4IZcqauYlg+KhZOOjIgyB7YRbMBjceZQ=; b=KPUb5IsaQ8282Sb8PMBhanrGDYeohZgKKDWIHuqhkaXkA5OouNAVtswqhuJNBaX05m Npn8X7/I3xXX6qvXgwePUGBnel2HBRzX5WlpvmzwpV4mSqW2ZHcUnMmp04aZWd669WwM ZAJEYlXMjWbSqivr50E5ML5cUoaayHCGbRsJM//aEtoAP1sQu6sciTfThgqpzvjlOzuE Kn0DLYLx2NlYLu5WA+yb20RHI21uyDT7Dhvmay7F2DvwaYj4aXys56bwfr432nDAmZlt QCBspc5Hy5jVvmqUkEtsC0THmEyNMs8N+nq5qwJ75rB+u5JcCwu4Occ7N62ZK52TLN0Y 36Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767622109; x=1768226909; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kq3TtsxUy/q4IZcqauYlg+KhZOOjIgyB7YRbMBjceZQ=; b=ivaM0MgHvVGD+zYYaISaA7wUnn2XTYh+esKyz+b37vAjcSkYiLmOhBbc5SOnbkuTH/ iJsUmIkZkyYoLJmdfZ0hpbvIhki4f16koBURAYEwI6jAI3FwuZtdBkMYtpKCHuq082sm 7D5J7ppQ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Google-Smtp-Source: AGHT+IFtm/KgnS/DHXZ241C9Tii09D9IuHplpok3aN88rFmOsLWOymloQBuensoLNVO5jV8TaARwoQ== X-Received: by 2002:a5d:4842:0:b0:432:84ee:186d with SMTP id ffacd0b85a97d-43284ee2de1mr31846134f8f.62.1767622109438; Mon, 05 Jan 2026 06:08:29 -0800 (PST) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4324ea1b1b1sm100250524f8f.3.2026.01.05.06.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jan 2026 06:08:29 -0800 (PST) Date: Mon, 5 Jan 2026 14:08:26 +0000 From: Daniel Thompson To: Marcos Paulo de Souza Cc: Richard Weinberger , Anton Ivanov , Johannes Berg , Greg Kroah-Hartman , Jason Wessel , Daniel Thompson , Douglas Anderson , Petr Mladek , Steven Rostedt , John Ogness , Sergey Senozhatsky , Jiri Slaby , Breno Leitao , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Geert Uytterhoeven , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Andreas Larsson , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Jacky Huang , Shan-Chun Hung , Laurentiu Tudor , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, linux-serial@vger.kernel.org, netdev@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-hardening@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 00/19] printk cleanup - part 3 Message-ID: References: <20251227-printk-cleanup-part3-v1-0-21a291bcf197@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260105_060831_734236_2480F595 X-CRM114-Status: GOOD ( 25.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jan 05, 2026 at 12:52:14PM +0000, Daniel Thompson wrote: > Hi Marcos > > On Sat, Dec 27, 2025 at 09:16:07AM -0300, Marcos Paulo de Souza wrote: > > The parts 1 and 2 can be found here [1] and here[2]. > > > > The changes proposed in this part 3 are mostly to clarify the usage of > > the interfaces for NBCON, and use the printk helpers more broadly. > > Besides it, it also introduces a new way to register consoles > > and drop thes the CON_ENABLED flag. It seems too much, but in reality > > the changes are not complex, and as the title says, it's basically a > > cleanup without changing the functional changes. > > I ran this patchset through the kgdb test suite and I'm afraid it is > reporting functional changes. > > Specifically the earlycon support for kdb has regressed (FWIW the > problem bisects down to the final patch in the series where CON_ENABLED > is removed). > > Reproduction on x86-64 KVM outside of the test suite should be easy: > > make defconfig > scripts/config \ > --enable DEBUG_INFO \ > --enable DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT \ > --enable DEBUG_FS \ > --enable KALLSYMS_ALL \ > --enable MAGIC_SYSRQ \ > --enable KGDB \ > --enable KGDB_TESTS \ > --enable KGDB_KDB \ > --enable KDB_KEYBOARD \ > --enable LKDTM \ > --enable SECURITY_LOCKDOWN_LSM > make olddefconfig > make -j$(nproc) > qemu-system-x86_64 \ > -m 1G -smp 2 -nographic \ > -kernel arch/x86/boot/bzImage \ > -append "console=ttyS0,115200 kgdboc=ttyS0 earlycon=uart8250,io,0x3f8 kgdboc_earlycon kgdbwait" Actually I realized there was a simpler reproduction (hinted at by the missing "printk: legacy bootconsole [uart8250] enabled" in the regressed case). It looks like the earlycon simply doesn't work and that means the reproduction doesn't require anything related to kgdb at all. Simply: make defconfig make -j$(nproc) qemu-system-x86_64 -m 1G -smp 2 -nographic -kernel arch/x86/boot/bzImage \ -append "earlycon=uart8250,io,0x3f8" With the part 3 patchset applied I get no output from the earlycon (without the patch set I get the early boot messages which, as expected, stop when tty0 comes up). Daniel.