MLK-21599 ARM64: Kconfig:FORCE_MAX_ZONEORDER default 14 if imx8
authorJason Liu <jason.hui.liu@nxp.com>
Mon, 29 Apr 2019 06:05:44 +0000 (14:05 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Mon, 29 Apr 2019 06:16:45 +0000 (14:16 +0800)
This patch change MAX_ZONEORDER default to 14 on i.MX8 platforms
due to GPU/DISPLAY large continuous physical memory requires it

This also aligned with previous imx releases on imx6/7/8

Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
arch/arm64/Kconfig

index 1b1a0e9..cbc1f0c 100644 (file)
@@ -870,6 +870,7 @@ config FORCE_MAX_ZONEORDER
        int
        default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
        default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
+       default "14" if HAVE_IMX8_SOC
        default "11"
        help
          The kernel memory allocator divides physically contiguous memory