From patchwork Sat Feb 12 17:27:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1592029 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=y8vbVokf; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wHaSybrQ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JwyB368bXz9s5B for ; Sun, 13 Feb 2022 04:28:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ikVTd+Owt3C7uhrIqqAGNRwJ2nqhmY0expityTWJtiY=; b=y8vbVokfXTFhSU IXnzZpHoJMuAdOjTn5QfA8GmO/ilZH127u6rZDjFR7fJ8sQYV3+E2Fi1q5uQMxuLVTMvOMReFUNZl H/p3OgHYIAbpLg72g/4LlZegp4FSQ2IWHXS/ARZ+oe0z85/kqIN7qA8n/hSWr9hV084xggZzIROXd hjT5Flr1PmbCL6ZZ6Chv3CfpqId0P80IoFVV0a9VGdKw+hkyHuRvr1W77SBwiiajqXERet5ifPHu5 KfgF0321dxobR2uIMXoLiFIMekHOWhAZXMIZweRDqN73J07cK0puegpXqbT3zraU0yqf4E6POTWet oiyvpY00xzJug3XiK/LQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIwBI-00AH73-R1; Sat, 12 Feb 2022 17:27:32 +0000 Received: from mail-yb1-xb36.google.com ([2607:f8b0:4864:20::b36]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIwBE-00AH6j-0A for linux-arm-kernel@lists.infradead.org; Sat, 12 Feb 2022 17:27:30 +0000 Received: by mail-yb1-xb36.google.com with SMTP id p5so33949621ybd.13 for ; Sat, 12 Feb 2022 09:27:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=+tsiIrCYmAr0wKNPAdkeKXURpFf0Li+fzBtDiSSSeio=; b=wHaSybrQlKz5m8ZrXt8RDG8yQorvwD69T5durxAR4rPUSRRuFY0AxtKKYKnjSrWdbL c4hNO2sqfFgLsJypTDmamO7p9fLyA1FyJ6Y/TLKcHv3dzFjd6Ax6FDnpNbcKEOKV05We 893TjSC0o7YMsRr2Gotb/3Hv9GLwLjlGoE8sxIXN1gmSAK7QrSZj/k599r1J3xA5KhKn jhf+fHDu5Jnm9NOrljzvhLCE+Fbd0/1+PPZxNQi8cRWeaWLiFOv0F5cwv+I+jyyPIV28 /qu3I/kF9PMbnHWgf2MbJYhJaR/sOX6tu7Yf7rGepUE6L4kENzWHKrxcp+a4q1LeUJkG e7DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=+tsiIrCYmAr0wKNPAdkeKXURpFf0Li+fzBtDiSSSeio=; b=SB9rRKKqXJd/mEJpgCI158m5VvOnjLoVTQZZKYFJZQSg7UkGtsGTWXx/MxvNeDuV+6 jMDW/wgwS+jxwt9D55RQkiJuwzwzXRpfDl6oKAVlWh5CXTxyrPDK1zMNPgSUoUhq/n0N 1eAp79VGaUi9XwxIsFhL5UctokAoYhealGhSmx4VqZO1shJweN+T0dXOOGcnqJePaGmF WDIPjXb/juPQ+oCRZQDR4qlL0WeEXBhmzjRSRj0IkmnS9UGpBlXWhzOYtwlwa+LdZCDL 291PrKkPX9EIfKp7qoGXOnOMNFNbO/8joctKRFGxInNioYXIVvTlYNo4JA59BDZNwi+a l4iA== X-Gm-Message-State: AOAM532g3NdX5C9tJsSZR/WE5Jks73HcRS/RMqoBsC/yH2wXkY4Qy1Qz VI3blWpl6W7hOJTjOFtugqGfLJipjhSGBhZccERHUQ== X-Google-Smtp-Source: ABdhPJw7m8iM0xpQm2iEAVfWKFP9P1beW3pvHI53Vi3R7dLs7nUVX0I5eiZyBW3Yo5p408lqWOI7nzzvIRAYrVfmXN8= X-Received: by 2002:a25:40b:: with SMTP id 11mr2902681ybe.110.1644686845794; Sat, 12 Feb 2022 09:27:25 -0800 (PST) MIME-Version: 1.0 From: Linus Walleij Date: Sat, 12 Feb 2022 18:27:14 +0100 Message-ID: Subject: [GIT PULL] IXP4xx spring cleaning patches To: SoC Team , arm-soc Cc: Linux ARM , Corentin Labbe , Imre Kaloz , Krzysztof Halasa X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220212_092728_122766_290BA9FE X-CRM114-Status: GOOD ( 16.38 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:b36 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org 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