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 23D2D34DB52; Wed, 1 Jul 2026 21:26:25 +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=1782941187; cv=none; b=lp7kRElTEACHC9SH/0xCiw8FkNEUTHXXdQNhMkHMIrl81l74/EaXcMJ7IkbL0lJLXJPgKVK8XPc56gPvntljXC3NSAV7yAAMtvAR5YCFfkEJE8ssqDmifO0/rg48trIf0BN2pUXAFi0yn0BbuRebbvXMLr30FqkWIFdw0SYUCJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782941187; c=relaxed/simple; bh=bTpVkagoXCZNv2KbLyxHdrZb/UTvzTde05SvIjAIbns=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=u0YDWsQcDxdzY2eiyzfFuzHEhEFW0rFaeAeTJfmWMqsh0tL11N9U6D2Kip43xg/AYOXyf9N5S0qKXBWhY8VtnzW7kyadDZShj4p83BK4dmhFga4TECQWtizeZM2+UTkQoocVC8J/+uAIUqLy8BYolHzEICGNb+kA0QLkn120D88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lRVMIYgC; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lRVMIYgC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95EBF1F00A3A; Wed, 1 Jul 2026 21:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782941185; bh=MX/lz98+0cd/8G1ZQWEULMZs5MfQbqscpnFu2VUjmNo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lRVMIYgCFASweQy7+uaoWcSNU3Sf3yGcuxtbwpdNpy5gVyt7lTNR740hecqw71Xc1 aZ/yrN13O+Ak3HCdLYh4+/GPG5xkdVN0ugTDDm17UxozEnkGV4K/h2upRmImPfjnIe dNNqCVYb6r74x08quxqI2LNGoqGp+72eCoaLK2EKhpc4c1IKxdlMhPI+pNXxDj/fnV /n+1dRVB4BB87i2g20ijCOvMCoPu6krxz2cZDPlv6M0XtgExt5MKZbOBmEHeJgqhCS 0Q0yf+c3w9zJWINsNx86YYUtTUMmEVTLJ0bbmFKcUI/8xewoeum90rwQZulQwpR8Xc tRdbHjewuEQXA== From: Arnd Bergmann To: 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 , Vladimir Zapolskiy , Will Deacon Subject: [PATCH v2 17/19] ARM: mark Cortex-M3/M4/M7 based boards as deprecated Date: Wed, 1 Jul 2026 23:23:51 +0200 Message-Id: <20260701212353.2196041-18-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20260701212353.2196041-1-arnd@kernel.org> References: <20260701212353.2196041-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 + 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 -- 2.39.5