From patchwork Thu Jan 27 00:36:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 12725967 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 5BF7CC433EF for ; Thu, 27 Jan 2022 00:41:36 +0000 (UTC) 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:MIME-Version:Message-Id:Date:Subject:Cc :To:From: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=HsGInRlNTWdP+0gVscuRxJYBU3ARtKeLBRWg7OJGNCI=; b=qUaK0lngHffduZ 6UTimXGRuUeJBd9CHyVcuwm7o8aKtsf52fKzH/stRenak0BnA9cdulEYsJk+9FEj/5ifNACYc0zAs HUNB+Fax+m6gX/AdT+5L2xCfBOG1zBsZkWByp0HphasdRgKzVqsJ/jrtmCD0hKZGcP+f0Za3ojm+Y UHeK8bPTapWbEUALUowAZhqLQXV+5ykVpUTMfteKxHe6LEVlZMbgosAg0JJNyxSSugB7/gHjwDYeK ZEv72Q2Gjv5EOqGyyxVU55xVp4T5gMSH3hUpiDbddJLVdw3ArGCzQlMTJywEUSfAUL8MUKE7bY5+y 36yWiGm4JLUk3HALzeWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCsoe-00DoWX-TM; Thu, 27 Jan 2022 00:39:09 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCsob-00DoWB-0J for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 00:39:06 +0000 Received: by mail-lj1-x231.google.com with SMTP id t7so1887335ljc.10 for ; Wed, 26 Jan 2022 16:39:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=StdfcBsbgW3HT4Yxn4BcaLUVUqC4YpKL9X3dx8OzHOc=; b=e0UapU5U+gYL1cvKsVDtxJb8iOflvK5xY2ubX4907xDywNCfA1cQ8N9Gt8ZbRX6oQT yYF19mhbSaVGEY+G5f7sJIkTDMFHObehWzh53pfUBruwWMUDGdswZURRlI0VmVNwUZ+R 1wJN25XmSbryk1qUWMSyMxkjWd877YcnBw2zeQ3sd7znIQzVqqmU+CkIs2SkeQ9AjVln JjzMfjFXkpdt6EJ8sRAPFFdm5nnPB8qMWD6BHFaeMDugHdS+7j5D7hgvd4p5N54cXIhZ hHKPYlbCe6opqGBX/k1iXjIvjRQ2EhYxRQdXwiz4pEmKCzQvyskTbGm4jlnWfuOtiNwC IVLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=StdfcBsbgW3HT4Yxn4BcaLUVUqC4YpKL9X3dx8OzHOc=; b=rF5LKX05zA7HW5NQHOlHH01ml2NCgocMhnXLPbSJYZQ2F92zjoRRkv8DLvwsSkHlLX K7s1eV9NztKzu0VQx53jSAcC8i2fOUnTerVuinR9bKUgjJ5fNJmm9ML1AbGX1FxCFDWl vrYZkl1pZI9M0Nn0sepKAyEHUI9xeJBtVFKmvNL6nYJZdq0wNwhWjzoRF5dpkeFl4tKk u3OuT8hz8HQSF10s1tXag8co3D3hNXnEpwzDd22FWh55nP64R02d9v4DZWh9t7liVtsy fEylhX9qzMGiCThkR5ycpHSPYmR3KYyJUmR5MoimpaiUA5zAnRcd4SmLy6+hr0yVMTkk Y78g== X-Gm-Message-State: AOAM532zAt1ZyVrL0NSOouNMiTMiq/Ytgk3H4tTfaSvVZfC+NYq4c3XN WkIll59VCib0aZQCUqv1K4Rt/jGFDqKiEg== X-Google-Smtp-Source: ABdhPJwdzWBItpvSxJkoCfRuu6Skh9r9veI9BpONS0TeURPBTpc9Zme6nbmAWsi88fxi61y/wEY7Aw== X-Received: by 2002:a05:651c:b0b:: with SMTP id b11mr1192063ljr.481.1643243942099; Wed, 26 Jan 2022 16:39:02 -0800 (PST) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id y28sm1989701lfa.226.2022.01.26.16.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 16:39:01 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Imre Kaloz , Krzysztof Halasa Cc: Arnd Bergmann , Linus Walleij Subject: [PATCH 00/13] IXP4xx spring cleaning Date: Thu, 27 Jan 2022 01:36:43 +0100 Message-Id: <20220127003656.330161-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220126_163905_157900_6C7610EC X-CRM114-Status: GOOD ( 16.36 ) 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 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 ------------------ .../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 - .../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 | 69 +-- 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 | 34 +- 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(+), 2871 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