]> www.infradead.org Git - users/willy/pagecache.git/commit
m68k/nommu: stop using GENERIC_IOMAP
authorArnd Bergmann <arnd@arndb.de>
Tue, 11 Mar 2025 11:01:13 +0000 (12:01 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 15 Mar 2025 10:07:07 +0000 (11:07 +0100)
commit9d48cc07d0d7f72d4d44c75f5f7d3471d60f2213
treef6a90319bbd2f3c60d5ef572516d1748563b9a95
parent976bf3aec388331454362b60cd1b5605f99bfe38
m68k/nommu: stop using GENERIC_IOMAP

There is no need to go through the GENERIC_IOMAP wrapper for PIO on
nommu platforms, since these always come from PCI I/O space that is
itself memory mapped.

Instead, the generic ioport_map() can just return the MMIO location
of the ports directly by applying the PCI_IO_PA offset, while
ioread32/iowrite32 trivially turn into readl/writel as they do
on most other architectures.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/m68k/Kconfig
arch/m68k/include/asm/io_no.h