From patchwork Thu Aug 18 21:15:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12947975 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 94E7EC00140 for ; Thu, 18 Aug 2022 21:17:18 +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=W3EbzLGsHP6ORFza5GPkVCzJz5yhO3o3VNuruX9+x94=; b=f9Ezz6QMgHT2B8 N7mDA0/4rxoYrsC5IFzEoexTGbyLZ0Vw5QV/E5PbMNhf6JfUj5Wdvx5NIGRpv/zyw0+/p9U8d1GiK 18Wzw5W6T3kZYmO1hV0NZNwY4MXgT9KmHoIh8W7iiARQ8k2jie9V8vsDfsdFO4JwknxpdHEzMNymE KdflSTWTsALBVLRKoOiBU+nuzMWqwCOh0bPpFiX95i2654XSNEuUtLjMkg80hO0sa6E9h0DIUoff8 2LojoolD/bJ5rDnU+o3eJqImg40/ZwtLSuh1LGK8n5tketqUP8yeaizBQOPcYJRCa5PvQ/ZaLW+H2 8Ydcr++em9sin+a3eT1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOms8-009iwN-Gy; Thu, 18 Aug 2022 21:16:12 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOmry-009irw-FD for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 21:16:03 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EF7A0B82412; Thu, 18 Aug 2022 21:16:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ABBBC433D7; Thu, 18 Aug 2022 21:15:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660857359; bh=soe7WkpVDL0rQ3DepAGZmwBW25rHj0k0Dx4IE3FtFio=; h=From:To:Cc:Subject:Date:From; b=lacB4lImkey8cNH3JqHzjgC+/r9sa6Ioyqet0e8tgdVjFCkz8zNntMBfxJl6MfsiQ av721qEqGT562V6DCYFKxIGxzO/UDyUr1KEXiaMfJIxnT0afyK8spDwkxrVEZ/3XML ojXySeRlJRAFxhPXJkXTjIQhJCzELNXvMqR+RAAa/CQY6dfJjDR4Uw2pnNS6M6xpP3 K57LKr9LpohuPFLnoCnxf3/7zyFFIsT0LN0bmRxlZ1tBk9aUEcRX0PNxamgoj0Xdk3 S3STddbVP5f+cdwn5ByKsE8jw/Qjd1sTLrXfIFRMYewTBH+YVYRyEf/gkrNDT0f4NP itiWm7Hq673Wg== From: Arnd Bergmann To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Arnd Bergmann , Russell King , Christoph Hellwig , Linus Walleij , Marc Zyngier Subject: [PATCH 0/4] ARM: footbridge: cleanups Date: Thu, 18 Aug 2022 23:15:46 +0200 Message-Id: <20220818211550.3272321-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220818_141602_682518_E592A858 X-CRM114-Status: GOOD ( 15.63 ) 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 From: Arnd Bergmann I had an older patch to remove the addin mode for footbridge, which nobody is using any more, and I found a few other small cleanups that are worth doing here. Footbridge is now the only platform with a custom __virt_to_bus() for ISA DMA, and a custom phys_to_dma() for PCI devices. Both just add a fixed offset, so there is probably a better way of doing the same without a custom helper function. Arnd Arnd Bergmann (4): ARM: footbridge: remove addin mode ARM: footbridge: remove leftover from personal-server ARM: footbridge: move isa-dma support into footbridge ARM: footbridge: limit CONFIG_ISA to CATS arch/arm/Kconfig | 5 -- arch/arm/include/asm/hardware/dec21285.h | 13 ---- arch/arm/kernel/Makefile | 1 - arch/arm/mach-footbridge/Kconfig | 30 +------- arch/arm/mach-footbridge/Makefile | 5 +- arch/arm/mach-footbridge/common.c | 73 ++----------------- arch/arm/mach-footbridge/dc21285.c | 61 +++++----------- .../arm/{kernel => mach-footbridge}/dma-isa.c | 7 +- arch/arm/mach-footbridge/dma.c | 58 --------------- .../mach-footbridge/include/mach/isa-dma.h | 14 +--- .../arm/mach-footbridge/include/mach/memory.h | 22 ------ arch/arm/mach-footbridge/isa.c | 14 ++-- drivers/tty/serial/21285.c | 3 - 13 files changed, 42 insertions(+), 264 deletions(-) rename arch/arm/{kernel => mach-footbridge}/dma-isa.c (98%) delete mode 100644 arch/arm/mach-footbridge/dma.c Tested-by: Marc Zyngier