Skip to content

asm-generic: io.h cleanups

Arnd Bergmann linux-alpha linux-arch linux-m68k linux-mips linux-parisc linux-sh linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6alpha: stop using asm-generic/iomap.harch/alpha/include/asm/io.h+17 -140 replies
2/6sh: remove duplicate ioread/iowrite helpersarch/sh/include/asm/io.h arch/sh/kernel/Makefile arch/sh/kernel/iomap.c +3 more+21 -2083 replies
3/6parisc: stop using asm-generic/iomap.harch/parisc/include/asm/io.h+27 -90 replies
4/6powerpc: asm/io.h: remove split ioread64/iowrite64 helpersarch/powerpc/include/asm/io.h+0 -481 reply
5/6mips: drop GENERIC_IOMAP wrapperarch/mips/Kconfig arch/mips/include/asm/io.h arch/mips/lib/iomap-pci.c+18 -144 replies
6/6m68k/nommu: stop using GENERIC_IOMAParch/m68k/Kconfig arch/m68k/include/asm/io_no.h+1 -54 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchMichael EllermanGreg Ungerer
1/6
2/6
3/6
4/6A-b
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] asm-generic: io.h cleanups

From: Arnd Bergmann <[email protected]>

After the previous round of cleanups for asm-generic/io,h on the ioread64 helpers, I had another look at the architecture specific versions, especially those that caused build failures in the past.

These are some simplifications that I would like to merge at the same time, please have a look. Hopefully these are all uncontroversial.

I have a few more patches for m68k that need a more thorough review and testing, will post them after the merge window.

Arnd Bergmann (6):
alpha: stop using asm-generic/iomap.h
sh: remove duplicate ioread/iowrite helpers
parisc: stop using asm-generic/iomap.h
powerpc: asm/io.h: remove split ioread64/iowrite64 helpers
mips: drop GENERIC_IOMAP wrapper
m68k/nommu: stop using GENERIC_IOMAP

 arch/alpha/include/asm/io.h   |  31 ++++---
 arch/m68k/Kconfig             |   2 +-
 arch/m68k/include/asm/io_no.h |   4 -
 arch/mips/Kconfig             |   2 +-
 arch/mips/include/asm/io.h    |  21 ++---
 arch/mips/lib/iomap-pci.c     |   9 ++
 arch/parisc/include/asm/io.h  |  36 ++++++--
 arch/powerpc/include/asm/io.h |  48 ----------
 arch/sh/include/asm/io.h      |  30 ++-----
 arch/sh/kernel/Makefile       |   3 -
 arch/sh/kernel/iomap.c        | 162 ----------------------------------
 arch/sh/kernel/ioport.c       |   5 --
 arch/sh/lib/io.c              |   4 +-
 drivers/sh/clk/cpg.c          |  25 +++---
 14 files changed, 84 insertions(+), 298 deletions(-)
 delete mode 100644 arch/sh/kernel/iomap.c
Signature · 27 lines
2.39.5

Cc: Richard Henderson <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Greg Ungerer <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Naveen N Rao <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: John Paul Adrian Glaubitz <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Julian Vetter <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]