Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp1904897rwb; Sun, 4 Sep 2022 04:49:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR5TidN1TmDPFKiMMou2EmBB56/pSFfd8jgHXJDOBCbbYOUF1sXC7UKZNcPXCPp62sW8d/Z5 X-Received: by 2002:aa7:cd54:0:b0:44e:871a:dd42 with SMTP id v20-20020aa7cd54000000b0044e871add42mr306815edw.400.1662292172042; Sun, 04 Sep 2022 04:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662292172; cv=none; d=google.com; s=arc-20160816; b=cP4/e2jF04nWCgeiX0FQwaxPUdGyZ+FZ3P72b1uAsFtkXo9MnxbtekFP6gmF9WqhDx Nxpf5WNogLH4/JHGnFg2YORupGTxsdpkUF7MHkNpNOpagCYVPsDD//rEZYNXJCoRWzgw QIw+L5SXXAdm5gXJHHcBe002HYTluas8/++/qBUkBETX09pxGFnyBvNmJsxjyabXj5Qi NXRjSQElRgXk3rL+ks2388qcVa0mpurOdMRy+YkpfrRfzRCjUwdmMk5TqQAGqWcLVjdp W83LJ2kOO6gu2zKmXkGJO0pmG9k+UEb60pkDfYDXoPN3OdBR352DeR/kcwK2gqNJqD0b 08Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=GsTukaQqOY9K4MuxXIC7pVHQYJ6qA9JSNB1h+KP7TWU=; b=p75bZEV+wKjjK0B5UA3HIqozA1+BqzBYg9d11wkjAsDhKyfauGBGjYZoNEP0LV30VD VOHvdgS2Uj2FaWvzxZ2GlP7OYtWcv7CN9Uke8v9Me6nb/IQlTFmKKg+bOuvBickBkKKx dVzOe23m1C1Q4JiPAZrBAYibbemYschWQU9f3jNNKZwozhyvPKE6YsHHtpUoTn33MDel QTkja/z4W2u/hI8jQuopHQlFEkshbxCDO6U4yiq0ByJUN3mEo28j5dsTUOkYW5KeTFK4 9G+UcVFuObF5u1jZ5XpezigUW+fnZJLFFXQzizY9leYviCFj7jjNA1RSRE6Mtjq6THjc JNlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mNzbKhZL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a50b412000000b00447e24d55eesi4751573edh.81.2022.09.04.04.49.07; Sun, 04 Sep 2022 04:49:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mNzbKhZL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233340AbiIDLn5 (ORCPT + 99 others); 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 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.