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

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2021-05-27 17:43:29
Also in
linux-arm-kernel, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linuxppc-dev, sparclinux
Reply to
Kefeng Wang, 2021-05-27
On Thu, May 27, 2021 at 10:30:47PM +0800, Kefeng Wang 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@linux-foundation.org> 
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: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Richard Henderson <redacted> 
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Kefeng Wang <redacted>
For arm64:

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Thread (9 messages) 9 messages, 8 authors, last reply 2021-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help