Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/14] ARM: deprecated platform removal
@ 2026-09-14 14:08 Arnd Bergmann
  2026-09-21 11:06 ` Yoshifumi SHU
  2026-10-01 12:40 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 6+ messages in thread
From: Arnd Bergmann @ 2026-09-14 14:08 UTC (permalink / raw)
  To: soc
  Cc: Arnd Bergmann, Krzysztof Kozlowski, Rob Herring, Conor Dooley,
	Russell King, Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi,
	Frank Li, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Vladimir Zapolskiy, Stefan Agner, Maxime Coquelin,
	Alexandre Torgue, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
	Roger Quadros, Tony Lindgren, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea, Andrew Lunn, Sebastian Hesselbarth,
	Gregory Clement, Robert Jarzmik, Kristoffer Ericson,
	Linus Walleij, Ethan Nelson-Moore, Geert Uytterhoeven,
	Alexander Sverdlin, Shawn Guo, Karl Mehltretter,
	David Hildenbrand (Arm), Nicolas Pitre, linux-doc, linux-kernel,
	linux-arm-kernel, devicetree, imx, linux-stm32, linux-omap

From: Arnd Bergmann <arnd@arndb.de>

In the 7.3 kernel, I marked a number of platforms and features as
deprecated, with the plan to keep these around for the LTS kernel, but
remove them in 7.4, see [1].

Cleaning out the deprecated platform code has turned into a larger effort
than I expected, currently standing at 300 patches, with a lot of them
still in need of being split up into smaller ones, see [2] for a current
snapshot.

The first series here removes just the bits in arch/arm/mach-*/, plus
the portions that directly depend on the removed Kconfig symbols where
these are trivial to remove.

The parts that are not included are those that remove architectural
features and device drivers that become unused after this part,

This also gives everyone a chance to voice their objections in case
that some of the removed platform code does have active users after all,
before all the corresponding drivers are gone.

     Arnd

Changes since v1 [3]:

 - minor cleanups and fixes based on feedback
 - skipped riscpc patch, which is still under discussion
 - added patch to remove plat-orion, folding the remaining
   PCI support into mach-orion5x
 - added patch to remove Integrator/CM1136JF-S

Links:
[1] https://lore.kernel.org/all/20260701212353.2196041-1-arnd@kernel.org/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3
[3] https://lore.kernel.org/lkml/20260908152808.3928630-1-arnd@kernel.org/T/#t

Arnd Bergmann (14):
  ARM: remove sa1100 platform
  ARM: remove footbridge
  ARM: remove legacy pxa board files
  ARM: orion/dove/mv78xx0: remove all board files
  ARM: orion5x: fold plat-orion/pcie.c and hw_pci into pci.c
  ARM: omap2: remove omap24xx support
  ARM: imx: remove i.MX31 SoC support
  ARM: versatile: remove Integrator/CM1136JF-S option
  ARM: imx: remove nommu support
  ARM: lpc18xx: remove entire platform
  ARM: stm32: remove stm32f4/f7/h7 MCU support
  ARM: versatile: remove mps2 support
  ARM: at91: remove samv7 support
  ARM: axxia: remove entire platform

 Documentation/arch/arm/index.rst              |    9 -
 Documentation/arch/arm/marvell.rst            |   15 +-
 Documentation/arch/arm/microchip.rst          |   39 -
 Documentation/arch/arm/netwinder.rst          |   85 -
 Documentation/arch/arm/sa1100/assabet.rst     |  301 ---
 Documentation/arch/arm/sa1100/cerf.rst        |   35 -
 Documentation/arch/arm/sa1100/index.rst       |   13 -
 Documentation/arch/arm/sa1100/lart.rst        |   15 -
 Documentation/arch/arm/sa1100/serial_uart.rst |   51 -
 Documentation/arch/arm/stm32/overview.rst     |    8 +-
 .../arch/arm/stm32/stm32f429-overview.rst     |   25 -
 .../arch/arm/stm32/stm32f746-overview.rst     |   32 -
 .../arch/arm/stm32/stm32f769-overview.rst     |   34 -
 .../arch/arm/stm32/stm32h743-overview.rst     |   33 -
 .../arch/arm/stm32/stm32h750-overview.rst     |   34 -
 .../devicetree/bindings/arm/atmel-at91.yaml   |   39 -
 .../devicetree/bindings/arm/axxia.yaml        |   23 -
 MAINTAINERS                                   |   48 -
 arch/arm/Kconfig                              |   63 +-
 arch/arm/Kconfig.debug                        |  104 +-
 arch/arm/Makefile                             |   15 -
 arch/arm/boot/bootp/Makefile                  |    2 -
 arch/arm/boot/compressed/Makefile             |    8 -
 arch/arm/boot/compressed/head-sa1100.S        |   45 -
 arch/arm/boot/compressed/head-sharpsl.S       |  151 --
 arch/arm/boot/compressed/head.S               |    7 -
 arch/arm/boot/dts/arm/Makefile                |    3 -
 arch/arm/boot/dts/arm/mps2-an385.dts          |   92 -
 arch/arm/boot/dts/arm/mps2-an399.dts          |   92 -
 arch/arm/boot/dts/arm/mps2.dtsi               |  220 --
 arch/arm/boot/dts/intel/Makefile              |    1 -
 arch/arm/boot/dts/intel/axm/Makefile          |    5 -
 .../boot/dts/intel/axm/axm5516-amarillo.dts   |   47 -
 arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi |  200 --
 arch/arm/boot/dts/intel/axm/axm55xx.dtsi      |  200 --
 arch/arm/boot/dts/nxp/imx/Makefile            |    5 -
 arch/arm/boot/dts/nxp/imx/imx31-bug.dts       |   22 -
 arch/arm/boot/dts/nxp/imx/imx31-lite.dts      |  178 --
 arch/arm/boot/dts/nxp/imx/imx31.dtsi          |  371 ----
 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts   |   72 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h |  993 ---------
 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi      |  160 --
 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 --------------
 arch/arm/boot/dts/nxp/lpc/Makefile            |    5 -
 arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi        |  543 -----
 arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts    |  221 --
 .../boot/dts/nxp/lpc/lpc4350-hitex-eval.dts   |  485 -----
 arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi        |   48 -
 .../dts/nxp/lpc/lpc4357-ea4357-devkit.dts     |  624 ------
 .../boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts  |  621 ------
 arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi        |   52 -
 arch/arm/boot/dts/nxp/vf/Makefile             |    2 -
 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts  |   61 -
 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts   |   88 -
 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi         |   61 -
 arch/arm/boot/dts/st/Makefile                 |   11 -
 arch/arm/boot/dts/st/stm32429i-eval.dts       |  349 ----
 arch/arm/boot/dts/st/stm32746g-eval.dts       |  236 ---
 arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi     |  482 -----
 arch/arm/boot/dts/st/stm32f429-disco.dts      |  243 ---
 arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi   |   91 -
 arch/arm/boot/dts/st/stm32f429.dtsi           |  800 --------
 arch/arm/boot/dts/st/stm32f469-disco.dts      |  260 ---
 arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi   |   92 -
 arch/arm/boot/dts/st/stm32f469.dtsi           |   18 -
 arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi     |  436 ----
 arch/arm/boot/dts/st/stm32f746-disco.dts      |  234 ---
 arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi   |   55 -
 arch/arm/boot/dts/st/stm32f746.dtsi           |  727 -------
 .../dts/st/stm32f769-disco-mb1166-reva09.dts  |   13 -
 arch/arm/boot/dts/st/stm32f769-disco.dts      |  243 ---
 arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi   |   55 -
 arch/arm/boot/dts/st/stm32f769.dtsi           |   37 -
 arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi     |  301 ---
 arch/arm/boot/dts/st/stm32h743.dtsi           |  738 -------
 arch/arm/boot/dts/st/stm32h743i-disco.dts     |  145 --
 arch/arm/boot/dts/st/stm32h743i-eval.dts      |  185 --
 arch/arm/boot/dts/st/stm32h747i-disco.dts     |  149 --
 arch/arm/boot/dts/st/stm32h750.dtsi           |    6 -
 arch/arm/boot/dts/st/stm32h750i-art-pi.dts    |  229 ---
 arch/arm/boot/dts/ti/omap/Makefile            |    6 -
 arch/arm/boot/dts/ti/omap/omap2.dtsi          |  338 ----
 .../arm/boot/dts/ti/omap/omap2420-clocks.dtsi |  267 ---
 arch/arm/boot/dts/ti/omap/omap2420-h4.dts     |   63 -
 arch/arm/boot/dts/ti/omap/omap2420-n800.dts   |    9 -
 .../boot/dts/ti/omap/omap2420-n810-wimax.dts  |    9 -
 arch/arm/boot/dts/ti/omap/omap2420-n810.dts   |   75 -
 .../dts/ti/omap/omap2420-n8x0-common.dtsi     |  123 --
 arch/arm/boot/dts/ti/omap/omap2420.dtsi       |  262 ---
 .../arm/boot/dts/ti/omap/omap2430-clocks.dtsi |  341 ----
 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts    |   70 -
 arch/arm/boot/dts/ti/omap/omap2430.dtsi       |  366 ----
 .../arm/boot/dts/ti/omap/omap24xx-clocks.dtsi | 1241 ------------
 arch/arm/common/Kconfig                       |   13 -
 arch/arm/common/Makefile                      |    4 -
 arch/arm/common/locomo.c                      |  886 --------
 arch/arm/common/sa1111.c                      | 1413 -------------
 arch/arm/common/scoop.c                       |  269 ---
 arch/arm/common/sharpsl_param.c               |   63 -
 arch/arm/configs/am200epdkit_defconfig        |   91 -
 arch/arm/configs/assabet_defconfig            |   57 -
 arch/arm/configs/axm55xx_defconfig            |  231 ---
 arch/arm/configs/collie_defconfig             |   87 -
 arch/arm/configs/dove_defconfig               |  134 --
 arch/arm/configs/footbridge_defconfig         |  114 --
 arch/arm/configs/h3600_defconfig              |   63 -
 arch/arm/configs/imx_v6_v7_defconfig          |    1 -
 arch/arm/configs/imxrt_defconfig              |   35 -
 arch/arm/configs/jornada720_defconfig         |   95 -
 arch/arm/configs/lpc18xx_defconfig            |  158 --
 arch/arm/configs/mps2_defconfig               |  102 -
 arch/arm/configs/mv78xx0_defconfig            |  120 --
 arch/arm/configs/neponset_defconfig           |   88 -
 arch/arm/configs/netwinder_defconfig          |   88 -
 arch/arm/configs/omap2plus_defconfig          |    4 -
 arch/arm/configs/spitz_defconfig              |  237 ---
 arch/arm/configs/stm32_defconfig              |   80 -
 arch/arm/configs/vf610m4_defconfig            |   39 -
 arch/arm/include/asm/cputype.h                |    4 -
 arch/arm/include/asm/hardware/dec21285.h      |  138 --
 arch/arm/include/asm/hardware/locomo.h        |  217 --
 arch/arm/include/asm/hardware/sa1111.h        |  442 ----
 arch/arm/include/asm/hardware/scoop.h         |   67 -
 arch/arm/include/asm/hardware/ssp.h           |   25 -
 arch/arm/include/asm/mach/pci.h               |   86 -
 arch/arm/include/asm/mach/sharpsl_param.h     |   33 -
 arch/arm/include/asm/pci.h                    |    3 -
 arch/arm/include/debug/dc21285.S              |   41 -
 arch/arm/include/debug/imx-uart.h             |   10 -
 arch/arm/include/debug/sa1100.S               |   67 -
 arch/arm/kernel/atags_parse.c                 |   18 -
 arch/arm/kernel/bios32.c                      |  254 ---
 arch/arm/kernel/head.S                        |   10 -
 arch/arm/mach-at91/Kconfig                    |   11 +-
 arch/arm/mach-at91/Makefile                   |    1 -
 arch/arm/mach-at91/samv7.c                    |   17 -
 arch/arm/mach-axxia/Kconfig                   |   17 -
 arch/arm/mach-axxia/Makefile                  |    3 -
 arch/arm/mach-axxia/axxia.c                   |   19 -
 arch/arm/mach-axxia/platsmp.c                 |   87 -
 arch/arm/mach-dove/Kconfig                    |   32 -
 arch/arm/mach-dove/Makefile                   |    7 -
 arch/arm/mach-dove/bridge-regs.h              |   50 -
 arch/arm/mach-dove/cm-a510.c                  |   94 -
 arch/arm/mach-dove/common.c                   |  449 ----
 arch/arm/mach-dove/common.h                   |   46 -
 arch/arm/mach-dove/dove.h                     |  185 --
 arch/arm/mach-dove/irq.c                      |   81 -
 arch/arm/mach-dove/irqs.h                     |   89 -
 arch/arm/mach-dove/mpp.c                      |  159 --
 arch/arm/mach-dove/mpp.h                      |  197 --
 arch/arm/mach-dove/pcie.c                     |  226 ---
 arch/arm/mach-dove/pm.h                       |   58 -
 arch/arm/mach-footbridge/Kconfig              |   57 -
 arch/arm/mach-footbridge/Makefile             |   18 -
 arch/arm/mach-footbridge/common.c             |  280 ---
 arch/arm/mach-footbridge/common.h             |   15 -
 arch/arm/mach-footbridge/dc21285-timer.c      |  136 --
 arch/arm/mach-footbridge/dc21285.c            |  360 ----
 arch/arm/mach-footbridge/dma-isa.c            |  230 ---
 arch/arm/mach-footbridge/ebsa285-pci.c        |   48 -
 arch/arm/mach-footbridge/ebsa285.c            |  124 --
 .../mach-footbridge/include/mach/hardware.h   |   90 -
 arch/arm/mach-footbridge/include/mach/irqs.h  |   97 -
 .../mach-footbridge/include/mach/isa-dma.h    |   18 -
 .../arm/mach-footbridge/include/mach/memory.h |   26 -
 .../mach-footbridge/include/mach/uncompress.h |   34 -
 arch/arm/mach-footbridge/isa-irq.c            |  177 --
 arch/arm/mach-footbridge/isa-rtc.c            |   57 -
 arch/arm/mach-footbridge/isa-timer.c          |   36 -
 arch/arm/mach-footbridge/isa.c                |   94 -
 arch/arm/mach-footbridge/netwinder-hw.c       |  772 -------
 arch/arm/mach-footbridge/netwinder-pci.c      |   62 -
 arch/arm/mach-imx/Kconfig                     |   38 +-
 arch/arm/mach-imx/Makefile                    |    4 -
 arch/arm/mach-imx/common.h                    |    2 -
 arch/arm/mach-imx/cpu-imx31.c                 |   72 -
 arch/arm/mach-imx/mach-imx31.c                |   18 -
 arch/arm/mach-imx/mach-imx7d-cm4.c            |   18 -
 arch/arm/mach-imx/mach-imxrt.c                |   19 -
 arch/arm/mach-imx/mach-vf610.c                |    1 -
 arch/arm/mach-imx/mm-imx3.c                   |   44 -
 arch/arm/mach-lpc18xx/Makefile                |    2 -
 arch/arm/mach-lpc18xx/board-dt.c              |   19 -
 arch/arm/mach-mv78xx0/Kconfig                 |   27 -
 arch/arm/mach-mv78xx0/Makefile                |    5 -
 arch/arm/mach-mv78xx0/bridge-regs.h           |   31 -
 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c     |  183 --
 arch/arm/mach-mv78xx0/common.c                |  444 ----
 arch/arm/mach-mv78xx0/common.h                |   54 -
 arch/arm/mach-mv78xx0/irq.c                   |   69 -
 arch/arm/mach-mv78xx0/irqs.h                  |   87 -
 arch/arm/mach-mv78xx0/mpp.c                   |   34 -
 arch/arm/mach-mv78xx0/mpp.h                   |  337 ---
 arch/arm/mach-mv78xx0/mv78xx0.h               |  134 --
 arch/arm/mach-mv78xx0/pcie.c                  |  280 ---
 arch/arm/mach-mvebu/Makefile                  |    2 -
 arch/arm/mach-omap2/Kconfig                   |   62 +-
 arch/arm/mach-omap2/Makefile                  |   63 +-
 arch/arm/mach-omap2/board-generic.c           |   34 -
 arch/arm/mach-omap2/board-n8x0.c              |  512 -----
 arch/arm/mach-omap2/clkt2xxx_dpll.c           |   56 -
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c       |  194 --
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c  |  259 ---
 arch/arm/mach-omap2/clock.c                   |   12 +-
 arch/arm/mach-omap2/clock2xxx.h               |   17 -
 arch/arm/mach-omap2/clockdomain.c             |    4 +-
 arch/arm/mach-omap2/clockdomain.h             |    5 -
 arch/arm/mach-omap2/clockdomains2420_data.c   |  154 --
 arch/arm/mach-omap2/clockdomains2430_data.c   |  181 --
 .../mach-omap2/clockdomains2xxx_3xxx_data.c   |   29 +-
 arch/arm/mach-omap2/cm-regbits-24xx.h         |   51 -
 arch/arm/mach-omap2/cm2xxx.c                  |  302 ---
 arch/arm/mach-omap2/cm2xxx.h                  |   60 -
 arch/arm/mach-omap2/cm_common.c               |   12 -
 arch/arm/mach-omap2/common-board-devices.h    |   11 -
 arch/arm/mach-omap2/common.h                  |   12 -
 arch/arm/mach-omap2/control.h                 |   56 -
 arch/arm/mach-omap2/display.c                 |    4 +-
 arch/arm/mach-omap2/dma.c                     |   53 +-
 arch/arm/mach-omap2/fb.c                      |   14 +-
 arch/arm/mach-omap2/gpmc.h                    |   10 -
 arch/arm/mach-omap2/i2c.c                     |    2 +-
 arch/arm/mach-omap2/id.c                      |   80 +-
 arch/arm/mach-omap2/io.c                      |  140 +-
 arch/arm/mach-omap2/iomap.h                   |   46 -
 arch/arm/mach-omap2/l3_2xxx.h                 |   15 -
 arch/arm/mach-omap2/l4_2xxx.h                 |   19 -
 arch/arm/mach-omap2/mmc.h                     |   18 -
 arch/arm/mach-omap2/msdi.c                    |   75 -
 arch/arm/mach-omap2/omap2-restart.c           |   62 -
 arch/arm/mach-omap2/omap24xx.h                |   73 -
 arch/arm/mach-omap2/omap_hwmod.c              |   20 +-
 arch/arm/mach-omap2/omap_hwmod.h              |    2 -
 arch/arm/mach-omap2/omap_hwmod_2420_data.c    |  402 ----
 arch/arm/mach-omap2/omap_hwmod_2430_data.c    |  606 ------
 .../omap_hwmod_2xxx_interconnect_data.c       |  256 ---
 .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c |  668 ------
 arch/arm/mach-omap2/omap_hwmod_common_data.h  |   66 -
 arch/arm/mach-omap2/opp2420_data.c            |  131 --
 arch/arm/mach-omap2/opp2430_data.c            |  136 --
 arch/arm/mach-omap2/opp2xxx.h                 |  430 ----
 arch/arm/mach-omap2/pdata-quirks.c            |   37 +-
 arch/arm/mach-omap2/pm.h                      |    5 -
 arch/arm/mach-omap2/powerdomain.h             |    3 -
 arch/arm/mach-omap2/powerdomains2xxx_data.c   |  134 --
 arch/arm/mach-omap2/prcm-common.h             |  147 --
 arch/arm/mach-omap2/prm-regbits-24xx.h        |   39 -
 arch/arm/mach-omap2/prm2xxx.c                 |  229 ---
 arch/arm/mach-omap2/prm2xxx.h                 |  128 --
 arch/arm/mach-omap2/prm2xxx_3xxx.c            |    1 -
 arch/arm/mach-omap2/prm_common.c              |   11 -
 arch/arm/mach-omap2/sdrc.h                    |   21 -
 arch/arm/mach-omap2/sdrc2xxx.c                |  164 --
 arch/arm/mach-omap2/sleep24xx.S               |   91 -
 arch/arm/mach-omap2/soc.h                     |   59 -
 arch/arm/mach-omap2/sram.c                    |  159 +-
 arch/arm/mach-omap2/sram.h                    |   32 -
 arch/arm/mach-omap2/sram242x.S                |  317 ---
 arch/arm/mach-omap2/sram243x.S                |  317 ---
 arch/arm/mach-omap2/usb-tusb6010.c            |  217 --
 arch/arm/mach-omap2/usb-tusb6010.h            |   12 -
 arch/arm/mach-omap2/voltage.h                 |    1 -
 arch/arm/mach-omap2/voltagedomains2xxx_data.c |   29 -
 arch/arm/mach-orion5x/Kconfig                 |   95 -
 arch/arm/mach-orion5x/Makefile                |   13 +-
 arch/arm/mach-orion5x/board-d2net.c           |    2 -
 arch/arm/mach-orion5x/board-dt.c              |    4 +-
 arch/arm/mach-orion5x/board-mss2.c            |    1 -
 arch/arm/mach-orion5x/board-rd88f5182.c       |    1 -
 arch/arm/mach-orion5x/common.c                |  238 +--
 arch/arm/mach-orion5x/common.h                |   34 +-
 arch/arm/mach-orion5x/dns323-setup.c          |  757 -------
 arch/arm/mach-orion5x/irq.c                   |   51 -
 arch/arm/mach-orion5x/irqs.h                  |    9 -
 arch/arm/mach-orion5x/kurobox_pro-setup.c     |  407 ----
 arch/arm/mach-orion5x/mpp.c                   |   41 -
 arch/arm/mach-orion5x/mpp.h                   |  130 --
 arch/arm/mach-orion5x/mv2120-setup.c          |  256 ---
 arch/arm/mach-orion5x/net2big-setup.c         |  444 ----
 arch/arm/mach-orion5x/pci.c                   |  429 +++-
 .../arm/mach-orion5x/terastation_pro2-setup.c |  366 ----
 arch/arm/mach-orion5x/ts209-setup.c           |  331 ---
 arch/arm/mach-orion5x/ts409-setup.c           |  329 ---
 arch/arm/mach-orion5x/ts78xx-fpga.h           |   42 -
 arch/arm/mach-orion5x/ts78xx-setup.c          |  574 ------
 arch/arm/mach-orion5x/tsx09-common.c          |  129 --
 arch/arm/mach-orion5x/tsx09-common.h          |   21 -
 arch/arm/mach-pxa/Kconfig                     |   89 -
 arch/arm/mach-pxa/Makefile                    |    8 -
 arch/arm/mach-pxa/am200epd.c                  |  395 ----
 arch/arm/mach-pxa/am300epd.c                  |  296 ---
 arch/arm/mach-pxa/devices.c                   |  705 -------
 arch/arm/mach-pxa/devices.h                   |   68 -
 arch/arm/mach-pxa/generic.h                   |    5 -
 arch/arm/mach-pxa/gumstix.c                   |  237 ---
 arch/arm/mach-pxa/gumstix.h                   |   89 -
 arch/arm/mach-pxa/pxa25x.c                    |   59 -
 arch/arm/mach-pxa/pxa27x.c                    |   77 -
 arch/arm/mach-pxa/pxa300.c                    |    1 -
 arch/arm/mach-pxa/pxa320.c                    |    1 -
 arch/arm/mach-pxa/pxa3xx.c                    |    6 -
 arch/arm/mach-pxa/sharpsl_pm.c                |  941 ---------
 arch/arm/mach-pxa/sharpsl_pm.h                |  108 -
 arch/arm/mach-pxa/spitz.c                     | 1174 -----------
 arch/arm/mach-pxa/spitz.h                     |  185 --
 arch/arm/mach-pxa/spitz_pm.c                  |  257 ---
 arch/arm/mach-sa1100/Kconfig                  |   92 -
 arch/arm/mach-sa1100/Makefile                 |   20 -
 arch/arm/mach-sa1100/assabet.c                |  770 -------
 arch/arm/mach-sa1100/clock.c                  |  145 --
 arch/arm/mach-sa1100/collie.c                 |  447 ----
 arch/arm/mach-sa1100/generic.c                |  470 -----
 arch/arm/mach-sa1100/generic.h                |   58 -
 arch/arm/mach-sa1100/h3600.c                  |  134 --
 arch/arm/mach-sa1100/h3xxx.c                  |  305 ---
 arch/arm/mach-sa1100/include/mach/SA-1100.h   | 1798 -----------------
 arch/arm/mach-sa1100/include/mach/assabet.h   |   99 -
 arch/arm/mach-sa1100/include/mach/bitfield.h  |  113 --
 arch/arm/mach-sa1100/include/mach/collie.h    |   94 -
 arch/arm/mach-sa1100/include/mach/generic.h   |    1 -
 arch/arm/mach-sa1100/include/mach/h3xxx.h     |   81 -
 arch/arm/mach-sa1100/include/mach/hardware.h  |   56 -
 arch/arm/mach-sa1100/include/mach/irqs.h      |  101 -
 .../arm/mach-sa1100/include/mach/jornada720.h |   28 -
 arch/arm/mach-sa1100/include/mach/memory.h    |   37 -
 arch/arm/mach-sa1100/include/mach/mtd-xip.h   |   23 -
 arch/arm/mach-sa1100/include/mach/neponset.h  |   31 -
 arch/arm/mach-sa1100/include/mach/reset.h     |   18 -
 .../arm/mach-sa1100/include/mach/uncompress.h |   52 -
 arch/arm/mach-sa1100/jornada720.c             |  380 ----
 arch/arm/mach-sa1100/jornada720_ssp.c         |  202 --
 arch/arm/mach-sa1100/neponset.c               |  438 ----
 arch/arm/mach-sa1100/pm.c                     |  128 --
 arch/arm/mach-sa1100/sleep.S                  |  143 --
 arch/arm/mach-sa1100/ssp.c                    |  240 ---
 arch/arm/mach-stm32/Kconfig                   |   38 +-
 arch/arm/mach-stm32/board-dt.c                |    7 -
 arch/arm/mach-versatile/Kconfig               |   10 -
 arch/arm/mach-versatile/Makefile              |    3 -
 arch/arm/mach-versatile/v2m-mps2.c            |   17 -
 arch/arm/mm/Kconfig                           |    2 +-
 arch/arm/mm/init.c                            |    5 -
 arch/arm/mm/ioremap.c                         |    1 -
 arch/arm/mm/mmu.c                             |   16 -
 arch/arm/plat-orion/Makefile                  |    9 -
 arch/arm/plat-orion/common.c                  |  826 --------
 arch/arm/plat-orion/gpio.c                    |  616 ------
 arch/arm/plat-orion/include/plat/addr-map.h   |   54 -
 arch/arm/plat-orion/include/plat/common.h     |  104 -
 arch/arm/plat-orion/include/plat/irq.h        |   15 -
 arch/arm/plat-orion/include/plat/mpp.h        |   34 -
 arch/arm/plat-orion/include/plat/orion-gpio.h |   38 -
 arch/arm/plat-orion/include/plat/pcie.h       |   34 -
 arch/arm/plat-orion/include/plat/time.h       |   20 -
 arch/arm/plat-orion/irq.c                     |   39 -
 arch/arm/plat-orion/mpp.c                     |   82 -
 arch/arm/plat-orion/pcie.c                    |  288 ---
 arch/arm/plat-orion/time.c                    |  238 ---
 drivers/ata/Kconfig                           |    3 +-
 drivers/crypto/Kconfig                        |    2 +-
 drivers/i2c/busses/Kconfig                    |    2 +-
 drivers/media/platform/ti/omap/Kconfig        |    4 +-
 drivers/mmc/host/Kconfig                      |    2 +-
 drivers/mtd/nand/onenand/Kconfig              |    4 +-
 drivers/pci/controller/Kconfig                |    2 +-
 drivers/pci/controller/pci-mvebu.c            |    5 -
 drivers/phy/marvell/Kconfig                   |    2 +-
 drivers/rtc/Kconfig                           |    8 +-
 drivers/rtc/rtc-sa1100.c                      |   17 +-
 drivers/soc/Makefile                          |    1 -
 drivers/soc/atmel/soc.c                       |   36 -
 drivers/soc/atmel/soc.h                       |   26 -
 drivers/thermal/Kconfig                       |    2 +-
 drivers/video/console/Kconfig                 |    6 +-
 drivers/video/console/dummycon.c              |    6 -
 drivers/video/fbdev/cyber2000fb.c             |   10 -
 drivers/video/fbdev/omap2/omapfb/Kconfig      |    2 +-
 drivers/watchdog/Kconfig                      |   14 +-
 include/linux/clk/ti.h                        |    8 -
 sound/soc/kirkwood/Kconfig                    |    2 +-
 381 files changed, 567 insertions(+), 55511 deletions(-)
 delete mode 100644 Documentation/arch/arm/netwinder.rst
 delete mode 100644 Documentation/arch/arm/sa1100/assabet.rst
 delete mode 100644 Documentation/arch/arm/sa1100/cerf.rst
 delete mode 100644 Documentation/arch/arm/sa1100/index.rst
 delete mode 100644 Documentation/arch/arm/sa1100/lart.rst
 delete mode 100644 Documentation/arch/arm/sa1100/serial_uart.rst
 delete mode 100644 Documentation/arch/arm/stm32/stm32f429-overview.rst
 delete mode 100644 Documentation/arch/arm/stm32/stm32f746-overview.rst
 delete mode 100644 Documentation/arch/arm/stm32/stm32f769-overview.rst
 delete mode 100644 Documentation/arch/arm/stm32/stm32h743-overview.rst
 delete mode 100644 Documentation/arch/arm/stm32/stm32h750-overview.rst
 delete mode 100644 Documentation/devicetree/bindings/arm/axxia.yaml
 delete mode 100644 arch/arm/boot/compressed/head-sa1100.S
 delete mode 100644 arch/arm/boot/compressed/head-sharpsl.S
 delete mode 100644 arch/arm/boot/dts/arm/mps2-an385.dts
 delete mode 100644 arch/arm/boot/dts/arm/mps2-an399.dts
 delete mode 100644 arch/arm/boot/dts/arm/mps2.dtsi
 delete mode 100644 arch/arm/boot/dts/intel/axm/Makefile
 delete mode 100644 arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts
 delete mode 100644 arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi
 delete mode 100644 arch/arm/boot/dts/intel/axm/axm55xx.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-bug.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-lite.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4350-hitex-eval.dts
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357-ea4357-devkit.dts
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts
 delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts
 delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts
 delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32429i-eval.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32746g-eval.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f429-disco.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f429.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f469-disco.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f469.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f746-disco.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f746.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32f769-disco.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32h743.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32h743i-disco.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32h743i-eval.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts
 delete mode 100644 arch/arm/boot/dts/st/stm32h750.dtsi
 delete mode 100644 arch/arm/boot/dts/st/stm32h750i-art-pi.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-h4.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n800.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi
 delete mode 100644 arch/arm/common/locomo.c
 delete mode 100644 arch/arm/common/sa1111.c
 delete mode 100644 arch/arm/common/scoop.c
 delete mode 100644 arch/arm/common/sharpsl_param.c
 delete mode 100644 arch/arm/configs/am200epdkit_defconfig
 delete mode 100644 arch/arm/configs/assabet_defconfig
 delete mode 100644 arch/arm/configs/axm55xx_defconfig
 delete mode 100644 arch/arm/configs/collie_defconfig
 delete mode 100644 arch/arm/configs/dove_defconfig
 delete mode 100644 arch/arm/configs/footbridge_defconfig
 delete mode 100644 arch/arm/configs/h3600_defconfig
 delete mode 100644 arch/arm/configs/imxrt_defconfig
 delete mode 100644 arch/arm/configs/jornada720_defconfig
 delete mode 100644 arch/arm/configs/lpc18xx_defconfig
 delete mode 100644 arch/arm/configs/mps2_defconfig
 delete mode 100644 arch/arm/configs/mv78xx0_defconfig
 delete mode 100644 arch/arm/configs/neponset_defconfig
 delete mode 100644 arch/arm/configs/netwinder_defconfig
 delete mode 100644 arch/arm/configs/spitz_defconfig
 delete mode 100644 arch/arm/configs/stm32_defconfig
 delete mode 100644 arch/arm/configs/vf610m4_defconfig
 delete mode 100644 arch/arm/include/asm/hardware/dec21285.h
 delete mode 100644 arch/arm/include/asm/hardware/locomo.h
 delete mode 100644 arch/arm/include/asm/hardware/sa1111.h
 delete mode 100644 arch/arm/include/asm/hardware/scoop.h
 delete mode 100644 arch/arm/include/asm/hardware/ssp.h
 delete mode 100644 arch/arm/include/asm/mach/pci.h
 delete mode 100644 arch/arm/include/asm/mach/sharpsl_param.h
 delete mode 100644 arch/arm/include/debug/dc21285.S
 delete mode 100644 arch/arm/include/debug/sa1100.S
 delete mode 100644 arch/arm/mach-at91/samv7.c
 delete mode 100644 arch/arm/mach-axxia/Kconfig
 delete mode 100644 arch/arm/mach-axxia/Makefile
 delete mode 100644 arch/arm/mach-axxia/axxia.c
 delete mode 100644 arch/arm/mach-axxia/platsmp.c
 delete mode 100644 arch/arm/mach-dove/Kconfig
 delete mode 100644 arch/arm/mach-dove/Makefile
 delete mode 100644 arch/arm/mach-dove/bridge-regs.h
 delete mode 100644 arch/arm/mach-dove/cm-a510.c
 delete mode 100644 arch/arm/mach-dove/common.c
 delete mode 100644 arch/arm/mach-dove/common.h
 delete mode 100644 arch/arm/mach-dove/dove.h
 delete mode 100644 arch/arm/mach-dove/irq.c
 delete mode 100644 arch/arm/mach-dove/irqs.h
 delete mode 100644 arch/arm/mach-dove/mpp.c
 delete mode 100644 arch/arm/mach-dove/mpp.h
 delete mode 100644 arch/arm/mach-dove/pcie.c
 delete mode 100644 arch/arm/mach-dove/pm.h
 delete mode 100644 arch/arm/mach-footbridge/Kconfig
 delete mode 100644 arch/arm/mach-footbridge/Makefile
 delete mode 100644 arch/arm/mach-footbridge/common.c
 delete mode 100644 arch/arm/mach-footbridge/common.h
 delete mode 100644 arch/arm/mach-footbridge/dc21285-timer.c
 delete mode 100644 arch/arm/mach-footbridge/dc21285.c
 delete mode 100644 arch/arm/mach-footbridge/dma-isa.c
 delete mode 100644 arch/arm/mach-footbridge/ebsa285-pci.c
 delete mode 100644 arch/arm/mach-footbridge/ebsa285.c
 delete mode 100644 arch/arm/mach-footbridge/include/mach/hardware.h
 delete mode 100644 arch/arm/mach-footbridge/include/mach/irqs.h
 delete mode 100644 arch/arm/mach-footbridge/include/mach/isa-dma.h
 delete mode 100644 arch/arm/mach-footbridge/include/mach/memory.h
 delete mode 100644 arch/arm/mach-footbridge/include/mach/uncompress.h
 delete mode 100644 arch/arm/mach-footbridge/isa-irq.c
 delete mode 100644 arch/arm/mach-footbridge/isa-rtc.c
 delete mode 100644 arch/arm/mach-footbridge/isa-timer.c
 delete mode 100644 arch/arm/mach-footbridge/isa.c
 delete mode 100644 arch/arm/mach-footbridge/netwinder-hw.c
 delete mode 100644 arch/arm/mach-footbridge/netwinder-pci.c
 delete mode 100644 arch/arm/mach-imx/cpu-imx31.c
 delete mode 100644 arch/arm/mach-imx/mach-imx31.c
 delete mode 100644 arch/arm/mach-imx/mach-imx7d-cm4.c
 delete mode 100644 arch/arm/mach-imx/mach-imxrt.c
 delete mode 100644 arch/arm/mach-lpc18xx/Makefile
 delete mode 100644 arch/arm/mach-lpc18xx/board-dt.c
 delete mode 100644 arch/arm/mach-mv78xx0/Kconfig
 delete mode 100644 arch/arm/mach-mv78xx0/Makefile
 delete mode 100644 arch/arm/mach-mv78xx0/bridge-regs.h
 delete mode 100644 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
 delete mode 100644 arch/arm/mach-mv78xx0/common.c
 delete mode 100644 arch/arm/mach-mv78xx0/common.h
 delete mode 100644 arch/arm/mach-mv78xx0/irq.c
 delete mode 100644 arch/arm/mach-mv78xx0/irqs.h
 delete mode 100644 arch/arm/mach-mv78xx0/mpp.c
 delete mode 100644 arch/arm/mach-mv78xx0/mpp.h
 delete mode 100644 arch/arm/mach-mv78xx0/mv78xx0.h
 delete mode 100644 arch/arm/mach-mv78xx0/pcie.c
 delete mode 100644 arch/arm/mach-omap2/board-n8x0.c
 delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpll.c
 delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpllcore.c
 delete mode 100644 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
 delete mode 100644 arch/arm/mach-omap2/clock2xxx.h
 delete mode 100644 arch/arm/mach-omap2/clockdomains2420_data.c
 delete mode 100644 arch/arm/mach-omap2/clockdomains2430_data.c
 delete mode 100644 arch/arm/mach-omap2/cm-regbits-24xx.h
 delete mode 100644 arch/arm/mach-omap2/cm2xxx.c
 delete mode 100644 arch/arm/mach-omap2/cm2xxx.h
 delete mode 100644 arch/arm/mach-omap2/common-board-devices.h
 delete mode 100644 arch/arm/mach-omap2/gpmc.h
 delete mode 100644 arch/arm/mach-omap2/l3_2xxx.h
 delete mode 100644 arch/arm/mach-omap2/l4_2xxx.h
 delete mode 100644 arch/arm/mach-omap2/mmc.h
 delete mode 100644 arch/arm/mach-omap2/msdi.c
 delete mode 100644 arch/arm/mach-omap2/omap2-restart.c
 delete mode 100644 arch/arm/mach-omap2/omap24xx.h
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2420_data.c
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2430_data.c
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
 delete mode 100644 arch/arm/mach-omap2/opp2420_data.c
 delete mode 100644 arch/arm/mach-omap2/opp2430_data.c
 delete mode 100644 arch/arm/mach-omap2/opp2xxx.h
 delete mode 100644 arch/arm/mach-omap2/powerdomains2xxx_data.c
 delete mode 100644 arch/arm/mach-omap2/prm-regbits-24xx.h
 delete mode 100644 arch/arm/mach-omap2/prm2xxx.c
 delete mode 100644 arch/arm/mach-omap2/prm2xxx.h
 delete mode 100644 arch/arm/mach-omap2/sdrc2xxx.c
 delete mode 100644 arch/arm/mach-omap2/sleep24xx.S
 delete mode 100644 arch/arm/mach-omap2/sram242x.S
 delete mode 100644 arch/arm/mach-omap2/sram243x.S
 delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.c
 delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.h
 delete mode 100644 arch/arm/mach-omap2/voltagedomains2xxx_data.c
 delete mode 100644 arch/arm/mach-orion5x/dns323-setup.c
 delete mode 100644 arch/arm/mach-orion5x/irq.c
 delete mode 100644 arch/arm/mach-orion5x/kurobox_pro-setup.c
 delete mode 100644 arch/arm/mach-orion5x/mpp.c
 delete mode 100644 arch/arm/mach-orion5x/mpp.h
 delete mode 100644 arch/arm/mach-orion5x/mv2120-setup.c
 delete mode 100644 arch/arm/mach-orion5x/net2big-setup.c
 delete mode 100644 arch/arm/mach-orion5x/terastation_pro2-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ts209-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ts409-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ts78xx-fpga.h
 delete mode 100644 arch/arm/mach-orion5x/ts78xx-setup.c
 delete mode 100644 arch/arm/mach-orion5x/tsx09-common.c
 delete mode 100644 arch/arm/mach-orion5x/tsx09-common.h
 delete mode 100644 arch/arm/mach-pxa/am200epd.c
 delete mode 100644 arch/arm/mach-pxa/am300epd.c
 delete mode 100644 arch/arm/mach-pxa/devices.h
 delete mode 100644 arch/arm/mach-pxa/gumstix.c
 delete mode 100644 arch/arm/mach-pxa/gumstix.h
 delete mode 100644 arch/arm/mach-pxa/sharpsl_pm.c
 delete mode 100644 arch/arm/mach-pxa/sharpsl_pm.h
 delete mode 100644 arch/arm/mach-pxa/spitz.c
 delete mode 100644 arch/arm/mach-pxa/spitz.h
 delete mode 100644 arch/arm/mach-pxa/spitz_pm.c
 delete mode 100644 arch/arm/mach-sa1100/Kconfig
 delete mode 100644 arch/arm/mach-sa1100/Makefile
 delete mode 100644 arch/arm/mach-sa1100/assabet.c
 delete mode 100644 arch/arm/mach-sa1100/clock.c
 delete mode 100644 arch/arm/mach-sa1100/collie.c
 delete mode 100644 arch/arm/mach-sa1100/generic.c
 delete mode 100644 arch/arm/mach-sa1100/generic.h
 delete mode 100644 arch/arm/mach-sa1100/h3600.c
 delete mode 100644 arch/arm/mach-sa1100/h3xxx.c
 delete mode 100644 arch/arm/mach-sa1100/include/mach/SA-1100.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/assabet.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/bitfield.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/collie.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/generic.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/h3xxx.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/hardware.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/irqs.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/jornada720.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/memory.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/mtd-xip.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/neponset.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/reset.h
 delete mode 100644 arch/arm/mach-sa1100/include/mach/uncompress.h
 delete mode 100644 arch/arm/mach-sa1100/jornada720.c
 delete mode 100644 arch/arm/mach-sa1100/jornada720_ssp.c
 delete mode 100644 arch/arm/mach-sa1100/neponset.c
 delete mode 100644 arch/arm/mach-sa1100/pm.c
 delete mode 100644 arch/arm/mach-sa1100/sleep.S
 delete mode 100644 arch/arm/mach-sa1100/ssp.c
 delete mode 100644 arch/arm/mach-versatile/v2m-mps2.c
 delete mode 100644 arch/arm/plat-orion/Makefile
 delete mode 100644 arch/arm/plat-orion/common.c
 delete mode 100644 arch/arm/plat-orion/gpio.c
 delete mode 100644 arch/arm/plat-orion/include/plat/addr-map.h
 delete mode 100644 arch/arm/plat-orion/include/plat/common.h
 delete mode 100644 arch/arm/plat-orion/include/plat/irq.h
 delete mode 100644 arch/arm/plat-orion/include/plat/mpp.h
 delete mode 100644 arch/arm/plat-orion/include/plat/orion-gpio.h
 delete mode 100644 arch/arm/plat-orion/include/plat/pcie.h
 delete mode 100644 arch/arm/plat-orion/include/plat/time.h
 delete mode 100644 arch/arm/plat-orion/irq.c
 delete mode 100644 arch/arm/plat-orion/mpp.c
 delete mode 100644 arch/arm/plat-orion/pcie.c
 delete mode 100644 arch/arm/plat-orion/time.c

-- 
2.53.0

Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Sudeep Holla <sudeep.holla@kernel.org>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Frank Li <Frank.Li@nxp.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Andreas Kemnade <andreas@kemnade.info>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Roger Quadros <rogerq@kernel.org>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: Linus Walleij <linusw@kernel.org>
Cc: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Karl Mehltretter <kmehltretter@gmail.com>
Cc: "David Hildenbrand (Arm)" <david@kernel.org>
Cc: Nicolas Pitre <npitre@baylibre.com>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Cc: imx@lists.linux.dev
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-omap@vger.kernel.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 00/14] ARM: deprecated platform removal
  2026-09-14 14:08 [PATCH v2 00/14] ARM: deprecated platform removal Arnd Bergmann
@ 2026-09-21 11:06 ` Yoshifumi SHU
  2026-09-25 13:30   ` Linus Walleij
  2026-10-01 12:40 ` Krzysztof Kozlowski
  1 sibling, 1 reply; 6+ messages in thread
From: Yoshifumi SHU @ 2026-09-21 11:06 UTC (permalink / raw)
  To: arnd
  Cc: Frank.Li, aaro.koskinen, alexander.sverdlin, alexandre.belloni,
	alexandre.torgue, andreas, andrew, arnd, claudiu.beznea, conor+dt,
	david, devicetree, enelsonmoore, festevam, geert, gregory.clement,
	imx, kernel, khilman, kmehltretter, kristoffer.ericson, krzk,
	linusw, linux-arm-kernel, linux-doc, linux-kernel, linux-omap,
	linux-stm32, linux, liviu.dudau, lpieralisi, mcoquelin.stm32,
	nicolas.ferre, npitre, robert.jarzmik, robh, rogerq, s.hauer,
	sebastian.hesselbarth, shawnguo, soc, stefan, sudeep.holla, tony,
	vz, thehajime

Hi Arnd and all,

I would like to request that the core Arm Cortex-M support be retained, specifically for v8-M.

I'm heavily using Arm Cortex-M / NOMMU Linux for academic research.
In particular, I frequently run Linux on newer Arm v8-M (Cortex-M33/M55/M85) processors.
However, dropping CONFIG_CPU_V7M also removes support for these newer CPUs.
Because v8-M is highly compatible with the older v7-M (Cortex-M3/M4/M7), the v8-M support is tightly coupled with CONFIG_CPU_V7M, despite the name. 
The major differences are essentially CPU IDs and PMSAv8 MPU support.
So I need the majority of CONFIG_CPU_V7M to support Arm v8-M. 

Regarding platform support, I don't need Linux-side device drivers.
In my current setup, Linux runs in a virtualized environment hosted by an RTOS (like Zephyr) and accesses devices through virtio served by the RTOS.
I also understand that maintaining legacy MCU platform support is a significant burden.
Therefore, I don't object to removing the platform support, though the MPS platform remains convenient for bare-metal testing.

I am willing to help maintain this support, including modernizing the relevant code. I can regularly test kernels on real Armv8-M hardware.
If an active maintainer is required to keep the support, I am willing to take on that responsibility.
Please let me know how I can help keep the support.

Thanks,
Yoshifumi


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 00/14] ARM: deprecated platform removal
  2026-09-21 11:06 ` Yoshifumi SHU
@ 2026-09-25 13:30   ` Linus Walleij
  2026-09-26 19:29     ` Yoshifumi SHU
  2026-11-22  0:37     ` Brad Hawthorne
  0 siblings, 2 replies; 6+ messages in thread
From: Linus Walleij @ 2026-09-25 13:30 UTC (permalink / raw)
  To: Yoshifumi SHU
  Cc: arnd, Frank.Li, aaro.koskinen, alexander.sverdlin,
	alexandre.belloni, alexandre.torgue, andreas, andrew, arnd,
	claudiu.beznea, conor+dt, david, devicetree, enelsonmoore,
	festevam, geert, gregory.clement, imx, kernel, khilman,
	kmehltretter, kristoffer.ericson, krzk, linux-arm-kernel,
	linux-doc, linux-kernel, linux-omap, linux-stm32, linux,
	liviu.dudau, lpieralisi, mcoquelin.stm32, nicolas.ferre, npitre,
	robert.jarzmik, robh, rogerq, s.hauer, sebastian.hesselbarth,
	shawnguo, soc, stefan, sudeep.holla, tony, vz, thehajime

On Mon, Sep 21, 2026 at 1:06 PM Yoshifumi SHU <envzhu@gmail.com> wrote:

> I would like to request that the core Arm Cortex-M support be retained, specifically for v8-M.
(...)
> I am willing to help maintain this support, including modernizing the relevant code. I can regularly test kernels on real Armv8-M hardware.
> If an active maintainer is required to keep the support, I am willing to take on that responsibility.
> Please let me know how I can help keep the support.

All right, now we're talking! Could you test and review this patch:
https://lore.kernel.org/linux-arm-kernel/20260910-arm-generic-irq-entry-v7-1-v3-1-5fd90f6859e1@kernel.org/

I do avoid touching the v7m path and it worked last time I tested
it  (on an STM32) but I'd like to see your take on it, AFAICT generic
entry is not really possible (easily) on v7m because of the
pendable service call mechanism but maybe we can think of a
really complicated solution? ;)

Yours,
Linus Walleij


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 00/14] ARM: deprecated platform removal
  2026-09-25 13:30   ` Linus Walleij
@ 2026-09-26 19:29     ` Yoshifumi SHU
  2026-11-22  0:37     ` Brad Hawthorne
  1 sibling, 0 replies; 6+ messages in thread
From: Yoshifumi SHU @ 2026-09-26 19:29 UTC (permalink / raw)
  To: Linus Walleij
  Cc: arnd, Frank.Li, aaro.koskinen, alexander.sverdlin,
	alexandre.belloni, alexandre.torgue, andreas, andrew, arnd,
	claudiu.beznea, conor+dt, david, devicetree, enelsonmoore,
	festevam, geert, gregory.clement, imx, kernel, khilman,
	kmehltretter, kristoffer.ericson, krzk, linux-arm-kernel,
	linux-doc, linux-kernel, linux-omap, linux-stm32, linux,
	liviu.dudau, lpieralisi, mcoquelin.stm32, nicolas.ferre, npitre,
	robert.jarzmik, robh, rogerq, s.hauer, sebastian.hesselbarth,
	shawnguo, soc, stefan, sudeep.holla, tony, vz, thehajime

On 2026/09/25 22:30, Linus Walleij wrote:
> All right, now we're talking! Could you test and review this patch:
> https://lore.kernel.org/linux-arm-kernel/20260910-arm-generic-irq-entry-v7-1-v3-1-5fd90f6859e1@kernel.org/

Thanks! I'll take a closer look at the patch and the discussion thread.

> I do avoid touching the v7m path and it worked last time I tested
> it  (on an STM32) but I'd like to see your take on it, AFAICT generic
> entry is not really possible (easily) on v7m because of the
> pendable service call mechanism but maybe we can think of a
> really complicated solution? ;)

I have experience wrestling with a PendSV-related problem in an RTOS kernel,
so I believe I can contribute to that part!

Best regards,
Yoshifumi SHU


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 00/14] ARM: deprecated platform removal
  2026-09-14 14:08 [PATCH v2 00/14] ARM: deprecated platform removal Arnd Bergmann
  2026-09-21 11:06 ` Yoshifumi SHU
@ 2026-10-01 12:40 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-01 12:40 UTC (permalink / raw)
  To: soc, Arnd Bergmann
  Cc: Arnd Bergmann, Rob Herring, Conor Dooley, Russell King,
	Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Vladimir Zapolskiy, Stefan Agner, Maxime Coquelin,
	Alexandre Torgue, Aaro Koskinen, Andreas Kemnade, Kevin Hilman,
	Roger Quadros, Tony Lindgren, Nicolas Ferre, Alexandre Belloni,
	Claudiu Beznea, Andrew Lunn, Sebastian Hesselbarth,
	Gregory Clement, Robert Jarzmik, Kristoffer Ericson,
	Linus Walleij, Ethan Nelson-Moore, Geert Uytterhoeven,
	Alexander Sverdlin, Shawn Guo, Karl Mehltretter,
	David Hildenbrand (Arm), Nicolas Pitre, linux-doc, linux-kernel,
	linux-arm-kernel, devicetree, imx, linux-stm32, linux-omap


On Mon, 14 Sep 2026 16:08:02 +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> In the 7.3 kernel, I marked a number of platforms and features as
> deprecated, with the plan to keep these around for the LTS kernel, but
> remove them in 7.4, see [1].
> 
> Cleaning out the deprecated platform code has turned into a larger effort
> than I expected, currently standing at 300 patches, with a lot of them
> still in need of being split up into smaller ones, see [2] for a current
> snapshot.
> 
> [...]

Applied, thanks!

[01/14] ARM: remove sa1100 platform
        https://git.kernel.org/soc/soc/c/95664df86fdf6e70e411ad9e3910b402489a22c3
[02/14] ARM: remove footbridge
        https://git.kernel.org/soc/soc/c/21b5f207cb8b1d0a819dd1799ef8c56178d5b1d7
[03/14] ARM: remove legacy pxa board files
        https://git.kernel.org/soc/soc/c/538532cd1532f44e7c2519ecd3dfbcbed08061e2
[04/14] ARM: orion/dove/mv78xx0: remove all board files
        https://git.kernel.org/soc/soc/c/f98cb2a43e0efa32ed8723df8d687acdb69dab06
[05/14] ARM: orion5x: fold plat-orion/pcie.c and hw_pci into pci.c
        https://git.kernel.org/soc/soc/c/4fa61946d7c3e6da57a6db11551fa2ac17078370
[06/14] ARM: omap2: remove omap24xx support
        https://git.kernel.org/soc/soc/c/cbd33c61480b8fa64046d956f4f68bca5cf68fbe
[07/14] ARM: imx: remove i.MX31 SoC support
        https://git.kernel.org/soc/soc/c/104a7a07163962fe259a2e5272fb70446f19793b
[08/14] ARM: versatile: remove Integrator/CM1136JF-S option
        https://git.kernel.org/soc/soc/c/1fbbfb51f20f3d0a1da6b542d7f29acc29815403
[09/14] ARM: imx: remove nommu support
        https://git.kernel.org/soc/soc/c/2e1031df3c5f64f96660074f695e3b24e4bd3018
[10/14] ARM: lpc18xx: remove entire platform
        https://git.kernel.org/soc/soc/c/31431dc97977003efbd4fb25e77aec8744338280
[11/14] ARM: stm32: remove stm32f4/f7/h7 MCU support
        https://git.kernel.org/soc/soc/c/6fa463cad26fed984b62a764345e65a98fd0a30a
[12/14] ARM: versatile: remove mps2 support
        https://git.kernel.org/soc/soc/c/1b983b0549163d4016574b0043664cdb47eea8cd
[13/14] ARM: at91: remove samv7 support
        https://git.kernel.org/soc/soc/c/1b9867b95e1e4a88c80b2e5612b7092b90ae3f88
[14/14] ARM: axxia: remove entire platform
        https://git.kernel.org/soc/soc/c/af4f7acd7b73780c7fece5d156e7d9a7791a60af

Best regards,
-- 
Krzysztof Kozlowski <krzk@kernel.org>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 00/14] ARM: deprecated platform removal
  2026-09-25 13:30   ` Linus Walleij
  2026-09-26 19:29     ` Yoshifumi SHU
@ 2026-11-22  0:37     ` Brad Hawthorne
  1 sibling, 0 replies; 6+ messages in thread
From: Brad Hawthorne @ 2026-11-22  0:37 UTC (permalink / raw)
  To: Yoshifumi SHU, Linus Walleij, Arnd Bergmann
  Cc: Brad Hawthorne, linux-arm-kernel, linux-kernel


Hi Arnd, Linus, Yoshifumi,

A second ARMv8-M user, in support of keeping CONFIG_CPU_V7M for v8-M.

I run Linux on the Raspberry Pi RP2350 (dual Cortex-M33, 520 KiB SRAM,
8 MiB PSRAM, XIP from QSPI flash) on an Adafruit Fruit Jam board. It
boots v7.4-rc3 to a userspace shell over the SoC's own USB device
controller, with the kernel executing in place from flash. Like
Yoshifumi I need the v7-M core, PMSAv8 and the NVIC far more than any
one platform, and I don't object to the MCU platform removals. The
Fruit Jam is a small self-contained computer (HDMI, USB host, SD card,
Wi-Fi), and I am preparing a public developer preview of this Linux for
it, so the core has users beyond me. On the RP2350 I use PMSAv8 to give
each process its own MPU windows, so a user program cannot write another
program's memory or the kernel's; that work is out of tree for now.

I tested the generic IRQ entry work on the board, v7.4-rc3 plus the
RP2350 platform patches, each case in its own process: a register-heavy
loop under a 1 ms SIGALRM, 1 ms sleeps, a pipe ping-pong between two
processes under timers, and rseq critical sections interrupted by a
signal and by preemption from a busy competitor (9000 sections):

                          rseq aborts on preemption   other cases
  v7.4-rc3                  820                         pass
  + Linus's v3                0 (all 9000 commit)       pass
  + v3 + Yoshifumi's RFC    802                         pass

So on hardware, as under QEMU (mps2-an385 and -an505) and as Yoshifumi
described, v3 alone lets a preempted rseq critical section commit on
v7-M instead of aborting, and the RFC fixes it. Signal-delivered aborts
work in all three. For the RFC on top of v3:

Tested-by: Brad Hawthorne <brad@sim.vu> # RP2350 (Cortex-M33)

Under QEMU, Yoshifumi's one-line arm_rseq_user_enter() call in
__pendsv_entry also closes the gap on v3 alone, if v3 should go first.

While bringing the board up I found a few things in the shared code:

 - mm/nommu: mremap() resizing in place updates vm_end but not the
   maple tree, so a shrunk VMA leaves a stale range that points at the
   VMA after it is freed. With Hajime Tazaki's agreement I've sent a
   minimal fix to linux-mm:
   https://lore.kernel.org/linux-mm/20261121083139.803682-1-brad@sim.vu/

 - irq-nvic: the priority registers are written at the wrong offset.
   Yoshifumi already found this, so I'll leave it to his series and
   test it on the RP2350, where the board does not take interrupts
   without it. For his changelog: the offset was right (0x300 from the
   node's base, ISER0 at 0xe000e100) until c5e0cbe2858d ("irqchip:
   nvic: Fix offset for Interrupt Priority Offsets") made it 0x400,
   taking 0xe000e400 as an offset from 0xe000e000; that commit went to
   stable as far back as 4.19, so the fix wants Fixes: c5e0cbe2858d
   and Cc stable.

 - v7-M itself: five patches, ready as an RFC series, each run on the
   board with and without it on v7.4-rc3:
     * an XIP kernel with HARDENED_USERCOPY BUGs on its first readdir
       (_etext ends after .rodata), a stable fix that stands alone;
     * a user program's fault stops the machine; with the patch it is
       a signal (SIGFPE, SIGTRAP, SIGILL, SIGBUS, SIGSEGV);
     * CPACR and CONTROL are inherited from the loader, so user space
       gets the FPU with no FP state switched;
     * on v8-M Mainline, MSPLIM catches a kernel stack overflow, which
       today runs past the stack unnoticed;
     * the Cortex-M33's ACTLR.EXTEXCLALL, set by pico-sdk loaders,
       makes every STREX to the RP2350's PSRAM fail, so the kernel
       never reaches its console.
   Two of them change __irq_entry and __pendsv_entry, which
   Yoshifumi's RFC rewrites, and they don't apply together. I'd rather
   rebase onto the generic entry work than collide: would you prefer
   them on top of it, and is linux-arm-kernel the right home?

Arnd, one question about the plan for the CPUs. After the 7.5
removals, nothing in-tree selects ARM_SINGLE_ARMV7M but !MMU itself,
and no board's device tree uses the v7-M core; Yoshifumi's boards and
mine are out of tree. Would a small RP2350 platform (DT, timer, clocks,
resets, watchdog), run on hardware for each -rc, be a welcome in-tree
user of CPU_V7M, or would you rather keep the core with no platform
and boards out of tree? I'd hold the platform series until the core
question is settled either way.

A note on method: I use an AI coding assistant for parts of this work.
Everything I send is reviewed, tested on hardware and signed off by me,
and each changelog says what the assistant did, per
Documentation/process/coding-assistants.rst.

Thanks,
Brad Hawthorne



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-22  0:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 14:08 [PATCH v2 00/14] ARM: deprecated platform removal Arnd Bergmann
2026-09-21 11:06 ` Yoshifumi SHU
2026-09-25 13:30   ` Linus Walleij
2026-09-26 19:29     ` Yoshifumi SHU
2026-11-22  0:37     ` Brad Hawthorne
2026-10-01 12:40 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox