From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5554933A9D2 for ; Mon, 5 Jan 2026 14:08:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767622118; cv=none; b=FGjLlFo0ihXbIg0/bCDbBDZI57G9EFMhhKk1xqqyxfIJLrMYhPYkf+yrR5GJmNpLQjeL2wLVy6EqNRMcUDx+ZXiYWmqHvMD3g1DH42SuslKcWlQJbd/tCnAG1O8hzqhReAdZ95M80hnr5bGhO7C8eqml1g2EKLGGva1cfegq7NQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767622118; c=relaxed/simple; bh=r3I6M7kWHIbwx8pg9jWTMfz8fscetYU9L971EGe7OZc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uUtWocnHOEDzO6cFqIJCl6xQ3erGuDkUeon067vthBBS3laU6FSZ/urUjP+yojducMVIP8n9Q+oJluE/K1cGQuA61RqWXV9mPpgyX3Tjpf8uoFN1q3BZwrb8EqGR4Jl9dz/zwvXYbHi+ZO2z+F9SoAOqaOHam/hiuA7avAynUa4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=aCbXoUTJ; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="aCbXoUTJ" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-432777da980so4216060f8f.0 for ; Mon, 05 Jan 2026 06:08:31 -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.linux-m68k.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=aCbXoUTJ+tBze5d8KyPtddZXJrrcC4EzQRI50FO5ax4k0Z37BsUfP/FnA7QEsrZyNc CVwjOkf5HfTJoIsBMIuLFjFvHREGuCBvg363GeF49cdHLmPBolD0nUhPdJ2VUWCn1cz9 kJhAVRob5HKL9os4DuOdjtijnQOmivXswfheX1C1bBj5NRIKNmRW0X+76IlbjKqOECht yy9ZM1bHfSC90o9cWFtw3e2QRCHbtMX2rPMTzwEP+GR/DHqUFXGbU2uZMZRQMbooDCDe hmByYIBYbLt4glMn/nF6OZ0y8FFlTsWbdjjC2CXSP34CGxYVnzm1XUgZXeGdaYxLZpDJ XVlQ== 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=NgZcWV1w4JFf0I11UhSoL/hFhA62ucJzrni23/c1AfJZuQb3c9t9Kd+znXvtcMAeZq BXh15pvLk9wC3XwReBUPk9cUGx/aYMUBkj19LWYt2C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X-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> Precedence: bulk X-Mailing-List: linux-m68k@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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.