• Kefeng Wang's avatar
    mm: generalize ZONE_[DMA|DMA32] · 63703f37
    Kefeng Wang authored
    ZONE_[DMA|DMA32] configs have duplicate definitions on platforms that
    subscribe to 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.
    
    Link: https://lkml.kernel.org/r/20210528074557.17768-1-wangkefeng.wang@huawei.comSigned-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
    Acked-by: Catalin Marinas <catalin.marinas@arm.com>	[arm64]
    Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
    Acked-by: default avatarMike Rapoport <rppt@linux.ibm.com>
    Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>	[RISC-V]
    Acked-by: Michal Simek <michal.simek@xilinx.com>	[microblaze]
    Acked-by: Michael Ellerman <mpe@ellerman.id.au>		[powerpc]
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Richard Henderson <rth@twiddle.net>
    Cc: Russell King <linux@armlinux.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    63703f37
Kconfig 5.44 KB