Re: [PATCH] arm64: Kconfig: select ZONE_DMA

2020-12-17 Thread Nicolas Saenz Julienne
On Thu, 2020-12-17 at 12:43 +, Catalin Marinas wrote: > On Thu, Dec 17, 2020 at 09:44:31AM +0100, Nicolas Saenz Julienne wrote: > > On Thu, 2020-12-17 at 16:08 +0800, Peng Fan (OSS) wrote: > > > From: Peng Fan > > > > > > ZONE_DMA should not be disabled, otherwise arm64_dma_phys_limit is > >

Re: [PATCH] arm64: Kconfig: select ZONE_DMA

2020-12-17 Thread Catalin Marinas
On Thu, Dec 17, 2020 at 09:44:31AM +0100, Nicolas Saenz Julienne wrote: > On Thu, 2020-12-17 at 16:08 +0800, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > ZONE_DMA should not be disabled, otherwise arm64_dma_phys_limit is > > left uninitialized and cause swiotlb have IO TLB above 4GB which >

Re: [PATCH] arm64: Kconfig: select ZONE_DMA

2020-12-17 Thread Nicolas Saenz Julienne
Hi Peng, sorry for the inconvenience, this is most probably related to these changes: https://lore.kernel.org/linux-arm-kernel/20201119175400.9995-1-nsaenzjulie...@suse.de/ On Thu, 2020-12-17 at 16:08 +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > ZONE_DMA should not be disabled, otherwise

[PATCH] arm64: Kconfig: select ZONE_DMA

2020-12-16 Thread Peng Fan (OSS)
From: Peng Fan ZONE_DMA should not be disabled, otherwise arm64_dma_phys_limit is left uninitialized and cause swiotlb have IO TLB above 4GB which might crash some platforms Signed-off-by: Peng Fan --- Not sure whether need to address code to initialize the variables or force select ZONE_DMA