On 02/17/23 at 02:35pm, Christophe Leroy wrote: ...... > > Not so many: > > > > $ git grep ARCH_HAS_IOREMAP_WC | grep define > > arch/loongarch/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > > arch/mips/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > > arch/powerpc/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > > arch/x86/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > > > > And also make sure they define ioremap_wc : > > > > $ git grep "define ioremap_wc" `git grep -l "define ARCH_HAS_IOREMAP_WC"` > > arch/loongarch/include/asm/io.h:#define ioremap_wc(offset, size) \ > > arch/mips/include/asm/io.h:#define ioremap_wc(offset, size) > > \ > > arch/powerpc/include/asm/io.h:#define ioremap_wc ioremap_wc > > arch/x86/include/asm/io.h:#define ioremap_wc ioremap_wc > > > > > By the way there are so few, you can make all at once: OK, I will try to pack this into one preparation patch. Thanks. > > $ git grep ARCH_HAS_IOREMAP_ | grep define > arch/loongarch/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > arch/m68k/include/asm/kmap.h:#define ARCH_HAS_IOREMAP_WT > arch/mips/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > arch/powerpc/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > arch/powerpc/include/asm/io.h:#define ARCH_HAS_IOREMAP_WT > arch/x86/include/asm/io.h:#define ARCH_HAS_IOREMAP_WC > arch/x86/include/asm/io.h:#define ARCH_HAS_IOREMAP_WT > > Christophe