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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6EE3ECAAD3 for ; Sun, 4 Sep 2022 11:43:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233548AbiIDLn5 (ORCPT ); Sun, 4 Sep 2022 07:43:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbiIDLnz (ORCPT ); Sun, 4 Sep 2022 07:43:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 654AF356D4 for ; Sun, 4 Sep 2022 04:43:54 -0700 (PDT) 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 10400B80D5B for ; Sun, 4 Sep 2022 11:43:53 +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") Content-Type: text/plain; charset=US-ASCII 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.