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

2021-05-27 Thread Catalin Marinas
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 ZO

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

2021-05-27 Thread kernel test robot
Hi Kefeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on arm64/for-next/core m68k/for-next s390/features linus/master v5.13-rc3] [cannot apply to hnaz-linux-mm/master tip/x86/core sparc-next/master sparc/master next-20210527

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

2021-05-27 Thread Mike Rapoport
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 ZO

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

2021-05-27 Thread Kefeng Wang
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

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

2021-05-27 Thread Geert Uytterhoeven
On Thu, May 27, 2021 at 4:21 PM 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