mbox series

[GIT,PULL] IXP4xx spring cleaning patches

Message ID CACRpkdahK-jaHFqLCpSqiXwAtkSKbhWQZ9jaSo6rRzHfSiECkA@mail.gmail.com (mailing list archive)
State Accepted
Commit 543f7961c204cba5c1cd22c7c7a7c0cce34003fc
Headers show
Series [GIT,PULL] IXP4xx spring cleaning patches | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git tags/ixp4xx-cleanup-for-v5.18

Message

Linus Walleij Feb. 12, 2022, 5:27 p.m. UTC
Hi SoC folks,

here is the spring cleaning of IXP4xx, after this we only do
device tree boots and we dropped a ton of legacy code in
favor of proper drivers, most notable the PCI driver.

The two network subsystem-touching patches have been
ACKed by Jakub.

I copied the cover letter from the series into the signed tag,
we can do multiplatform next but it requires some
bigendian troubleshooting.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

  Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
tags/ixp4xx-cleanup-for-v5.18

for you to fetch changes up to 06954b6a9e6a303b4782d543f5299b3b4020fd1f:

  ARM: ixp4xx: Convert to SPARSE_IRQ and P2V (2022-02-12 18:20:04 +0100)

----------------------------------------------------------------
This cleans out the remaining board files from IXP4xx and
makes it an exclusive device tree subarchitecture without any
special weirdness in arch/arm/mach-ixp4xx.

The biggest noticeable change is the removal of the old PCI
driver and along with that the removal of the special DMA
coherency code and defines and the DMA bouncing.

I tried to convert the IXP4xx to multiplatform on top of
this but it didn't work because IXP4xx wants to be big
endian and multiplatform config creates a problem like
this:

../arch/arm/kernel/head.S: Assembler messages:
../arch/arm/kernel/head.S:94: Error: selected processor does not
support `setend be' in ARM mode

I think this is because MULTI_V5 turns on CPUs that cannot
do big endian, and IXP4xx turn on big endian. (It crashes if
I try to boot in little endian mode, sorry. It really wants
to run big endian.)

But before fixing multiplatform we can fix all of this!

The networking patches are dependencies so I am requesting
ACKs from the network maintainers on these.

----------------------------------------------------------------
Linus Walleij (12):
      ARM: ixp4xx: Delete the Goramo MLR boardfile
      ARM: ixp4xx: Delete old PCI driver
      ARM: ixp4xx: Drop stale Kconfig entry
      ARM: ixp4xx: Drop UDC info setting function
      soc: ixp4xx: Add features from regmap helper
      soc: ixp4xx-npe: Access syscon regs using regmap
      net: ixp4xx_eth: Drop platform data support
      net: ixp4xx_hss: Check features using syscon
      ARM: ixp4xx: Remove feature bit accessors
      ARM: ixp4xx: Drop custom DMA coherency and bouncing
      ARM: ixp4xx: Drop all common code
      ARM: ixp4xx: Convert to SPARSE_IRQ and P2V

Zoltan HERPAI (1):
      ARM: ixp4xx: Delete Gateway 7001 boardfiles

 arch/arm/Kconfig                                |  11 +-
 arch/arm/mach-ixp4xx/Kconfig                    |  57 ---
 arch/arm/mach-ixp4xx/Makefile                   |  19 +-
 arch/arm/mach-ixp4xx/common-pci.c               | 451 --------------------
 arch/arm/mach-ixp4xx/common.c                   | 448 -------------------
 arch/arm/mach-ixp4xx/gateway7001-pci.c          |  61 ---
 arch/arm/mach-ixp4xx/gateway7001-setup.c        | 113 -----
 arch/arm/mach-ixp4xx/goramo_mlr.c               | 532 -----------------------
 arch/arm/mach-ixp4xx/include/mach/hardware.h    |  32 --
 arch/arm/mach-ixp4xx/include/mach/io.h          | 545 ------------------------
 arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h | 303 -------------
 arch/arm/mach-ixp4xx/include/mach/platform.h    | 102 -----
 arch/arm/mach-ixp4xx/include/mach/udc.h         |   8 -
 arch/arm/mach-ixp4xx/include/mach/uncompress.h  |   4 +-
 arch/arm/mach-ixp4xx/irqs.h                     |  64 ---
 drivers/crypto/ixp4xx_crypto.c                  |   1 -
 drivers/net/ethernet/xscale/Kconfig             |   4 +-
 drivers/net/ethernet/xscale/ixp4xx_eth.c        |  85 +---
 drivers/net/ethernet/xscale/ptp_ixp46x.c        |   1 -
 drivers/net/wan/Kconfig                         |   3 +-
 drivers/net/wan/ixp4xx_hss.c                    |  39 +-
 drivers/soc/ixp4xx/Kconfig                      |   1 +
 drivers/soc/ixp4xx/ixp4xx-npe.c                 |  33 +-
 include/linux/platform_data/eth_ixp4xx.h        |  21 -
 include/linux/platform_data/wan_ixp4xx_hss.h    |  17 -
 include/linux/soc/ixp4xx/cpu.h                  |  26 +-
 include/linux/soc/ixp4xx/npe.h                  |   2 +
 kernel/dma/mapping.c                            |   2 -
 28 files changed, 99 insertions(+), 2886 deletions(-)
 delete mode 100644 arch/arm/mach-ixp4xx/common-pci.c
 delete mode 100644 arch/arm/mach-ixp4xx/common.c
 delete mode 100644 arch/arm/mach-ixp4xx/gateway7001-pci.c
 delete mode 100644 arch/arm/mach-ixp4xx/gateway7001-setup.c
 delete mode 100644 arch/arm/mach-ixp4xx/goramo_mlr.c
 delete mode 100644 arch/arm/mach-ixp4xx/include/mach/hardware.h
 delete mode 100644 arch/arm/mach-ixp4xx/include/mach/io.h
 delete mode 100644 arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
 delete mode 100644 arch/arm/mach-ixp4xx/include/mach/platform.h
 delete mode 100644 arch/arm/mach-ixp4xx/include/mach/udc.h
 delete mode 100644 arch/arm/mach-ixp4xx/irqs.h
 delete mode 100644 include/linux/platform_data/eth_ixp4xx.h
 delete mode 100644 include/linux/platform_data/wan_ixp4xx_hss.h

Comments

patchwork-bot+linux-soc@kernel.org Feb. 25, 2022, 5:21 p.m. UTC | #1
Hello:

This pull request was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Sat, 12 Feb 2022 18:27:14 +0100 you wrote:
> Hi SoC folks,
> 
> here is the spring cleaning of IXP4xx, after this we only do
> device tree boots and we dropped a ton of legacy code in
> favor of proper drivers, most notable the PCI driver.
> 
> The two network subsystem-touching patches have been
> ACKed by Jakub.
> 
> [...]

Here is the summary with links:
  - [GIT,PULL] IXP4xx spring cleaning patches
    https://git.kernel.org/soc/soc/c/543f7961c204

You are awesome, thank you!