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 1F3F9C43458 for ; Wed, 1 Jul 2026 22:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3clFkoMgwO+tNW68in0DI4GqhMuyNn/swBRONrpbz24=; b=tjD/mFe9EUKTw3QF8e1I1g7lwz s4Ah+terSkxzhhET1bzPA0uQV7ruoIpvt6Ovoy9Sgss36cOU7CgjYqzKYvisbVeoI217HT5iJgOht GKarskNfFfeK6+qx17F48zxAJg2sJ2mMlMtx53o5MGNZNqPG0c6JiRyEtp+jCtv+Sez1klPdkIw4u a6X+wNtE9zD4pJsW0s2sPMt+YmGjEIZcxZ3l3TqgDuVOiMgV5lZB/EzL/QkV9Cl3FGmWgjEroSEBM 55RHZ45VMC8UFA8f3qV11P9Q9ToWej4d2LJorjCwjxB25A46q0Cnng+eQc1OmtZky+Q21FjJc+IkR QKxFlmOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wf3B3-000000035WD-0WCv; Wed, 01 Jul 2026 22:13:05 +0000 Received: from mleia.com ([178.79.152.223] helo=mail.mleia.com) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wf3B0-000000035Vm-0qTE for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2026 22:13:03 +0000 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 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 ) ln: failed to access 'reaver_cache/texts/20260701_221300_651917_93ECD62A': No such file or directory X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260701_221300_651917_93ECD62A X-CRM114-Status: GOOD ( 26.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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