From: Marc Zyngier <maz@kernel.org>
To: "Russell King (Oracle)" <linux@armlinux.org.uk>
Cc: Arnd Bergmann <arnd@kernel.org>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Arnd Bergmann <arnd@arndb.de>, Christoph Hellwig <hch@lst.de>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH 0/4] ARM: footbridge: cleanups
Date: Sun, 04 Sep 2022 17:10:36 +0100 [thread overview]
Message-ID: <87v8q3unlv.wl-maz@kernel.org> (raw)
In-Reply-To: <YxSVhsHVsqZiAUS0@shell.armlinux.org.uk>
On Sun, 04 Sep 2022 13:09:42 +0100,
"Russell King (Oracle)" <linux@armlinux.org.uk> wrote:
>
> On Sun, Sep 04, 2022 at 12:43:48PM +0100, Marc Zyngier wrote:
> > On Thu, 18 Aug 2022 22:15:46 +0100,
> > Arnd Bergmann <arnd@kernel.org> wrote:
> > >
> > > From: Arnd Bergmann <arnd@arndb.de>
> > >
> > > 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 <linux@armlinux.org.uk>
> > > Cc: Christoph Hellwig <hch@lst.de>
> > > Cc: Linus Walleij <linus.walleij@linaro.org>
> > > Cc: Marc Zyngier <maz@kernel.org>
> >
> > 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!
To some extent, yes. Adding this allows me to peek at some of the ISA
soundcards:
diff --git a/arch/arm/mach-footbridge/Kconfig b/arch/arm/mach-footbridge/Kconfig
index f452663576d1..f4c4222fa7c0 100644
--- a/arch/arm/mach-footbridge/Kconfig
+++ b/arch/arm/mach-footbridge/Kconfig
@@ -31,6 +31,7 @@ config ARCH_NETWINDER
select CLKEVT_I8253
select CLKSRC_I8253
select FORCE_PCI
+ select ISA
help
Say Y here if you intend to run this kernel on the Rebel.COM
NetWinder. Information about this machine can be found at:
However, the Waveartist driver has gone the way of the dodo (together
with the rest of the OSS support in 4.15), and it isn't obvious to me
whether one of the several SoundBlaster drivers is appropriate on this
machine.
I also cannot say I deeply care, to be honest.
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
next prev parent reply other threads:[~2022-09-04 16:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 21:15 [PATCH 0/4] ARM: footbridge: cleanups Arnd Bergmann
2022-08-18 21:15 ` [PATCH 1/4] ARM: footbridge: remove addin mode Arnd Bergmann
2022-08-21 5:53 ` Christoph Hellwig
2022-08-24 10:33 ` Arnd Bergmann
2022-08-25 9:17 ` [PATCH 5/4] ARM: footbridge: remove custom DMA address handling Arnd Bergmann
2022-08-25 10:34 ` Russell King (Oracle)
2022-08-25 10:35 ` Russell King (Oracle)
2022-08-25 17:17 ` Arnd Bergmann
2022-08-25 20:15 ` [PATCH v2 " Arnd Bergmann
2022-08-30 12:21 ` Robin Murphy
2022-08-18 21:15 ` [PATCH 2/4] ARM: footbridge: remove leftover from personal-server Arnd Bergmann
2022-08-21 5:55 ` Christoph Hellwig
2022-08-24 10:37 ` Arnd Bergmann
2022-08-24 10:47 ` Russell King (Oracle)
2022-08-18 21:15 ` [PATCH 3/4] ARM: footbridge: move isa-dma support into footbridge Arnd Bergmann
2022-08-21 5:56 ` Christoph Hellwig
2022-08-18 21:15 ` [PATCH 4/4] ARM: footbridge: limit CONFIG_ISA to CATS Arnd Bergmann
2022-09-04 11:43 ` [PATCH 0/4] ARM: footbridge: cleanups Marc Zyngier
2022-09-04 12:09 ` Russell King (Oracle)
2022-09-04 16:10 ` Marc Zyngier [this message]
2022-09-04 21:47 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8q3unlv.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=hch@lst.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).