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 E8D1ECDE001 for ; Thu, 25 Jun 2026 14:11:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:References:In-Reply-To: Message-Id:Cc:To:From:Date:MIME-Version:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=8EGtB8L7uBQlOVhw35Ei/rffj2Lw+Ucl48c135eBWuM=; b=xEnAR3LgRGSIzCa9kyl70xjyHl cSNkDp43xae/HS4TnpTzQgfHlw4P4/kmXH9i7qHvNhwIBbqjjr0XpCo2WtbPgEX12JrtB0w5Xk4Qb ips+LqPrmkMux9TeR6tISe0p9GnIVLA7hyE3LHBJj3MbmMQBlC1koqua9Z2NLr9KNU3icRQLw76Ie yy50MMhigKQGq5aqLS+OEEpLgWjCtRvUC3qkKzN9+sQ/r3s3YDX41oLQiKLAtmxdLgIC+YjD0Zeg9 K7Kj4plYQp8QZVC5BPTs6Q10UHDz1wIeXI157V0IEQXR2sBFHGVb7ZcLfm0RDT9ADOJJdTMftb2HE ZHq4/5tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wckne-00000009IVk-2AWv; Thu, 25 Jun 2026 14:11:26 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wckna-00000009IR0-1d69 for linux-mtd@lists.infradead.org; Thu, 25 Jun 2026 14:11:24 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 140797A0119; Thu, 25 Jun 2026 10:11:19 -0400 (EDT) Received: from phl-imap-05 ([10.202.2.95]) by phl-compute-04.internal (MEProxy); Thu, 25 Jun 2026 10:11:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1782396678; x=1782483078; bh=irN3hpLEXejWK47u9zWCVY1FdJn2peRwQ/2YusrqX1w=; b= mv7OtS+MrEqVqqZ5hmp8tjhVGXHh9w8i6jWHnDyFSBlXy3iNjC2zctGTU28sedRH P3vstekHqhHGjeiGSV76pL7Lyor7OQStqpQGFlW0x94qHLGesjMckkApAQzeKoIj Xa2r05bTjRHsOKi6JYtp9Z8OE7TmjBa+XZxJSNePrODn/vTMsjwVUtiQ2kE7EusD bb5FK/JHjP6pkTCYT90kPo37Es5iiy5es9BapojuvvsDUJoIAkBsVdpBNhPQWPsl wu6dE3j8GwVPIgt9nbluQdaCyQeOL965Zn6i0kLavdtypOpcf3Efjb2iGT1j5+Jg bG/64udVrHkCd/UQ78M1NQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1782396678; x= 1782483078; bh=irN3hpLEXejWK47u9zWCVY1FdJn2peRwQ/2YusrqX1w=; b=a P2ieQEPhs29/cYFHxxm7t9JdiWuLnrLs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by mailuser.phl.internal (Postfix, from userid 501) id F0890182007E; Thu, 25 Jun 2026 10:11:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: ASdx1_WPg8_k Date: Thu, 25 Jun 2026 16:10:54 +0200 From: "Arnd Bergmann" To: "Greg Ungerer" , "Arnd Bergmann" , "Miquel Raynal" , "Richard Weinberger" , "Vignesh Raghavendra" Cc: "Randy Dunlap" , "Andy Shevchenko" , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-m68k , "Pengpeng Hou" Message-Id: In-Reply-To: References: <20260526103227.3152003-1-arnd@kernel.org> <20260526103227.3152003-2-arnd@kernel.org> Subject: Re: [PATCH 2/3] mtd: maps: remove uclinux map driver X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260625_071122_829767_435A6944 X-CRM114-Status: GOOD ( 16.64 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Thu, Jun 25, 2026, at 14:07, Greg Ungerer wrote: > On 26/5/26 20:32, Arnd Bergmann wrote: > > It is used on some ColdFire platforms, and was working all the way up > to being removed in the current merge window. > > The ColdFire platform startup code (arch/m68k/coldfire/head.S) has a > somewhat unusual setup that can copy an attached filesystem blob to > _bss_stop, and this is one of the places the uclinux.c map driver can > use as the filesystem memory address. From uclinux.c > > static int __init uclinux_mtd_init(void) > { > struct mtd_info *mtd; > struct map_info *mapp; > > mapp = &uclinux_ram_map; > > if (physaddr == -1) > mapp->phys = (resource_size_t)__bss_stop; > else > mapp->phys = physaddr; > > No out of tree code is required. Most of the ColdFire defconfigs have > CONFIG_MTD_UCLINUX enabled, since it is commonly used. I see, this is surprising from reading the source and git history, but I can see exactly how it got there. So this is not actually a device but rather a replacement for CONFIG_BLK_DEV_INITRD that does can work with CONFIG_BLOCK=y, right? > Can we get this reverted? Yes, of course. Miquel/Richard/Vignesh, should I send a revert or can you just apply one with Greg's explanation and my Ack? Arnd ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/