[PATCH] mm: generalize ZONE_[DMA|DMA32]

Geert Uytterhoeven geert at linux-m68k.org
Fri May 28 00:26:54 AEST 2021


On Thu, May 27, 2021 at 4:21 PM Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
> 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 <akpm at linux-foundation.org>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> Cc: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Ingo Molnar <mingo at redhat.com>
> Cc: Borislav Petkov <bp at alien8.de>
> Cc: Palmer Dabbelt <palmer at dabbelt.com>
> Cc: Richard Henderson <rth at twiddle.net>
> Cc: Russell King <linux at armlinux.org.uk>
> Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>

>  arch/m68k/Kconfig                      |  5 +----

Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the Linuxppc-dev mailing list