public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: Kconfig: select ZONE_DMA
@ 2020-12-17  8:08 Peng Fan (OSS)
  2020-12-17  8:44 ` Nicolas Saenz Julienne
  0 siblings, 1 reply; 4+ messages in thread
From: Peng Fan (OSS) @ 2020-12-17  8:08 UTC (permalink / raw)
  To: catalin.marinas, will, nsaenzjulienne
  Cc: Peng Fan, linux-kernel, linux-arm-kernel

From: Peng Fan <peng.fan@nxp.com>

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 <peng.fan@nxp.com>
---

Not sure whether need to address code to initialize the variables or
force select ZONE_DMA

 arch/arm64/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 33446269f692..377b391a41d6 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -206,6 +206,7 @@ config ARM64
 	select SWIOTLB
 	select SYSCTL_EXCEPTION_TRACE
 	select THREAD_INFO_IN_TASK
+	select ZONE_DMA
 	help
 	  ARM 64-bit (AArch64) Linux support.
 
-- 
2.28.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-17 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-17  8:08 [PATCH] arm64: Kconfig: select ZONE_DMA Peng Fan (OSS)
2020-12-17  8:44 ` Nicolas Saenz Julienne
2020-12-17 12:43   ` Catalin Marinas
2020-12-17 14:53     ` Nicolas Saenz Julienne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox