From mboxrd@z Thu Jan 1 00:00:00 1970 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 486ABECAAD3 for ; Sun, 4 Sep 2022 11:45:16 +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:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nPqwpttW+bA9UfUg32DivN11DjXbdcpDAxu+X4ldMIU=; b=FjKtzqQz0SZ2XZ gWME3Yzm/3Izeb7tiPYznQfhGEekMTmLPw7URErTKIhaAXS87ZLoG8Q6hcS6JA1NjIIryYPURkgDq IGRngEtfEWdTpnKr/fsIC1fOnPaPC8GfVo4hCYJ6ehpokimCxP2UO5+YtC6f6FdJ/zl4UQrHHhjKJ kw8aqAWMeV8FPPrvN/SPLjAWh58+t9R2ub+WzSx3VXQ2tEeMJnIl3CqzgOT92ymu3pHu3skwjDHF5 4PZhuqv9ZOBm6ehIUa3kAacJul0xb1BLhbTLj0Va6tX9YpIAq2H10tKKdxhL//l0u4BgV6vbPOND7 DMtNJdwex8ivbPb0185Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUo2h-004bci-Is; Sun, 04 Sep 2022 11:43:59 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUo2d-004bYe-Lx for linux-arm-kernel@lists.infradead.org; Sun, 04 Sep 2022 11:43:57 +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 002C3B80D25; Sun, 4 Sep 2022 11:43:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91BC1C433C1; Sun, 4 Sep 2022 11:43:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662291831; bh=P5jvCQt9254oiQJZAgHvAwECVEiNsDNyUDB+bFOgq7s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mNzbKhZLOmSFAo9h+gP2N9Pf96sTNUpXJkPWLWD+TyeFzdxcGEsv1EPOG6v3brbj7 QSktKWuMq2nFIoQyHbo2gWT7lkPO91iM20ZPyDtTQpoCLKy1cLrVXvLYLb6wRsVsdy TknU+IwZm62Rcld6iyP1HvXdJEa1bZc122bGTre9doKijpQ2RgKZHXybYN/JCrWbgc IWfm17kiXL7SPVS9+3F3Ck2SfEqkLrEzIfu7YaudUa8IDTl9KBZJ+eGUdoyJ1deKda ftqXWE7f8qBGgI23ddI75JJb/Fq+kz+Btm+aDHijVVbbdnG/XcQM3TNTsP8d+f3Hzr 6ZnsfumK2opWA== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oUo2X-007st0-84; Sun, 04 Sep 2022 12:43:49 +0100 Date: Sun, 04 Sep 2022 12:43:48 +0100 Message-ID: <87wnajuzyj.wl-maz@kernel.org> From: Marc Zyngier To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Russell King , Christoph Hellwig , Linus Walleij Subject: Re: [PATCH 0/4] ARM: footbridge: cleanups In-Reply-To: <20220818211550.3272321-1-arnd@kernel.org> References: <20220818211550.3272321-1-arnd@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: arnd@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linux@armlinux.org.uk, hch@lst.de, linus.walleij@linaro.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220904_044356_082755_B9582835 X-CRM114-Status: GOOD ( 26.96 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 18 Aug 2022 22:15:46 +0100, Arnd Bergmann wrote: > > 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 > > -- > 2.29.2 > > Cc: Russell King > Cc: Christoph Hellwig > Cc: Linus Walleij > Cc: Marc Zyngier I finally managed to give this a go on my netwinder using v2 of patch 5/4 (!), and the box booted nicely. Note that apart from the serial console, everything I'm using on this box is PCI (I tried to enable sound and failed, probably because I can't select CONFIG_ISA anymore on this machine). Anyway, for the purpose of this series: Tested-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel