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 46CE3ECAAD4 for ; Sun, 4 Sep 2022 12:13:27 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NyJhnt1AZcs8DTBmll9fgFTwopRa5uahbKjUH1H5Zfc=; b=T0lUwVaIaLVQ1H rS7thYAVuXGB4tOzLBUUcrDzo2yA0TYJ8CzHtG39ewJNTLmre8J5FDrdoalnTIOAQasPw0yIAarnw Wp2AU8uEuvQAHCOi8mvEIgX8xSZOzcNqHfmzLCLBdbDBc7114Wj5pVU11nhpYDG6zqlvG55RAwDtM R5yYxRoU0At1R6Ov0mTYfq9OE2FZpk2DSfJUxdTcMw6qzN7HwD1VYTvpe1D1LQJoM+WjGTDP0V1O4 LDeT184OooOits53/3EuIA5978O2lxj08nynnZ1vH2AfrhXykxI+MwPsy6lyD4IlkRHSafMEbJe9j wlPqKxnrQMNfGleoYd6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUoTm-0056iz-V8; Sun, 04 Sep 2022 12:11:59 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUoTk-0053Xe-AR for linux-arm-kernel@lists.infradead.org; Sun, 04 Sep 2022 12:11:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/uFgWRNDnLHUwpze/D8mllh5qMDvnOPZ8+IocrKGwvU=; b=sebh3XlKBzWabhS3whA4EZAPGY 2WQk8/GA5A1ipyOjoelUeH23x8dskJBP862Ku3a86HHZDAJFeFp/9LPg8HmswRaMY4Yew7GjwjzRG 1lzT6zmraB11AgKkrZuQMYx9kP166uWGzSmRMs+y3T/9cywXlrpVXb2rpFWSUa3OynEXirUXmvUfd k7DpYNebhj9USlep5MVh5K0EuBN0sMvec2CfPa8UtjbfoNjpnblUsKe3S9gdj7Vmmdn2G034hjNe6 N85Qic/2bl4RYgQtAhjHlNuN/ZQMLYw25o6jqypnfAHZss9Goj9u+YKUx/QiA/MSPPMzTeVgglU2g Vr+oIMow==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34090) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oUoRc-00018R-7r; Sun, 04 Sep 2022 13:09:44 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oUoRa-0006Ke-HG; Sun, 04 Sep 2022 13:09:42 +0100 Date: Sun, 4 Sep 2022 13:09:42 +0100 From: "Russell King (Oracle)" To: Marc Zyngier Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Christoph Hellwig , Linus Walleij Subject: Re: [PATCH 0/4] ARM: footbridge: cleanups Message-ID: References: <20220818211550.3272321-1-arnd@kernel.org> <87wnajuzyj.wl-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87wnajuzyj.wl-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220904_051156_655200_060C4D9E X-CRM114-Status: GOOD ( 26.06 ) 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 Sun, Sep 04, 2022 at 12:43:48PM +0100, Marc Zyngier wrote: > 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). That tends to mean, therefore, that the statement "CONFIG_ISA is for add-in cards" is wrong, because it's caused a user-visible regression by killing sound support on Netwinders! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel