linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] arch/*/io.h: remove ioremap_uc in some architectures
@ 2023-02-21  6:07 Baoquan He
  2023-02-21  6:07 ` [RFC PATCH 1/2] mips: add <asm-generic/io.h> including Baoquan He
  2023-02-21  6:07 ` [RFC PATCH 2/2] arch/*/io.h: remove ioremap_uc in some architectures Baoquan He
  0 siblings, 2 replies; 5+ messages in thread
From: Baoquan He @ 2023-02-21  6:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, arnd, hch, mcgrof, Baoquan He

In a patchset reviewing, Arnd suggested removing arch specific ioremap_uc()
and using default one defined in asm-generic/io.h instead, other than
x86 and ia64. Please see below link for more details:

https://lore.kernel.org/all/056cc71f-7fb9-4d38-a442-a05de6f7d437@app.fastmail.com/T/#u

And Arnd also provided an old link where people earlier discussed this.

https://lore.kernel.org/all/20191111192258.2234502-1-arnd@arndb.de/

So in this patchset, I firstly add including asm-generic/io.h for mips,
then remove all arch specific ioremap_uc() definitions, except of x86
ans ia64. With the removing, those ARCH-es will have default
ioremap_uc() defined in asm-generic/io.h.

Baoquan He (2):
  mips: add <asm-generic/io.h> including
  arch/*/io.h: remove ioremap_uc in some architectures

 arch/alpha/include/asm/io.h    |  1 -
 arch/hexagon/include/asm/io.h  |  3 ---
 arch/m68k/include/asm/kmap.h   |  1 -
 arch/mips/include/asm/io.h     | 47 +++++++++++++++++++++++++++++++++-
 arch/mips/include/asm/mmiowb.h |  2 --
 arch/parisc/include/asm/io.h   |  2 --
 arch/powerpc/include/asm/io.h  |  1 -
 arch/sh/include/asm/io.h       |  2 --
 arch/sparc/include/asm/io_64.h |  1 -
 9 files changed, 46 insertions(+), 14 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-21 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21  6:07 [RFC PATCH 0/2] arch/*/io.h: remove ioremap_uc in some architectures Baoquan He
2023-02-21  6:07 ` [RFC PATCH 1/2] mips: add <asm-generic/io.h> including Baoquan He
2023-02-21  6:07 ` [RFC PATCH 2/2] arch/*/io.h: remove ioremap_uc in some architectures Baoquan He
2023-02-21 10:03   ` Geert Uytterhoeven
2023-02-21 11:38     ` Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox