Kefeng Wang <wangkefeng.w...@huawei.com> writes: > ZONE_[DMA|DMA32] configs have duplicate definitions on platforms > that subscribe them. Instead, just make them generic options which > can be selected on applicable platforms. > > Also only x86/arm64 architectures could enable both ZONE_DMA and > ZONE_DMA32 if EXPERT, add ARCH_HAS_ZONE_DMA_SET to make dma zone > configurable and visible on the two architectures. > > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: Catalin Marinas <catalin.mari...@arm.com> > Cc: Will Deacon <w...@kernel.org> > Cc: Geert Uytterhoeven <ge...@linux-m68k.org> > Cc: Thomas Bogendoerfer <tsbog...@alpha.franken.de> > Cc: "David S. Miller" <da...@davemloft.net> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Borislav Petkov <b...@alien8.de> > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Cc: Richard Henderson <r...@twiddle.net> > Cc: Russell King <li...@armlinux.org.uk> > Acked-by: Catalin Marinas <catalin.mari...@arm.com> # for arm64 > Acked-by: Geert Uytterhoeven <ge...@linux-m68k.org> # for m68k > Acked-by: Mike Rapoport <r...@linux.ibm.com> > Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> > --- > v2: > -i386 can't enable ZONE_DMA32, fix it. > -make ZONE_DMA default y on X86 as before. > -collect ACKs > > arch/alpha/Kconfig | 5 +---- > arch/arm/Kconfig | 3 --- > arch/arm64/Kconfig | 9 +-------- > arch/ia64/Kconfig | 4 +--- > arch/m68k/Kconfig | 5 +---- > arch/microblaze/Kconfig | 4 +--- > arch/mips/Kconfig | 7 ------- > arch/powerpc/Kconfig | 4 ---- > arch/powerpc/platforms/Kconfig.cputype | 1 +
Acked-by: Michael Ellerman <m...@ellerman.id.au> (powerpc) cheers