From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1561315442A for ; Thu, 27 Mar 2025 22:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.147 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743115143; cv=none; b=jhrCjfO6zvTab7venQDTS+swcnT+WZp5/6RClPnJs83eLYpFFax3IioGRu76PNWsQ9yuIFn84FuVKyKdBRe5FeltrAOmyDZfXWqR+WW4EjewTUEkZWH3SUmu+KBd05V6OWSAqM3Kcgoq72yaGNN+y3vb9f6Svd5YDWum3vaZYN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743115143; c=relaxed/simple; bh=7mCtYt5PwkW6wan3Dj5V1pnjA26KG8rl6zyRMkZ2pjw=; h=To:Cc:Message-ID:From:Subject:Date; b=Yq3SRupEZvdeUZpYnejjp/DHjdWzxoVp7dKnEaAfcPB0xagzJF+V0qXjk1ocAPx5wKQaj/fJcA3hNQZ8HiNFJRV0GaiXBBUXwGuycTT9P8UyczPqsdcq62tMjJe4ZABgHt549UZHRxDZN0ef/a79za3x4ktsPvtg0Z7dv4CverQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=none smtp.mailfrom=linux-m68k.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=LaRu65/k; arc=none smtp.client-ip=202.12.124.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="LaRu65/k" Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id BEE70114016C; Thu, 27 Mar 2025 18:38:59 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Thu, 27 Mar 2025 18:38:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1743115139; x=1743201539; bh=JiMEP2AO36eHBlp6X5ZxLmtvskSS I47S1BFITURAF9M=; b=LaRu65/k+kouEgc/eTHWZWzHZOntua11rj8MV2lwsv1B i3PiJQwbGAsWwixPnO4WIkbcWJToTjbnhZ6MWMKiNOMJqx7qkgtvTTmW28MB1mbq q1LSvwHkHj+DzhQJlJVuEY9oh/dlI6VFELPnS32c00i9LFr4UBEffqk9/S8Q5vNM 5URx2/eZEhRZQB0AYrJ5Col83ydkiiKltG1AAouVDdyBDZ5sov6SCM4hgt/Uh3aW r2NceL6QCSfDLLq6IKZtMSWx5UY10kxRw96AUtKJSF82NgS6bKWcbcz8jRbUrB/5 RfAs7hjEJVBJP6F9dpF5mWWgV7PLo+JWO3EM1P63xA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduieelieefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepvfevkffhufffsedttdertddttddtnecuhfhr ohhmpefhihhnnhcuvfhhrghinhcuoehfthhhrghinheslhhinhhugidqmheikehkrdhorh hgqeenucggtffrrghtthgvrhhnpeehfffggeefveegvedtiefffeevuedtgefhueehieet ffejfefggeevfeeuvdduleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehfthhhrghinheslhhinhhugidqmheikehkrdhorhhgpdhnsggprhgt phhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgvggvrhhtsehlih hnuhigqdhmieekkhdrohhrghdprhgtphhtthhopegurghnihgvlhestdigtdhfrdgtohhm pdhrtghpthhtoheplhhinhhugidqmheikehksehlihhsthhsrdhlihhnuhigqdhmieekkh drohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgv lhdrohhrgh X-ME-Proxy: Feedback-ID: i58a146ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Mar 2025 18:38:56 -0400 (EDT) To: Geert Uytterhoeven Cc: "Daniel Palmer" , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Message-ID: <54c8046f6ffcb16b3e4e7aa1a6fedbc4e576f16a.1743114940.git.fthain@linux-m68k.org> From: Finn Thain Subject: [PATCH] m68k/mvme147: Don't unregister boot console needlessly Date: Fri, 28 Mar 2025 09:35:40 +1100 Precedence: bulk X-Mailing-List: linux-m68k@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: When MACH_IS_MVME147, the boot console calls mvme147_scc_write() to generate console output. That will continue to work even after debug_cons_nputs() becomes unavailable so there's no need to unregister the boot console. Cc: Daniel Palmer Fixes: 077b33b9e283 ("m68k: mvme147: Reinstate early console") Signed-off-by: Finn Thain --- arch/m68k/kernel/early_printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/kernel/early_printk.c b/arch/m68k/kernel/early_printk.c index f11ef9f1f56f..2fb22d8395b5 100644 --- a/arch/m68k/kernel/early_printk.c +++ b/arch/m68k/kernel/early_printk.c @@ -60,7 +60,7 @@ early_param("earlyprintk", setup_early_printk); static int __init unregister_early_console(void) { - if (!early_console || MACH_IS_MVME16x) + if (!early_console || MACH_IS_MVME147 || MACH_IS_MVME16x) return 0; return unregister_console(early_console); -- 2.45.3