From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.mleia.com (mleia.com [178.79.152.223]) (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 206EC3EDE64 for ; Wed, 1 Jul 2026 22:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.79.152.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782943984; cv=none; b=Aaul0HGmy3GhRezzxzqAh41R9ObhPx2Ci6q1w4tRz92Juq3jVhjHFO8JKoIWJm+GMOrRAJ2fAjsML5WUt2Ohy2eX81NFXeaAaomZArm5RkG3XVsgUrzCUjM1dvumlmL2f25kudBxOS1AwoL+BE633qK2uoIjAG9Jg/dzhlw8RmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782943984; c=relaxed/simple; bh=i8Zsy6wBIzZOEyfsXMGlUAnjX4BwFWboqrar8BoRkWc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=K/eFkE5x6x6j2buXHkKZ068EoNx35mluE0fBV7HH+vSmipkXQlq1qtx5/ztvupC+jsuygnbvcxay+YMhlbL+990wVH+oMGAvapD9kxg/mOcfrePsokArrxYkRdRdMIppxgHFowNrkabwPXNKUAONiWVC+oVoMKykumVfqKlauA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mleia.com; spf=none smtp.mailfrom=mleia.com; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b=mZ0fC742; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b=mZ0fC742; arc=none smtp.client-ip=178.79.152.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mleia.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mleia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b="mZ0fC742"; dkim=pass (2048-bit key) header.d=mleia.com header.i=@mleia.com header.b="mZ0fC742" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mleia.com; s=mail; t=1782943980; bh=i8Zsy6wBIzZOEyfsXMGlUAnjX4BwFWboqrar8BoRkWc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mZ0fC742yRhqenNOUcolDlh9FHApqlHcGnDTW7Yu4K2oblMVNT+l+ORTkn6qGLM9T qC6jiga8xWiMli5JZMODYOsikKDSzDGIgWrNNu2p6CEG5kHhfo9+yibnGUH7anqgkQ 1VAbyNvZc+lijEMg0GtwJYR0wKy5F/MlW1UwmLXY4Vajc+kvUlxp+kJyOQQA1Y64lm wHx5Z46+ihm+udGwHj3WKj/vmdW/7GlsLbzq1tMStpIhv/qCCROqOa63OSDSWITkUr SjRESqD8PkYHiFYQCf1M4JXnPx95ubSxrb6Vo1oAeO/Qz8iD9rkSUojqWH+SaH+WkF SzLHDm2+E1Jxg== Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id 9A25C394727; Wed, 1 Jul 2026 22:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mleia.com; s=mail; t=1782943980; bh=i8Zsy6wBIzZOEyfsXMGlUAnjX4BwFWboqrar8BoRkWc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mZ0fC742yRhqenNOUcolDlh9FHApqlHcGnDTW7Yu4K2oblMVNT+l+ORTkn6qGLM9T qC6jiga8xWiMli5JZMODYOsikKDSzDGIgWrNNu2p6CEG5kHhfo9+yibnGUH7anqgkQ 1VAbyNvZc+lijEMg0GtwJYR0wKy5F/MlW1UwmLXY4Vajc+kvUlxp+kJyOQQA1Y64lm wHx5Z46+ihm+udGwHj3WKj/vmdW/7GlsLbzq1tMStpIhv/qCCROqOa63OSDSWITkUr SjRESqD8PkYHiFYQCf1M4JXnPx95ubSxrb6Vo1oAeO/Qz8iD9rkSUojqWH+SaH+WkF SzLHDm2+E1Jxg== Message-ID: <708bd72f-6d85-48b6-9a0c-46a4b26fd3eb@mleia.com> Date: Thu, 2 Jul 2026 01:12:58 +0300 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: [PATCH v2 17/19] ARM: mark Cortex-M3/M4/M7 based boards as deprecated To: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Aaro Koskinen , Alexander Sverdlin , Alexandre Belloni , Alexandre Torgue , Andrew Lunn , Ard Biesheuvel , Claudiu Beznea , Daniel Mack , Ethan Nelson-Moore , Frank Li , Gregory Clement , Haojian Zhuang , "Jeremy J. Peper" , Kristoffer Ericson , Krzysztof Kozlowski , Linus Walleij , Mark Brown , Marc Zyngier , Mike Rapoport , Nicolas Ferre , Patrice Chotard , Ralph Siemsen , Robert Jarzmik , Russell King , Sascha Hauer , Sebastian Hesselbarth , Stefan Agner , Stefan Wiehler , Tony Lindgren , Will Deacon References: <20260701212353.2196041-1-arnd@kernel.org> <20260701212353.2196041-18-arnd@kernel.org> From: Vladimir Zapolskiy In-Reply-To: <20260701212353.2196041-18-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20260701_221300_651917_93ECD62A X-CRM114-Status: GOOD ( 21.28 ) On 7/2/26 00:23, Arnd Bergmann wrote: > From: Arnd Bergmann > > The Cortex-M3/M4/M7 cores were designed as a replacement for the earlier > ARM7TDMI and ARM9TDMI microarchitectures used in older microcontrollers. > > At the moment, Linux can run these cores either when they are integrated > into a larger SoC, or as standalone microcontrollers. While there was > a lot of development work going into Cortex-M support from 2011 to 2016, > this largely stopped when it became clear that Zephyr and other RTOS > had taken over that market. To date, the only Cortex-M based based > microcontroller boards supported upstream are reference implementations. > > Schedule these for removal after the next LTS kernel, so if any users > remain that want to update their kernels, they can stay on that > version for a few years before having to maintain the platform support > out of tree. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/Kconfig | 8 ++++++-- > arch/arm/mach-at91/Kconfig | 4 +++- > arch/arm/mach-imx/Kconfig | 4 +++- > arch/arm/mach-stm32/Kconfig | 14 ++++++++------ > 4 files changed, 20 insertions(+), 10 deletions(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index e2bdf2591c10..5adccaed7d01 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -471,7 +471,7 @@ source "arch/arm/mach-zynq/Kconfig" > > # ARMv7-M architecture > config ARCH_LPC18XX > - bool "NXP LPC18xx/LPC43xx" > + bool "NXP LPC18xx/LPC43xx (DEPRECATED)" > depends on ARM_SINGLE_ARMV7M > select ARCH_HAS_RESET_CONTROLLER > select ARM_AMBA > @@ -481,8 +481,10 @@ config ARCH_LPC18XX > Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4 > high performance microcontrollers. > > + This platform is scheduled for removal in early 2027 > + Acked-by: Vladimir Zapolskiy # NXP LPC18xx/LPC43xx > config ARCH_MPS2 > - bool "ARM MPS2 platform" > + bool "ARM MPS2 platform (DEPRECATED)" > depends on ARM_SINGLE_ARMV7M > select ARM_AMBA > select CLKSRC_MPS2 > @@ -493,6 +495,8 @@ config ARCH_MPS2 > Please, note that depends which Application Note is used memory map > for the platform may vary, so adjustment of RAM base might be needed. > > + This platform is scheduled for removal in early 2027 > + > # Definitions to make life easier > config ARCH_ACORN > bool > diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig > index c5ef27e3cd8f..cb0e3ff8e0ca 100644 > --- a/arch/arm/mach-at91/Kconfig > +++ b/arch/arm/mach-at91/Kconfig > @@ -15,13 +15,15 @@ menuconfig ARCH_AT91 > > if ARCH_AT91 > config SOC_SAMV7 > - bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M > + bool "SAM Cortex-M7 family (DEPRECATED)" if ARM_SINGLE_ARMV7M > select COMMON_CLK_AT91 > select PINCTRL_AT91 > help > Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7 > families. > > + This platform is scheduled for removal in early 2027 > + > config SOC_SAMA5D2 > bool "SAMA5D2 family" > depends on ARCH_MULTI_V7 > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig > index f85a5f8c0a58..3f0521c652cb 100644 > --- a/arch/arm/mach-imx/Kconfig > +++ b/arch/arm/mach-imx/Kconfig > @@ -219,12 +219,14 @@ config SOC_IMX7ULP > This enables support for Freescale i.MX7 Ultra Low Power processor. > > config SOC_IMXRT > - bool "i.MXRT support" > + bool "i.MXRT support (DEPRECATED)" > depends on ARM_SINGLE_ARMV7M > select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M > help > This enables support for Freescale i.MXRT Crossover processor. > > + This platform is scheduled for removal in early 2027 > + > config SOC_VF610 > bool "Vybrid Family VF610 support" > select ARM_GIC if ARCH_MULTI_V7 > diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kconfig > index 630b992f32b1..4ac3384e397a 100644 > --- a/arch/arm/mach-stm32/Kconfig > +++ b/arch/arm/mach-stm32/Kconfig > @@ -14,30 +14,32 @@ menuconfig ARCH_STM32 > select STM32_EXTI if ARM_SINGLE_ARMV7M > select STM32_FIREWALL > help > - Support for STMicroelectronics STM32 processors. > + Support for STMicroelectronics STM32MP1 processors using Cortex-A7 > + cores. Note that support for the earlier Cortex-M based variants > + is deprecated and scheduled for removal in early 2027. > > if ARCH_STM32 > > if ARM_SINGLE_ARMV7M > > config MACH_STM32F429 > - bool "STMicroelectronics STM32F429" > + bool "STMicroelectronics STM32F429 (DEPRECATED)" > default y > > config MACH_STM32F469 > - bool "STMicroelectronics STM32F469" > + bool "STMicroelectronics STM32F469 (DEPRECATED)" > default y > > config MACH_STM32F746 > - bool "STMicroelectronics STM32F746" > + bool "STMicroelectronics STM32F746 (DEPRECATED)" > default y > > config MACH_STM32F769 > - bool "STMicroelectronics STM32F769" > + bool "STMicroelectronics STM32F769 (DEPRECATED)" > default y > > config MACH_STM32H743 > - bool "STMicroelectronics STM32H743" > + bool "STMicroelectronics STM32H743 (DEPRECATED)" > default y > > endif # ARMv7-M -- Best wishes, Vladimir