From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5F3993C141F for ; Thu, 25 Jun 2026 06:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782369818; cv=none; b=fP5yWinDNUPphT6e1obnpUSEtb8m5oMtL2XNkaE5V2we+nK2TzsVDLfby9vsOq7//fRyTuLB3RqfqSTK5yY8Lr/0Z8dpc+mBtfWr51rnlDQTLr3/gPvyNtvyHrXqJcO+Pwl+iFl/R+ezlLcmJQaZeQH7yYoKCATOp9s/uQ8pkjg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782369818; c=relaxed/simple; bh=OUgJDAxGrGnstexm3uwh7RTc+V1z6zuT+cMkKUVRp84=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=m5DMLws7NVhjKa+XpVCtRbCoLJNiB844TimjpLwROZTvjy7YS0JEt7tedWg6gjmYwAWuQ/MoQFoz8k7KIm1vhcJBUYIOw3i1jh5RawZgISY927eiJR4LbZVxYpEn3Op+MXr0CyoHl0K8r2SwNj//vPjdxZkk6+7Lp/KGH8i4G8E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFF871F00A3A; Thu, 25 Jun 2026 06:43:34 +0000 (UTC) Message-ID: Date: Thu, 25 Jun 2026 16:43:17 +1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC] m68k: stale CONFIG_MTD_UCLINUX still guards ROMFS relocation paths To: Pengpeng Hou , Geert Uytterhoeven Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org References: <20260625060742.7769-1-pengpeng@iscas.ac.cn> Content-Language: en-US From: Greg Ungerer In-Reply-To: <20260625060742.7769-1-pengpeng@iscas.ac.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Pengpeng, On 25/6/26 16:07, Pengpeng Hou wrote: > Hi, > > while auditing conditional source paths, I noticed that current m68k source > still has an early boot/data path guarded by CONFIG_MTD_UCLINUX, but that > symbol no longer appears to have a Kconfig provider in current mainline. > > The relevant guard is in arch/m68k/68000/head.S: > > #if defined(CONFIG_ROMFS_FS) && defined(CONFIG_RAMKERNEL) && \ > defined(CONFIG_MTD_UCLINUX) > > That guarded block moves ROMFS data and adjusts _ramstart / __bss_stop > related state. At the same time, several m68k defconfigs still request > CONFIG_MTD_UCLINUX together with ROMFS support. > > A bounded config oracle over representative m68k defconfigs shows that the > final .config drops CONFIG_MTD_UCLINUX because the symbol has no current > provider. In other words, the source still describes a boot/data world that > the current Kconfig universe cannot realize. > > I am not sending a patch yet because the intended repair is a policy question: > > 1. remove the stale defconfig requests and guarded source path; > 2. retarget the guard to a current condition; or > 3. restore an arch-local option if this boot path is still intended. > > Could you advise which direction is expected for the remaining > CONFIG_MTD_UCLINUX guarded m68k path? > > This is static source/config analysis only. I have not runtime-tested the > affected boards. Thanks for pointing this out. This is news to me, and looks to only have been removed in the current 7.2 merge window. I am digging now, but I believed this still worked before removal and was in fact in use. Regards Greg